#a bunch of pages on my website are borked from deprecated functions
Explore tagged Tumblr posts
firespirited · 6 years ago
Text
Fanlistings and php7
If your hosting is upgrading to php7, Enthusiast won’t work unless you update to this version https://github.com/Lysianthus/enthusiast  or downgrade your version of php using cpanel’s multiphp manager
It’s a bit of a pain if you only have the one fanlisting and were using a far simpler script but works OK so long as you make sure to:
1/ make sure that force lowercase is NOT ticked when uploading files via FTP because Mail.php and PEAR.php require capitals
2/ come up with a new name for the fanslisting table (not database, just the table) when installing and then drop it using Cpanel’s PhpMyadmin and rename your old fanlisting table to the new name.
3/ If it still doesn’t work use CPanel’s MultiPHP INI Editor to enable allow_url_fopen and allow_url_include
4/ I also collated the database to utf8_general_ci just for good measure.
I’m still getting errors in the dashboard when trying to search members  “MySQL said: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO)” but otherwise it seems to working ok, i’ll need to do a test sign up to see if any more errors crop up.
Also I am well cuffed that I switched a couple of things to flatfiles a few years back, mysql or whatever the current database thingamajig is when a small txt file will suffice is overkill.
1 note · View note