Xinha PHP5.3 set_magic_quotes_runtime depreciated

Xinha PHP5.3 set_magic_quotes_runtime depreciated, a forum discussion on Jojo CMS. Join us for more discussions on Xinha PHP5.3 set_magic_quotes_runtime depreciated on our Administration (backend and configuration) forum.

Back to Forum Index : Back to Administration (backend and configuration)   RSS
Jaijaz Jaijaz

12 Mar 2012
Posts: 215

Hi all,

Just wanted to record a problem I just found and the "work around".

The file upload manager in Xinha uses set_magic_quotes_runtime which is depreciated in PHP 5.3. I have been using 5.3 on lots of sites recently but hadn't seen an issue until I went to upload an image and file in Xinha while Jojo was in debug mode. While in debug mode you get a Depreciated error on line 40 of the backend.php file. The full error is:

Deprecated: Function set_magic_quotes_runtime() is deprecated in /var/www/jojo-2011_10_03/plugins/jojo_core/external/xinha/plugins/ExtendedFileManager/backend.php on line 40

Turning off debug mode reduces the error reporting from PHP and hence everything works fine.

Looking at the Xinha website, there is a couple of mentions of the problem and doing the same fix. I couldn't find any mention of a fix.
If you not living on the edge you taking up too much space.
tom

Developer

tom

12 Mar 2012
Posts: 372

There's a xinha5.3 diff file committed in the root folder of Jojo that comments out that line (and a few others like it) as well as some @session start calls that also produce errors

- I made that a good while back though and haven't used it recently so depending on what's gone on from their end in terms of updates, the line number references could be broken by now.
Jaijaz Jaijaz

13 Mar 2012
Posts: 215

I'll check it out. Thanks Tom.
If you not living on the edge you taking up too much space.
Back to Forum Index : Back to Administration (backend and configuration)   RSS
You must be logged in to post a reply


You are not logged in
You need to Register or Log In before posting on these forums.