Share » Forums » Install & configuration » Getting error when I run setup Wizard

Getting error when I run setup Wizard

Getting error when I run setup Wizard

Thursday 13 November 2008 9:56:02 pm - 6 replies

Author Message

Ɓukasz Serwatka

Friday 14 November 2008 12:11:41 am

Hi,

Are you sure that you are running PHP 5 and eZ Publish 4.x ?

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Kristof Coomans

Friday 14 November 2008 1:26:33 am

Hi Hari

It looks like the eZ Publish INI files are not picked up. Are they readable by the web server? What's the include_path? Is PHP's open_basedir setting enabled? Or safe_mode?

Edit: similar issue in wIT http://issues.ez.no/13597, and similar forum topic: http://ez.no/developer/forum/install_configuration/cronjob_failure

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Elan Noy

Saturday 31 January 2009 5:21:42 pm

I am having the exact same problem, and I saw it in the other links referenced.
Running on Vista, PHP 5.2.8, Apache 1.3.
Safe mode is off, setting/site.ini exists and is redable.
I can run othet php application including MySqli.

Itried all kind of combinations (PHP4, Apache 2.2) same issue.

NEED HELP.

Gary Teh

Monday 02 February 2009 10:16:08 pm

I was facing exactly the same problem just a month or more ago when installing EzPublish 4.0.1 on my testing server. I think it has to do with the configuration of the mysql server or the apache web server.

If you are using an IIS server on windows chances is that it might not work properly.
If you are using MySQL, I think you might need to make sure it is version 5.1
Also Apache Server should be in pre-forked mode.
Most importantly you need to have PHP 5 installed as a module when using Apache

If you are installing the EzPublish on a windows platform do feel free to drop by at this <a href='http://name1price.com/index.php/ez-publish-4/3-working-with-ezpublish-401/7-setting-up-the-required-server-environment.html'>location </a> to obtain the bitnami stack. It eases the installation process by alot.

Hope it is of help.

Cheers
Gary from Name1Price.com

http://name1price.com : Get a Cool website for yourself and also learn how to manage it. It is easy. Use it to get more customers for your business.

Elan Noy

Tuesday 03 February 2009 5:53:39 am

Hey Gary, thanks for your input.

First, I am using MySql 5.0.
Second I don't know how to setup Apache for pre-forked mode.

From your comments, it sounds like both can be a reason for failure (this does not sound good for anapplication that is soooooooooo sensitive :))

Than I downloaded your stack, and it also failed.. Here are the logs from the access and error log. It looks like not mucj happend:

ACCESS LOG
192.168.1.100 - - [03/Feb/2009:08:14:29 -0500] "POST /ezpublish/index.php HTTP/1.0" 200 7670
169.254.200.119 - - [03/Feb/2009:08:23:39 -0500] "GET / HTTP/1.1" 200 1254
169.254.200.119 - - [03/Feb/2009:08:23:39 -0500] "GET /bitnamistack.css HTTP/1.1" 200 698
169.254.200.119 - - [03/Feb/2009:08:23:39 -0500] "GET /img/header_bg.png HTTP/1.1" 200 119
169.254.200.119 - - [03/Feb/2009:08:23:39 -0500] "GET /img/bitnami.png HTTP/1.1" 200 11116
169.254.200.119 - - [03/Feb/2009:08:23:39 -0500] "GET /img/ezpublish.png HTTP/1.1" 200 4207
169.254.200.119 - - [03/Feb/2009:08:23:39 -0500] "GET /img/sub_header_bg.png HTTP/1.1" 200 118
192.168.1.100 - - [03/Feb/2009:08:23:40 -0500] "GET / HTTP/1.1" 400 226
169.254.200.119 - - [03/Feb/2009:08:24:01 -0500] "GET /ezpublish/ HTTP/1.1" 500 136

