Project

General

Profile

Actions

Bug #55720

closed

EM: SimpleFileBackend warnings

Added by Franz Holzinger almost 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-02-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I get some warning messages in the BE, if I deinstall an extension. There are all about SimpleFileBackend.php.

Warning: rename() [function.rename]: 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/Berlin' for 'CET/1.0/no DST' instead in /home/www/doc/mypath/myuser/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 244

Warning: rename(/home/www/doc/mypath/myuser/typo3temp/Cache/Data/cache_classes/52f3633d65611.temp,/home/www/doc/mypath/myuser/typo3temp/Cache/Data/cache_classes/typo3_cms_form_validation_fileallowedtypesvalidator) [function.rename]: No such file or directory in /home/www/doc/mypath/myuser/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 244

Warning: rename() [function.rename]: 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/Berlin' for 'CET/1.0/no DST' instead in /home/www/doc/mypath/myuser/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 244

Warning: rename(/home/www/doc/mypath/myuser/typo3temp/Cache/Data/cache_classes/52f3633d9a1d1.temp,/home/www/doc/mypath/myuser/typo3temp/Cache/Data/cache_classes/tx_form_system_validate_inarray) [function.rename]: No such file or directory in /home/www/doc/mypath/myuser/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 244

Actions #1

Updated by Markus Klein almost 11 years ago

  • Status changed from New to Needs Feedback

Franz, you PHP and/or TYPO3 seems to be configured properly.

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.

Check your date.timezone setting in php.ini please.
What did you set for ['SYS']['phpTimeZone'] in the install tool?

Actions #2

Updated by Franz Holzinger almost 11 years ago

The timezone in the php.ini is commented out.

;date.timezone =

Nothing has been set in the Install Tool:

[SYS][phpTimeZone]

PHP info gives this:

date/time support     enabled
"Olson" Timezone Database Version     2013.3
Timezone Database     internal
Default timezone     Europe/Berlin

Directive    Local Value    Master Value
date.default_latitude    31.7667    31.7667
date.default_longitude    35.2333    35.2333
date.sunrise_zenith    90.583333    90.583333
date.sunset_zenith    90.583333    90.583333
date.timezone    no value    no value
Actions #3

Updated by Markus Klein almost 11 years ago

This is strange as the method setDefaultTimezone() in Bootstrap.php sets at least UTC as a last resort.
Please grep the whole installation if some extension or so uses date_default_timezone_set() and sets an empty timezone.

Another question: Are really running on PHP 5.3? The warning should only appear on 5.4+ AFAIK.

Actions #4

Updated by Alexander Opitz over 10 years ago

Hi,

did you take a look into your source as Markus mentioned?

Actions #5

Updated by Alexander Opitz about 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF