Solutions to installation woes!

Author Message

Emme Stone

Monday 28 June 2004 11:18:22 am

<b>Hello! I've been struggling with my eZ publish installation for three days and have finally found success! Thus, in the most jovial of moods, I thought I would post my solutions here for other needy souls!

I am using eZ publish 3.4 on Mac OS X 10.2.8 (Jaguar) with PHP 4.3.4 (installed from an Entropy bundle) and MySQL 4.0.15 (installed as a bundle from Server Logistics).

01.

PROBLEM:</b>

It's worth noting that I am completely new to UNIX and server-side programming in general, so please try not to laugh...

I couldn't seem to set up a password for my MySQL root user! I tried typing in the command lines about a million times using different variations and from different server locations and received no love from Terminal whatsoever.

<b>SOLUTION:</b>

Trash MySQL and reinstall using the CompleteMySQL bundle from Server Logistics. Make sure to install the *very* nifty MySQL System Preferences Pane (you'll probably need to check out the installation help files for that one) and soon you'll be able to initialise your database, set the root user password, and turn the server on and off all from the GUI-comfort of your System Preferences control panel.

<b>02.

PROBLEM:</b>

After running the set-up wizard numerous times, the new site (both public and admin sections) would not load, instead throwing up a stark, white page with an error message that read:

"Fatal error: eZ publish did not finish its request.
The execution of eZ publish was abruptly ended, the debug output is present below."

Sadly, there was never any "debug output" below so it took me some time to figure out what the problem was. I eventually realised that it had something to do with the initialisation (that is, the first time loading) of the site.

<b>SOLUTION:</b>

If you find yourself in a similar bind, try the following...

Find a file called "php.ini" located in your PHP folder (usually found at /usr/local/php/lib/php.ini) and scroll down to the "Resource Limits" section. You will see the following information:

max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

Change the values (temporarily!) to the following:

max_execution_time = 1200 ; Maximum execution time of each script, in seconds
max_input_time = 1200 ; Maximum amount of time each script may spend parsing request data
memory_limit = 50M ; Maximum amount of memory a script may consume (50MB)

Once you've reloaded the site successfully (both public and admin sections), simply go back to the same file and change the values back. Incidentally, I believe eZ publish recommends you change the memory_limit from 8M to 12M in any case but I'll leave that one up to you. I've set mine as 15M!

<b>Hope this has been of help and good luck!

Emme

P.S. Useful links:

Entropy - Software http://www.entropy.ch/software/
Server Logistics - Complete MySQL http://www.serverlogistics.com/mysql.php</b>

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

eZ debug

Timing: Jan 19 2025 04:32:47
Script start
Timing: Jan 19 2025 04:32:47
Module start 'layout'
Timing: Jan 19 2025 04:32:47
Module start 'content'
Timing: Jan 19 2025 04:32:48
Module end 'content'
Timing: Jan 19 2025 04:32:48
Script end

Main resources:

Total runtime0.6998 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.2734152.6406
Module start 'layout' 0.00480.0036 741.914139.4766
Module start 'content' 0.00840.6895 781.3906417.6016
Module end 'content' 0.69790.0018 1,198.99228.1484
Script end 0.6997  1,207.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5313160.0002
Check MTime0.00140.2043160.0001
Mysql Total
Database connection0.00060.085810.0006
Mysqli_queries0.654593.5276460.0142
Looping result0.00040.0571440.0000
Template Total0.667395.420.3336
Template load0.00230.322220.0011
Template processing0.665095.031020.3325
Template load and register function0.00050.068610.0005
states
state_id_array0.00110.150910.0011
state_identifier_array0.00110.150420.0005
Override
Cache load0.00180.2530330.0001
Sytem overhead
Fetch class attribute can translate value0.00080.111210.0008
Fetch class attribute name0.00090.134910.0009
XML
Image XML parsing0.00010.015710.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00070.0987100.0001
String conversion0.00000.001540.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs