peter-b
Forum Replies Created
-
Ok – I have only one PHP.ini file that I can find on my system (locate php.ini) which has been edited as above. I have rebooted the system after installing php5.3 – and I still get the same errors.
The timezone in WordPress settings is set to London (although it still shows times as BST and DST – is that correct?
Looks like I’ll be sticking with php 5.2.8
Okay, my /etc/php.ini file looks like this
<—-snip[Date]
; Defines the default timezone used by the date functions
;
;
date.timezone = “Europe/London”
;
;date.default_latitude = 31.7667
;date.default_longitude = 35.2333;date.sunrise_zenith = 90.583333
;date.sunset_zenith = 90.583333snip—–>
I have restarted Apache – still get
Warning: strtotime() [function.strtotime]: 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 ‘Europe/London’ for ‘BST/1.0/DST’ instead in /var/www/html/blog/wp-content/plugins/comment-timeout/comment-timeout.php on line 342
repeated with different line numbers.
Reverting back to 5.2.8!
Thank you – I’ll try it later.
Any update on this? I tried Dan’s fix but without success – I have just reverted back to PHP 5.2.8
Forum: Fixing WordPress
In reply to: Should I upgrade to PHP5?WordPress minimum spec is PHP 4.2 or later. That said, there was a minor issue with WordPress 2.0.3 with escaped characters that didn’t ocurr with PHP 4.3. There was a workaround, and I’m not sure if the issue was resolved with 2.04 or not, because I bit the bullet and upgraded to the latest in the 4.x series. However I see no reason why WPress shouldn’t work with 5.x it is forward compatible in that 4.x code should run with 5.x, although the reverse may not be true. However I am a PHP noob myself, so if others know different, please advise!
Forum: Fixing WordPress
In reply to: ‘{1}’ prefixed to the date of all posts after 2.0.3 upgradeI’ve found another oddity with WordPress 2.0.3 running under PHP 4.2.2
I was recently adding a link with the link description including a ‘ mark (as in Fred’s blog. This appeared in the sidebar as Fred/’s blog – ie, the escape character appeared. Editing it from within WordPress was impossible – in fact it then appeared as Fred///’s blog – so it seems to be escaping the escape character!
A quick look in the database showed that the db table was storing the characters described, so it looks as if the problem is occuring in the input text processing. The workaraound was to edit the Mysql table directly (using phpMyAdmin)
System is Linux RH9 running Apache 2, MySql 4 and php 4.2.2
Forum: Fixing WordPress
In reply to: ‘{1}’ prefixed to the date of all posts after 2.0.3 upgradeThe hack seems to work OK – I’m not particularly familiar with php – what was the change meant to implement?
Forum: Fixing WordPress
In reply to: ‘{1}’ prefixed to the date of all posts after 2.0.3 upgradeDid the above mod – worked for me too! Thanks!
Using php 4.2.2
mysql 4.1.18
Apache 2.0.40Forum: Installing WordPress
In reply to: Why do I still have the sending referers problem even after…You can get problems with sending referers error if you are self hosting the WordPress address and blog address in the general options section are mismatched or you try to access the page using a localhost or local name in the URL bar of the browser.