Forums / Install & configuration / Setup of ez publish - "Database initialization"

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.

eZ debug

Timing: Jan 18 2025 19:06:41
Script start
Timing: Jan 18 2025 19:06:41
Module start 'content'
Timing: Jan 18 2025 19:06:42
Module end 'content'
Timing: Jan 18 2025 19:06:42
Script end

Main resources:

Total runtime0.8211 sec
Peak memory usage4,096.0000 KB
Database Queries204

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 589.0938180.8047
Module start 'content' 0.00830.6744 769.8984650.6797
Module end 'content' 0.68270.1383 1,420.5781337.0625
Script end 0.8210  1,757.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00570.7001210.0003
Check MTime0.00200.2486210.0001
Mysql Total
Database connection0.00090.109110.0009
Mysqli_queries0.733689.34882040.0036
Looping result0.00220.26302020.0000
Template Total0.787695.920.3938
Template load0.00300.367120.0015
Template processing0.784695.553720.3923
Template load and register function0.00010.017210.0001
states
state_id_array0.00120.143210.0012
state_identifier_array0.00100.126920.0005
Override
Cache load0.00230.2797340.0001
Sytem overhead
Fetch class attribute can translate value0.00130.158950.0003
Fetch class attribute name0.00190.233080.0002
XML
Image XML parsing0.00180.218650.0004
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00480.5829380.0001
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs