SMFHacks.com

Downloads System Pro => Support => Topic started by: ApplianceJunk on September 14, 2017, 10:08:58 pm

Title: After migrating from http to https I started getting these errors
Post by: ApplianceJunk on September 14, 2017, 10:08:58 pm
I believe I started getting these error just tonight after having our site migrated to https.
I have attached a screenshot of the error.

Thank for any help.
Title: Re: After migrating from http to https I started getting these errors
Post by: SMFHacks on September 14, 2017, 10:11:18 pm
Are you on PHP7 if so that code needs to be updated to PHP7. needs to use the $smcFunc version instead of  mysql_num_rows I have updated downloads pro for that.
Title: Re: After migrating from http to https I started getting these errors
Post by: ApplianceJunk on September 14, 2017, 10:15:08 pm
I'm not sure if I'm on PHP7 or not. How would I be able to tell?
Looks like I'm currently using, Downloads System Pro   2.0.4a
I have not updated for a long time. How would I go about updating to the latest version of Download Pro?

Thanks,
Title: Re: After migrating from http to https I started getting these errors
Post by: ApplianceJunk on September 14, 2017, 10:20:15 pm
phpMyAdmin in my Cpanel shows, PHP version: 5.6.30
Title: Re: After migrating from http to https I started getting these errors
Post by: SMFHacks on September 14, 2017, 10:26:29 pm
If you have any active license you can download from https://www.smfhacks.com/index.php?action=license or you upgrade to current version there is a renewal link on that page. You can upgrade from any old version to the latest.
Title: Re: After migrating from http to https I started getting these errors
Post by: ApplianceJunk on September 14, 2017, 10:32:09 pm
Upgrading should take care of them errors then even though I'm on PHP 5.6.30 and not PHP7?

Title: Re: After migrating from http to https I started getting these errors
Post by: SMFHacks on September 14, 2017, 10:36:24 pm
I am not sure. Does download id 373 exist?
Title: Re: After migrating from http to https I started getting these errors
Post by: ApplianceJunk on September 14, 2017, 10:45:34 pm
Yes it does exist. We also update from SMF 2.0.12 to 2.0.14 just before migrating from http to https if that gives any clues.
I'm pretty sure the error just started after the updates and migration but not 100% sure.

I check the error logs often and most always just see errors from people not using correct login info or other minor things like that.
Title: Re: After migrating from http to https I started getting these errors
Post by: SMFHacks on September 14, 2017, 10:49:10 pm
Well if the update doesn't fix. I could do a fix for it once I track it down.
Title: Re: After migrating from http to https I started getting these errors
Post by: ApplianceJunk on September 14, 2017, 10:58:38 pm
Well if the update doesn't fix. I could do a fix for it once I track it down.

Sounds good, I'll give the update a try this weekend.

Thanks,