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.