Setup of ez publish - "Database initialization"

Author Message

Siw Helen Thorslund

Tuesday 20 January 2004 1:51:08 pm

When going through the setup of the latest ez publish, I get this error after the step "Database initialization":

Fatal error: Maximum execution time of 60 seconds exceeded in /hsphere/local/home/thingsto/thingstodoatwork.com/mySite/lib/eztemplate/classes/eztemplate.php on line 502
Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.

What have I done wrong here?
What can I do to make this work?

Siw
http://www.vizytech.no

www.VZT.no ( http://www.VZT.no )
VZT References ( http://http://vzt.no/index.php/vzt_eng/referanser )
VZT Extensions ( http://vzt.no/index.php/vzt_eng/extensions )
www.MediaBase.no ( http://www.MediaBase.no )

Kåre Køhler Høvik

Wednesday 21 January 2004 4:12:22 am

Hi

Are you trying to use MySQL o PostgreSQL ?
Is the DB remote or on localhost ?

--
Kåre Høvik

Kåre Høvik

Robert Westhead

Thursday 22 January 2004 6:55:02 am

I have a similar proble when trying to create the initial database.

The DB connection is to another server over a WAN and response time is < 1 second, but the DB user does not have rights to create a database, and needs to use only a single prepared DB. (one site only)

How can a get past this stage of the setup manually?

Balazs Halasy

Thursday 22 January 2004 7:39:12 am

You can't get past it since there is no "skip" button. However, you could hack the setup PHP manually and bypass it. The setup does not do a "create database", it only creates tables and fills these with some values. Please make sure that you create a database manually (as described in the installation manual) and that eZ publish is able to access it. More info here:

http://ez.no/developer/ez_publish_3/documentation/installation/normal_installation/installing_ez_publish_on_a_linuxunix_based_system

Balazs

Robert Westhead

Thursday 22 January 2004 8:10:04 am

I think the problem is that the user account has access to two databases - where could I hard-code the database name in the setup PHP?

I'm guessing a little at this stage since the host has custom 500 error pages, so I don't know exactly why the PHP is failing.
Locally I have this working fine. :-/

UPD: Tried changing default DB name in settings/setup.ini - No change, still 500 error.

UPD: Tested connection - the script is connecting to the database ok (if incorrect password entered, the screen returns with 'the server will not accept connection') and tested connection seperately with other script. So with correct username, password and default database, setup still returns a 500 error (which I cannot diagnose on this host). An ideas would be most welcome please.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.