I haven’t done anything to update and maintain my site since 2020. I’ve tried to work through how to run an upgrade script mentioned in the PDF but I’m definitely doing something wrong.
All my PHP files are dated 30/5/2020.
Are you able to look at my station’s URL to suggest my next step on how to get up and running again?
PHP error 500 means there’s a problem in one of the PHP files. It’s not possible for us to diagnose that from the web site. If you have access to the web server logs you should see the error in those. If you can find that error we might be able to figure out what’s wrong.
You are running a "very old (in IT-terminology) " version.
The PWS_updates script was introduced with the December 2020 LTS (=Long Time Support) version
You upgraded your webserver to a new PHP version and some settings in your 2004 version generate a conflict.
Run . . .rtholomew.com/PWS-Dashboard/_test.php and it will display the errors found.
<b>Fatal error</b>: Uncaught Error:
Undefined constant "mb_internal_encoding" in
/homepages/2/d650607560/htdocs/johnbartholomew/PWS-Dashboard/PWS_settings.php:255
Replace lines 255-259 in PWS_settings.php with the similar lines below, the function names should be quoted.
if (function_exists ('mb_internal_encoding') ) {mb_internal_encoding('UTF-8'); }
if (function_exists ('mb_http_output') ) {mb_http_output('UTF-8'); }
#if (function_exists ('mb_http_input') ) {mb_http_input('UTF-8'); } #### 2020-12-08
if (function_exists ('mb_language') ) {mb_language('uni'); }
if (function_exists ('mb_regex_encoding') ) {mb_regex_encoding('UTF-8'); }
You probably can use the 2004 version, if no other errors pop-up.
Please move as soon as possible to the latest stable 2012_LTS version
I will try to move to 2012_LTS version. I’m not so technically gifted but am sure I can work it out. I assume that’s a full new install that replaces all the code from current version, or can I copy over the 2004 files? Can I reuse my exisitng dashboard configuration?