ERROR LOG
[Tue Feb 03 08:13:31 2009] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Tue Feb 03 08:13:31 2009] [notice] Server built: Feb 4 2008 08:23:06
[Tue Feb 03 08:13:31 2009] [notice] Parent: Created child process 4980
[Tue Feb 03 08:13:31 2009] [notice] Child 4980: Child process is running
[Tue Feb 03 08:13:31 2009] [notice] Child 4980: Acquired the start mutex.
[Tue Feb 03 08:13:31 2009] [notice] Child 4980: Starting 64 worker threads.
[Tue Feb 03 08:13:31 2009] [notice] Child 4980: Starting thread to listen on port 80.
[Tue Feb 03 08:13:33 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Feb 03 08:13:33 2009] [notice] Child 4980: Exit event signaled. Child process is ending.
[Tue Feb 03 08:13:34 2009] [notice] Child 4980: Released the start mutex
[Tue Feb 03 08:13:35 2009] [notice] Child 4980: All worker threads have exited.
[Tue Feb 03 08:13:35 2009] [notice] Child 4980: Child process is exiting
[Tue Feb 03 08:13:35 2009] [notice] Parent: Child process exited successfully.
[Tue Feb 03 08:14:27 2009] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Tue Feb 03 08:14:27 2009] [notice] Server built: Feb 4 2008 08:23:06
[Tue Feb 03 08:14:27 2009] [notice] Parent: Created child process 5408
[Tue Feb 03 08:14:27 2009] [notice] Child 5408: Child process is running
[Tue Feb 03 08:14:27 2009] [notice] Child 5408: Acquired the start mutex.
[Tue Feb 03 08:14:27 2009] [notice] Child 5408: Starting 64 worker threads.
[Tue Feb 03 08:14:27 2009] [notice] Child 5408: Starting thread to listen on port 80.
[Tue Feb 03 08:22:09 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Feb 03 08:22:09 2009] [notice] Child 5408: Exit event signaled. Child process is ending.
[Tue Feb 03 08:22:10 2009] [notice] Child 5408: Released the start mutex
[Tue Feb 03 08:22:11 2009] [notice] Child 5408: All worker threads have exited.
[Tue Feb 03 08:22:11 2009] [notice] Child 5408: Child process is exiting
[Tue Feb 03 08:22:11 2009] [notice] Parent: Child process exited successfully.
[Tue Feb 03 08:23:03 2009] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Tue Feb 03 08:23:03 2009] [notice] Server built: Feb 4 2008 08:23:06
[Tue Feb 03 08:23:03 2009] [notice] Parent: Created child process 5204
[Tue Feb 03 08:23:04 2009] [notice] Child 5204: Child process is running
[Tue Feb 03 08:23:04 2009] [notice] Child 5204: Acquired the start mutex.
[Tue Feb 03 08:23:04 2009] [notice] Child 5204: Starting 64 worker threads.
[Tue Feb 03 08:23:04 2009] [notice] Child 5204: Starting thread to listen on port 80.
[Tue Feb 03 08:23:40 2009] [error] [client 192.168.1.100] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /
[Tue Feb 03 08:24:31 2009] [error] [client 169.254.200.119] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\\Temp1\\BitNami eZ Publish Stack\\apps\\ezpublish\\htdocs\\lib\\ezfile\\classes\\ezdir.php on line 496, referer: http://elannewlaptop/

Gary Teh

Tuesday 10 February 2009 7:55:58 am

[Tue Feb 03 08:24:31 2009] [error] [client 169.254.200.119] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\\Temp1\\BitNami eZ Publish Stack\\apps\\ezpublish\\htdocs\\lib\\ezfile\\classes\\ezdir.php on line 496, referer: http://elannewlaptop/

We are almost there.

Notice this last line?

What you will need to do is to avoid the 30 seconds script expiry.

Go to your php.ini file

It should be located at C:\program files\bitnami ez publish stack\php\

open that file you will need to change the following entry

Change it to

max_execution_time = 3000

The default is 30 which means just 30seconds

If your are running on a slow machine, and it is the first time you called the any page. It will definitely take more than 30 secs.

I hope this is of help

If you need further explanation as to why this problem happened, the link is here
http://name1price.com/index.php/ez-publish-4/12--setting-up-the-required-server-environment-part-2.html

Cheers
Gary from Name1Price.com

http://name1price.com : Get a Cool website for yourself and also learn how to manage it. It is easy. Use it to get more customers for your business.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu