Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2017-02-11 16:44:18

leemobile23
New Member
Registered: 2017-02-11
Posts: 6

deprecated

Hi i hope someone can help me here.
firstly im very new to all this web design and textpattern.

my employee who dealt with all my web changes and stuff has left my company and basically i get this error message across the top of the public site

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/almaxx/public_html/textpattern/lib/txplib_db.php on line 14

if i log in to textpattern i get this one

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/almaxx/public_html/textpattern/lib/txplib_db.php on line 14

Deprecated: Function split() is deprecated in /home/almaxx/public_html/textpattern/include/txp_auth.php on line 144

as explained i have no knowledge of how to fix any of this so any step by step help would be greatly appreciated

regards

Offline

#2 2017-02-11 17:09:23

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

Re: deprecated

Hi and welcome to txp.

Those errors did not appear for years. You must be running a very old version of txp which you should update. Back up your database and files before you do it. Should you need advice please do not hesitate to post here.


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 2017-02-11 18:13:01

leemobile23
New Member
Registered: 2017-02-11
Posts: 6

Re: deprecated

colak wrote #303968:

Hi and welcome to txp.

Those errors did not appear for years. You must be running a very old version of txp which you should update. Back up your database and files before you do it. Should you need advice please do not hesitate to post here.

Thank you for your advice
Does this need to be done within cPanel or can I do from within textpattern ?

Offline

#4 2017-02-11 20:27:47

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: deprecated

The update or upgrade is basically done via FTP on the server.

But, if you are upgrading from a very old version, you have to consider other details like the plugins, the tags used in forms and pages, the data base etc.

Offline

#5 2017-02-11 20:44:48

leemobile23
New Member
Registered: 2017-02-11
Posts: 6

Re: deprecated

All of this could be a big problem then.

my textpattern is currently 4.06
my php 5.3.29

also ive just found i cant access cpanel as well

maybe time for a new website then.

thanks anyway

Offline

#6 2017-02-11 20:47:11

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: deprecated

That’s not a reason for a new site, all this can be fixed.

Offline

#7 2017-02-11 20:52:56

leemobile23
New Member
Registered: 2017-02-11
Posts: 6

Re: deprecated

But i have absolutely no knowledge on how or where to begin fixing this.

And not being able to access my cpanel i thought would mean no way of updating anything

could certainly do with this correcting this as soon as possible

Offline

#8 2017-02-11 20:55:15

leemobile23
New Member
Registered: 2017-02-11
Posts: 6

Re: deprecated

heres diagnostic info

Some Textpattern files have been modified:
/include/txp_tag.php,
/lib/classTextile.php,
/lib/txplib_head.php ?
clean_url_data_failed: <br />

Textpattern version: 4.0.6 (r2805)
Last Update: 2008-08-19 16:20:37/2008-08-19 16:12:27
Document root: /home/almaxx/public_html
$path_to_site: /home/almaxx/public_html
Textpattern path: /home/almaxx/public_html/textpattern
Permanent link mode: section_id_title
Temporary directory path: /home/almaxx/public_html/textpattern/tmp
Site URL: www.almaxxmotorcycles.co.uk
PHP version: 5.3.29
GD Image Library: bundled (2.1.0 compatible); supported formats: GIF, PNG.
Server Local Time: 2017-02-11 20:53:54
MySQL: 5.6.35
Locale: en_GB.UTF-8
Server: Apache
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 2.6.32-673.8.1.lve1.4.3.1.el6.x86_64
Active plugins: hpw_admincss-0.1, zem_contact_lang-4.0.3.6, zem_contact_reborn-4.0.3.20, smd_gallery-0.45, glx_admin_image-2007.1m

Pre-flight check: 
------------------------
Some Textpattern files have been modified: 
	/include/txp_tag.php, 
	/lib/classTextile.php, 
	/lib/txplib_head.php
clean_url_data_failed: <br />
------------------------

.htaccess file contents: 
------------------------
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

<IfModule mod_rewrite.c>
	RewriteEngine On
	#RewriteBase /relative/web/path/

	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]

	RewriteRule ^(.*) index.php

	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0
------------------------

Offline

#9 2017-02-11 21:07:29

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,578
Website

Re: deprecated

Actually, that doesn’t look too bad. Yes, it’s a very old version of Textpattern but there are only a few plugins in use. Of those zem_contact_reborn (contact form) is available in an up-to-date version, all that could be done with smd_gallery (image galleries) can now be done with textpattern’s in-buil txp:image tag. hpw_admin_css and glx_admin_image are both admin-side improvements, most if not all of which can now also be achieved with other means (if you are actually making use of them at all). The admin-side has been improved over the years and looks a little different now anyhow.

The error has probably arisen as your web host has updated its server software.

I’m guessing you pay for your web hosting, so you could request a password-reset to re-access cpanel. Someone here on the forum could no doubt help you out with the upgrading too…


TXP Builders – finely-crafted code, design and txp

Offline

#10 2017-02-11 23:21:27

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 2,072
Website Mastodon

Re: deprecated

leemobile23 wrote #303975:

But i have absolutely no knowledge on how or where to begin fixing this.

And not being able to access my cpanel i thought would mean no way of updating anything

could certainly do with this correcting this as soon as possible

I would be happy to lend a hand. once you get your credentials to login to cPanel and get FTP access. I can start by doing a backup of existing site, installing locally, and upgrade yr site to latest version of textpattern, and see if we can resolve issues.
And others will certainly help with other issues .

All the Best


…. texted postive

Offline

#11 2017-02-12 14:32:32

leemobile23
New Member
Registered: 2017-02-11
Posts: 6

Re: deprecated

bici wrote #303979:

I would be happy to lend a hand. once you get your credentials to login to cPanel and get FTP access. I can start by doing a backup of existing site, installing locally, and upgrade yr site to latest version of textpattern, and see if we can resolve issues.
And others will certainly help with other issues .

All the Best

Thank you
I’ll get the login sorted tomorrow and get back to you here

Thanks again

Offline

Board footer

Powered by FluxBB