Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-12-12 13:29:52

inkywillow
Member
From: France
Registered: 2009-12-22
Posts: 37

Errors after PHP 5.3 upgrade

Hi all,

Somebody decided to make an upgrade on a server that hosts a couple of my TXP (4.4.1) websites overnight and this morning I was faced with the following errors all over the admin area. Can anybody point me in the right direction to get this fixed?

Apparently kicking ones web hosts is frowned upon. :(

Warning: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /var/www/vhosts/shealolin.co.uk/httpdocs/textpattern/lib/txplib_misc.php on line 1338
Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /var/www/vhosts/shealolin.co.uk/httpdocs/textpattern/include/txp_diag.php on line 504 

Diagnostic info:
Textpattern version: 4.4.1 (r3575)
Last Update: 2011-12-02 19:50:24/2011-12-12 20:12:46
Document root: /var/www/vhosts/shealolin.co.uk/httpdocs
$path_to_site: /var/www/vhosts/shealolin.co.uk/httpdocs
Textpattern path: /var/www/vhosts/shealolin.co.uk/httpdocs/textpattern
Permanent link mode: section_id_title
open_basedir: /var/www/vhosts/shealolin.co.uk/httpdocs:/tmp
Temporary directory path: /var/www/vhosts/shealolin.co.uk/httpdocs/textpattern/tmp
Site URL: shealolin.co.uk
PHP version: 5.3.3
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: UTC
Server Local Time: 2012-12-12 13:25:36
DST enabled?: 0
Automatically adjust DST setting?: 
Time Zone: Europe/London (0)
MySQL: 5.0.77
Locale: en_GB.UTF-8
Server: Apache/2.2.3 (CentOS)
Apache version: Apache/2.2.3 (CentOS)
PHP Server API: apache2handler
RFC 2616 headers: 
Server OS: Linux 2.6.18-164.el5
Active plugins: zem_nth-0.1
Admin-side theme: classic 4.4.1

.htaccess file contents: 
------------------------
RewriteEngine On
RewriteCond %{HTTP_HOST} !^shealolin\.co.uk$
RewriteRule (.*) http://shealolin.co.uk/$1 [R=301,L]
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

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

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

	RewriteCond %{REQUEST_URI} !=/favicon.ico
	RewriteRule ^(.*) index.php

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

#php_value register_globals 0

------------------------

The Design Works – Freelance website designer

Offline

#2 2012-12-12 13:45:10

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,392
Website GitHub

Re: Errors after PHP 5.3 upgrade

Have you tried this?

Apparently kicking ones web hosts is frowned upon

Nah, international sport :-)

Last edited by Bloke (2012-12-12 13:45:51)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#3 2012-12-12 13:53:26

inkywillow
Member
From: France
Registered: 2009-12-22
Posts: 37

Re: Errors after PHP 5.3 upgrade

In that case I’m going to get a team together for the coming season, you in Stef?

Wet’s solution worked a treat, many thanks to you both… :D

Tom


The Design Works – Freelance website designer

Offline

#4 2012-12-12 13:56:54

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,392
Website GitHub

Re: Errors after PHP 5.3 upgrade

inkywillow wrote:

you in Stef?

Only if I get to kick outsourced customer support.

Last edited by Bloke (2012-12-12 14:17:41)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB