Installation - Wizard doesn't try to connect to MySQL?

Installation - Wizard doesn't try to connect to MySQL?

Sunday 06 June 2004 9:38:13 am - 3 replies

Author Message

Darre Nickerson

Sunday 06 June 2004 9:04:51 pm

**UPDATE**

I don't know why the following works, but after a day of messing around (I really wanted to see 3.4 in action!) I stumbled on something.

If I copy all the files into place, then edit config/site.ini and set:

ConnectRetries=3
Socket=/var/lib/mysql/mysql.sock

Then I can actually get through the setup wizard. Note that neither of these on their own fix the problem ... they must both be there.

The next problem was that I was getting consistent segmentation faults of apache children on either the last step (before Finished!!) or after the setup was done when I tried to load the user or admin sites. It seemed it was running out of both RAM and time. I changed the following in php.ini:

max_execution_time = 30
memory_limit = 15M

to

max_execution_time = 300
memory_limit = 30M

and that seems to have allowed things to complete installing, and get setup to run for the first time.

Now onto my next problem ... I installed the 'shop' sample, and when I register a user and try to purchase anything, that user does not have access to their shopping cart.

*ugh*

Next problem ... when viewing a product and selecting "Download this product sheet as PDF" I get:

Fatal error: Call to undefined function: ob_clean()
in /usr/var/www/vhosts/wwwtest.ifax.com/ezpublish-3.4.0/kernel/content/pdf.php
on line 245
Fatal error: eZ publish did not finish it's request

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

(only there's no debug below)

Perhaps people with my level of eZ 'fu' (ie: just enough to be dangerous) should wait for future releases?

-Darren

Kåre Køhler Høvik

Monday 07 June 2004 12:00:49 am

Hi

Which version of PHP/apache/mysql are you running ?

MySQL : Are you connecting to local host or remote host ?

ob_clean error : This function was adde in PHP4.2.0 . We do not recommend running eZ publish on < PHP4.3.2, due to session bugs and other problems.

--
Kåre Høvik

Kåre Høvik

Darre Nickerson

Monday 07 June 2004 6:28:50 am

> Which version of PHP/apache/mysql are you running ?

php-4.1.2
MySQL-4.0.14
apache-1.3.22

> MySQL : Are you connecting to local host or remote host ?

localhost

> ob_clean error : This function was adde in PHP4.2.0 . We do not recommend
> running eZ publish on < PHP4.3.2, due to session bugs and other problems.

Okay, thanks, I'll have to work on upgrading PHP, clearly.

What about the shopping cart?

-Darren

You must be logged in to post messages in this topic!

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