• Welcome to RadioDJ - Free Radio Automation Software Forum. Please log in or sign up.

PHP Request Script No Longer Works After Upgrading Ubuntu 18.04 LTS > 20.04 LTS

Started by KJ6EO, February 08, 2024, 09:01:55 PM

KJ6EO

Hello and thanks for reading my post.  I'm hosting the PHP Request Script on my Ubuntu 18.04 LTS Enterprise Server.  It's located in /var/www/RDJ.  The script has worked for years, until I recently did a "do-release-upgrade" to Ubuntu 20.04 LTS.  After the upgrade, the PHP Script will no longer run.  I replaced the script with a known good "running" backup ... no joy won't run.  Do I need an upgraded script?  Maybe my current script won't run on Ubuntu 20.04 LTS.  Any suggestions and or comments you might have would be appreciated.  Thank You!

ghm72

The PHP web request scripts have needed rewriting for at least 5 years.

Even the Wordpress plugin struggles on Some installs from what ive read.

KJ6EO

Hi Gary - Thanks for your reply and comments.  I was thinking along the line that maybe I was missing a package or something in the new distro.  Maybe the PHP package is missing .... I'll check into that.

ghm72

I think the problem with the demo scripts is that they call on classes that are no longer valid in PHP

My husband was in the process of trying to update the request script when he died 4 years ago and I don't have that code now due to an external hard drive bricking its self

I've not been using any of the scripts so I didn't know about any issues

KJ6EO

Hi Gary - Thank you for your thoughts.  The request feature (request script) is very popular on my Station.  So, if I shut it off to upgrade to Ubuntu 22.04 LTS, I'm sure I'd get some significant hate mail from my listeners.  Do you know of anyone on the Forum that is running the request on something newer that Ubuntu 18.04 LTS?  If so, I bet they ran into the problem that I'm having.  I upgraded to 20.04 LTS on a test server holding back the Apache2 and PHP packages.  However, the script still didn't work.  I'm not a coder so I wouldn't even begin to know how to resolve the problem.  My main Webserver is running Ubuntu 18.04 on a Cisco C220 M3 enterprise server.  So, I guess I'll just drop the idea of upgrading.  It was a good idea, but I can live without it.

ghm72

I'm seriously thinking about paying someone on Fiver to update the scripts for RadioDJ

It was me that asked for the request function in the first place

Or if anyone has updated it to Modern PHP and wants to Share....