Forums / Install & configuration / Solutions to installation woes!

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>

eZ debug

Timing: Jan 19 2025 01:22:07
Script start
Timing: Jan 19 2025 01:22:07
Module start 'content'
Timing: Jan 19 2025 01:22:08
Module end 'content'
Timing: Jan 19 2025 01:22:08
Script end

Main resources:

Total runtime0.7359 sec
Peak memory usage4,096.0000 KB
Database Queries183

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0110 589.0781180.8281
Module start 'content' 0.01100.5547 769.9063422.6953
Module end 'content' 0.56570.1700 1,192.6016333.7969
Script end 0.7358  1,526.3984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.6019210.0002
Check MTime0.00170.2308210.0001
Mysql Total
Database connection0.00140.191910.0014
Mysqli_queries0.652288.63161830.0036
Looping result0.00210.28231810.0000
Template Total0.700695.220.3503
Template load0.00230.315820.0012
Template processing0.698394.889020.3491
Template load and register function0.00030.036410.0003
states
state_id_array0.00140.190110.0014
state_identifier_array0.00130.182520.0007
Override
Cache load0.00190.2525330.0001
Sytem overhead
Fetch class attribute can translate value0.00220.299220.0011
Fetch class attribute name0.00110.143610.0011
XML
Image XML parsing0.00060.083920.0003
class_abstraction
Instantiating content class attribute0.00000.000810.0000
General
dbfile0.00420.5652210.0002
String conversion0.00000.001130.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 5

Time used to render debug report: 0.0003 secs