Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
errors after being upgraded to php 5.
Hi
my hosting company upgraded to php 5 a few weeks ago, without warning, and since then i’ve been getting the following errors:
Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/draggedu/public_html/textpattern/lib/txplib_db.php on line 14
Warning: Cannot modify header information - headers already sent by (output started at /home/draggedu/public_html/textpattern/lib/txplib_db.php:14) in /home/draggedu/public_html/textpattern/lib/txplib_misc.php on line 1546
Warning: Cannot modify header information - headers already sent by (output started at /home/draggedu/public_html/textpattern/lib/txplib_db.php:14) in /home/draggedu/public_html/textpattern/publish.php on line 467
i thought – “oh, i know, i’ve left it in testing mode, i’ll just go and set it to live”, but now i can’t login – or rather, i can login, but everytime the page refreshes, i need to log in to every page, which may be something caused by the above errors. given how long it is since php 5 was released, i’m sure that this problem is already covered on the forum, but i can’t find it… i’m almost certainly being crap.
diagnostic info below:
Textpattern version: 4.0.5 (r2466)
last_update: 2007-08-21 22:15:08/2007-08-21 22:14:18
Document root: /home/draggedu/public_html
$path_to_site: /home/draggedu/public_html
Textpattern path: /home/draggedu/public_html/textpattern
Permanent link mode: messy
open_basedir: /home/draggedu:/usr/lib/php:/usr/local/lib/php:/tmp
Temp folder: /home/draggedu/public_html/textpattern/tmp
Site URL: draggedup.co.uk
PHP version: 5.3.8
gd_library: gd_info: bundled (2.0.34 compatible), GIF, PNG
Server time: 2011-09-16 13:09:15
MySQL: 5.0.92-community
Locale: en_GB.UTF-8
Server: Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.3.8
Apache version: Apache/2.2.20 (Unix) mod_ssl/2.2.20 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.3.8
PHP mode: apache2handler
rfc2616_headers:
Operating System: Linux 2.6.32-4-pve
active_plugins: mdp_calendar-1.0, jmc_event_manager-0.2beta, ako_youtube-0.2.1
Pre-flight check:
————————————
File Upload Path is not writable: /home/draggedu/public_html/files
/home/draggedu/public_html/textpattern/setup/ still exists
————————————
.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
</IfModule>
#php_value register_globals 0
————————————
Offline
#2 2011-09-16 12:20:43
- Algaris
- Member
- From: England
- Registered: 2006-01-27
- Posts: 568
Re: errors after being upgraded to php 5.
I’m not really an expert in these matters but I did notice that you are using an old version of Textpattern 4.0.5 (r2466). Have you tried upgrading to the latest version 4.4.1?
Of course before you try anything I’d add the usual backup your database and website warning.
Offline
Re: errors after being upgraded to php 5.
Algaris wrote:
I’m not really an expert in these matters but I did notice that you are using an old version of Textpattern 4.0.5 (r2466). Have you tried upgrading to the latest version 4.4.1?
clearly more of an expert than me – that worked like a charm, thanks!
Last edited by ishmael (2011-09-16 12:52:42)
Offline
Pages: 1