Forums / Install & configuration / Timezone on php5 "Strict Standards: strtotime()" - Solved -

Timezone on php5 "Strict Standards: strtotime()" - Solved -

Author Message

Kevin Shoesmith

Wednesday 11 June 2008 9:33:31 pm

I can't get past this seemingly simple problem. My error is exactly the same as that described above by so many others.

I've modified the php.ini files. I've added the line to the .htaccess_root file. I've restarted my localhost server and I still get the same error. If it's a PHP environment issue, then these things should have solved the problem.

I'm running XAMPP 1.6.6a on Windows.

Even when I try to run the Finetune option, I get this error:

<b>Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.</b>

But there's no debug output anywhere on the page.

And when I click "Next >" I just get a blank screen.

What can I do? I can't start using this product without getting it installed. Very frustrating.

Venn - A Small Design Studio
www.venncommunications.com

Bruce Morrison

Wednesday 11 June 2008 10:12:57 pm

Hi Kevin

When you just get the
<b>Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.</b> output you can usually find the issue in the webserver error log.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Andy Boston

Monday 23 June 2008 3:32:48 pm

So what is the definitive solution for people with no access to their php.ini on shared hosting?

Robert Brady

Tuesday 01 July 2008 9:02:42 am

I am having a time trying to make this work on my IIS localhost here at home.

Running Windows NT SERVER 5.1 build 2600, MySQL Server 5.0, and PHP 5.2.6

I edited the php.ini for the TIMEZONE:

[Date]
; Defines the default timezone used by the date functions
date.timezone = America/Los_Angeles

Restarted the server, but am still getting this error. The documentation refers to Apache, not to IIS

Strict Standards: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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/Los_Angeles' for '-7.0/DST' instead in C:\Documents and Settings\Administrator\My Documents\EZPublish\lib\ezutils\classes\ezdebug.php on line 879

Is there an answer for those of us using IIS locally for development before a launch to a live IIS server.

I have been reviewing several CMS apps and I wold really like to take this for a run. I am going to be using it for a christian non-profit website at www.GraceResources.org

André R.

Tuesday 01 July 2008 10:30:33 am

To Andy and Robert:
If you look earlier in this thread, you'll find a alternative way to set it using eZ Publish settings:
http://ez.no/developer/forum/install_configuration/timezone_on_php5_strict_standards_strtotime_solved#msg158302

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Robert Brady

Tuesday 01 July 2008 12:58:48 pm

Geez, I must have overlooked that post. Thanks, Andre. That worked for my setup.

Looking forward to this application. I think it is going to work very well for our needs.

are bos

Friday 01 August 2008 11:53:33 pm

I found same problem, and solved with information described above.

I can mention that below:
1. fill time zone in php.ini with my local time zone setting.
2. enable mod_rewrite ini apache httpd.conf

But, then, i found new problem here. i've got new error message:

Fatal error: Call to undefined method domdocument::loadXML() in E:\xampp\htdocs\ezpublish-4.0.0\kernel\setup\steps\ezstep_site_types.php on line 613
Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

And, below is message in error log file:

[Sat Aug 02 13:31:51 2008] [warn] pid file E:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sat Aug 02 13:31:55 2008] [notice] Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h mod_autoindex_color PHP/5.2.6 configured -- resuming normal operations
[Sat Aug 02 13:31:55 2008] [notice] Server built: Jun 14 2008 19:02:12
[Sat Aug 02 13:31:55 2008] [notice] Parent: Created child process 4292
[Sat Aug 02 13:31:57 2008] [notice] Child 4292: Child process is running
[Sat Aug 02 13:31:57 2008] [notice] Child 4292: Acquired the start mutex.
[Sat Aug 02 13:31:57 2008] [notice] Child 4292: Starting 250 worker threads.
[Sat Aug 02 13:31:57 2008] [notice] Child 4292: Starting thread to listen on port 80.
[Sat Aug 02 13:31:57 2008] [notice] Child 4292: Starting thread to listen on port 443.

What should I do now? Anyone can help? Thanks.

http://danabeasiswa.blogspot.com

André R.

Saturday 02 August 2008 1:10:51 am

Please keep the threadon topic, your problem is easy to solve by searching for it in the forum or on the net.
http://ez.no/developer/forum/install_configuration/ez_publish_4_0_installation_failure_on_windows

Basically you should never use the domxml extension with php5, php5 has it's own more standards conformance xml extension enabled by default.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

yunxia cai

Wednesday 20 August 2008 12:09:38 am

install the xampp

question one:
I install the new xampp (2-1-6-7 vision), installing
happen the error:

Fatal error: Call to undefined method domdocument::loadXML() in C:\xampp\htdocs\lighthouse\kernel\setup\steps\ezstep_site_types.php on line 613

question two:

modified the timezone,but I don't know where is it ,that I need modified,

who can help me ? thank you very much!!!

Ole Morten Halvorsen

Monday 02 November 2009 9:42:23 am

.

Senior Software Engineer - Vision with Technology

http://www.visionwt.com
http://www.omh.cc
http://www.twitter.com/omh

eZ Certified Developer
http://ez.no/certification/verify/358441
http://ez.no/certification/verify/272578

George Patterson

Wednesday 14 July 2010 1:06:40 am

hi....I've modified the php.ini files. I've added the line to the .htaccess_root file. I've restarted my localhost server and I still get the same error. If it's a PHP environment issue, then these things should have solved the problem....