Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: thunderchld on January 04, 2017, 11:17:43 AM

Title: Unable to install Mods
Post by: thunderchld on January 04, 2017, 11:17:43 AM
Hello!

Recently upgraded from 1.0.12 to 2.0.12.  We created a test instance, and everything went smoothly....the production upgrade did not go so well.

We are now to the point of reinstalling mods and getting the horrid

2: fread() expects parameter 1 to be resource, boolean given
Apply Filter: Only show the errors from this file File: /domain/Sources/Subs-Package.php


I've searched around and ensured proper permissions and checked mod_security but this did not solve the issue. I am still unable to install mods on the production site - meanwhile I am still able to install mods on the test site without any issue.

Followed the following threads:
  - http://www.simplemachines.org/community/index.php?topic=545753.msg3873935#msg3873935
  - http://www.simplemachines.org/community/index.php?topic=530729.0
Title: Re: Unable to install Mods
Post by: Kindred on January 04, 2017, 11:29:12 AM
Well, what exactly do you mean by "the production upgrade did not go so well"

What were the issues?

Did it complete?

It looks to me as if you may have a mixture of 1.1 and 2.0 files
Title: Re: Unable to install Mods
Post by: thunderchld on January 04, 2017, 11:45:18 AM
When we backed up and created a test site, the test database was created under a PHP5 database. The production site was on 4. So there was an additional step of updating PHP and then migrating to 2.0.  That all is working and fine now.

I can move about the site without any issues or errors. The only errors I'm seeing in the error log is this one error when I try an install a mod.

I've checked with my host and double confirmed that mod_security is disabled.

Title: Re: Unable to install Mods
Post by: thunderchld on January 04, 2017, 12:50:43 PM
I ended up deleting everything and reinstalling from scratch. I'm not sure what the issue was, but it is now working.