Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-03-15 15:29:12

jhwilliams73
New Member
Registered: 2012-03-15
Posts: 3

Deprecated: Function set_magic_quotes_runtime() is deprecated in /data

I updated to 4.4.1 and now I’m getting the following message on the top of every page of my site:

Deprecated: Function set_magic_quotes_runtime() is deprecated in /data/16/1/15/95/1504747/user/1618844/htdocs/textpattern/lib/txplib_db.php on line 14

Deprecated: Function split() is deprecated in /data/16/1/15/95/1504747/user/1618844/htdocs/textpattern/include/txp_auth.php on line 144

I have disabled all my pluggins. Does anyone know a fix?

Thanks,

Jennifer

Offline

#2 2012-03-15 15:33:23

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Deprecated: Function set_magic_quotes_runtime() is deprecated in /data

Hi Jennifer,

Welcome to txp. This or this topic might be of help.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2012-03-15 16:05:10

jhwilliams73
New Member
Registered: 2012-03-15
Posts: 3

Re: Deprecated: Function set_magic_quotes_runtime() is deprecated in /data

Thanks for the welcome. I tried changing the code in the txplib_db.php file, but now I get these messages:

Warning: Unknown column ‘user_name’ in ‘where clause’ select name, val from txp_prefs where prefs_id=1 AND user_name=’‘ in /data/16/1/15/95/1504747/user/1618844/htdocs/textpattern/lib/txplib_db.php on line 89

Notice: Undefined variable: language in /data/16/1/15/95/1504747/user/1618844/htdocs/textpattern/index.php on line 64

Deprecated: Function split() is deprecated in /data/16/1/15/95/1504747/user/1618844/htdocs/textpattern/include/txp_auth.php on line 144

Notice: Undefined variable: use_textile in /data/16/1/15/95/1504747/user/1618844/htdocs/textpattern/include/txp_article.php on line 373

Notice: Undefined variable: use_textile in /data/16/1/15/95/1504747/user/1618844/htdocs/textpattern/include/txp_article.php on line 374

I tried re-installing 4.4.1 and it didn’t make a difference.

THanks,

Jennifer

Offline

#4 2012-03-15 16:26:34

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Deprecated: Function set_magic_quotes_runtime() is deprecated in /data

Those errors can not be caused by TXP 4.4.1. Textpattern hasn’t even used the mentioned split() function in years. Those errors would indicate that the accessed files belong to old TXP release.

First of all, make sure you have uploaded/updated all files (and that the updated files are the correct ones). If you are certain they are, then make sure you are not running any PHP APC, or bytecode cache that is acting up, and if you are clear the cache.

jhwilliams73 wrote:

I tried changing the code in the txplib_db.php file

No need to edit anything. Those threads linked by Yiannis are old and irrelevant.

Last edited by Gocom (2012-03-15 16:32:38)

Offline

#5 2012-03-15 16:53:28

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Deprecated: Function set_magic_quotes_runtime() is deprecated in /data

Hi Jennifer,

Can you please post your diagnostics? It might shed some light to the problem.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2012-03-16 06:35:58

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Deprecated: Function set_magic_quotes_runtime() is deprecated in /data

You definitely have not updated all files on your server to their 4.4.1 versions.

Offline

#7 2012-03-16 12:39:47

jhwilliams73
New Member
Registered: 2012-03-15
Posts: 3

Re: Deprecated: Function set_magic_quotes_runtime() is deprecated in /data

Thanks so much for all the help. I tried to update to 4.4.1 again and this time things seem fine.

Thanks again!

Jennifer

Offline

Board footer

Powered by FluxBB