Forum

Notifications
Clear all

[Solved] Upgrading to 3.5.6

Azurite
(@azurite)
Estimable Member

I know 3.5.5 and 3.5.6 are basically the same except for version numbers, but I haven't touched my eFiction archive in a while, so I thought it might be due to at least try and upgrade it. However, I'm getting errors:

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/*****/www/drfa.seventh-star.net/public_html/header.php on line 31
A fatal MySQL error was encountered.
ERROR: Failed to connect to the database!

Obviously I went to go check on header.php, but the path I follow in my SiteGround File Manager is a little different, yet there don't appear to be any other folders with my archive's prefix (drfa) in it. (My setup is to have the site on a subdomain, which means there's a redirect in my public_html folder to this drfa.seventh-star.net folder, located in my root directory. (I hope that makes sense.)

So I edited the header.php file by stripping the outdated get_magic_quotes_gpc lines, and I double-checked the database username and password in config.php, but I'm still having no luck. So is this an eFiction issue, or an issue with my host and this unusual setup?

Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log

Quote
Topic starter Posted : 13/11/2021 2:23 pm
Topic Tags
Azurite
(@azurite)
Estimable Member

Turns out it was a caching issue on my end. Once I deleted the dynamic cache, I got a new error about the TemplatePower class not being properly defined, even though the file was in the correct location in the includes/ folder.

However, that file didn't have the correct permissions (644) set to it, so once I set the right permissions, the error went away and I was able to access the eFiction site!

To save myself some future trouble, I created an .htaccess file that made sure I wouldn't have to worry about clearing the cache every time I made a backend change to eFiction's files:

<IfModule mod_headers.c>
Header set Cache-Control "private"
</IfModule>

This may not apply to your specific host/server setup if you have a different dynamic cache method in place, or if you don't use cache control at all.

I also had to delete the install/ folder to get rid of the error once I was able to login to the Admin side of things.

Archive: Dragonfayth
eFiction: 3.5.5/6
Latest Patch(es): Yes
bridged?: No
modified?: Yes
PHP: 7.4.25
MySQL: 5.7.32-35-log

ReplyQuote
Topic starter Posted : 13/11/2021 3:44 pm
Jimmi liked
ShiKahr
(@shikahr)
Trusted Member

May I ask where you got version 3.5.6 from?

I downloaded version 3 from github and it shows up as 3.5.5 after installation (see attached screenshot).

Thanks

KS-Shipping-Community
Get your Arsch out of the couch." Gayle Tufts

ReplyQuote
Posted : 17/04/2022 8:21 am
Sidular
(@ty)
Admin Admin
Posted by: @shikahr

May I ask where you got version 3.5.6 from?

I downloaded version 3 from github and it shows up as 3.5.5 after installation (see attached screenshot).

Thanks

We published 3.5.6 back in October to fix a versioning error, as the software was actually running 3.5.6 but was displayed as 3.5.5. So, the update changed the version to correctly display as 3.5.6. 

Unfortunately, somehow, 'fixing' the versioning (literally just a number, no other lines of text) broke eFiction on my own test environment, so I ended up pulling the update. While others reported success in updating to 3.5.6, the fact I encountered an error was a tad worrying, hence why I pulled it. To my knowledge, only a small handful of people were able to upgrade, as I pulled the installer roughly an hour or two after it went live. 

So if you're running 3.5.5 and the panel says it's the latest version? Don't worry, you're running the latest version. 

ReplyQuote
Posted : 19/04/2022 4:09 am
Share: