I was poking around in the cPanel of problematic website that had problems where the admin portion of the site would not load or would partially load.
I followed the fix for the T_STATIC error using PHP 5.2.14-to-5.2.17 and instead of a completely blank admin, it gave me a partially loaded admin.
My next thought was to look for the PHP version and post here for help, instead I found something that fixed the problem.
This is in the HostGator cPanel, towards the bottom, look for Php Configuration
Click on it then look at what it says for "The ".php" file extension will be processed by..."; mine was set for 5.2 which is an older version and no longer supported. I changed it via the dropdown menu to PHP Cur () and the problem was solved and the site is working perfectly now with no errors.
Hope this helps some of ya'll :)


Reply With Quote

