1
jlittle
strftime problem?
  • 2010/3/18 3:28

  • jlittle

  • Just popping in

  • Posts: 2

  • Since: 2010/3/18


After installing and going to the main page I don't get any anything useful. I turned on debug and got the following:

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 'America/New_York' for '-4.0/DST' instead in file /class/smarty/Smarty_Compiler.class.php line 400

I had set (and the DB agrees) the timezone to -5 (EST) but it is forcing a -4 timezone.

There is also a problem in that the temp file names can not be found in the xoops_data/caches/smarty_compile directory:

Warning: include(C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/MyHiddenFiles/xoops_data/caches/smarty_compile/http%253A%252F%252Fcs2-<my-server-name-was-here>%253A8080%252F<my-db-name-was-here>%25%25system-default-default^%%22^222^222153D0%%db%3Asystem_block_user.html.php): failed to open stream: No such file or directory in file /class/smarty/Smarty.class.php line 1263

I'm not sure if this is related to the timezone issue or not.

Here is my enviroment:
XOOPS Version: XOOPS 2.4.4
XOOPS Theme: default
XOOPS Template Set: default
PHP Version: 5.3.0
MySQL Version: 5.1.36-community
Server Software: Apache/2.2.11 (Win32) PHP/5.3.0


Any help would be appreciated.

Thankx, Jeff

2
stempko
Re: strftime problem?
  • 2010/4/29 9:42

  • stempko

  • Just popping in

  • Posts: 1

  • Since: 2010/4/29


For second warning: Try to move xoops_data to upper directory like C:/Program Files/Apache Software Foundation/Apache2.2/ or other.
I had the same. I moved xoops_data and xoops_lib and it works

Login

Who's Online

217 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 217


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits