Forums / Install & configuration / Installation 3.4.4. nightmare

Installation 3.4.4. nightmare

Author Message

Jacques Soudan

Sunday 28 November 2004 6:57:06 am

I used the Windows installer (3.4.4.) which does its job until it starts 'processing' .php pages: it takes ages (well, seconds if not minutes) to go through the installation pages. (the finetune option doesn't work, time out).
Trying to log in, Apache crashes (fatal error), but it keeps running as well (magic, I know, but I'm no wizard here).

Then, all the next pages time out as well: I adjusted php.ini settings: no luck either....

On the forum I read 'compiling templates' might speed up things. The page (http://www.ez.no/ez_publish/documentation/development/scripting/supplied_scripts/template_compiler) mentions several options, but I don't even know how to execute those command lines :-(

I'm using Win98se, PII 233, enough HDD, 512mb RAM.

Can anyone help me out? I've been searching now quite a while and this seems to go from riddle to riddle: the manuals assume some basic knowledge that I clearly lack...

Thanks in advance,

acques

Marco Zinn

Sunday 28 November 2004 8:32:57 am

Hi,
to be straigh-forward: I think, your CPU is too weak.

But maybe, with some patience, you can get it working. Note, that "template compiling" (which is enabled per default in 3.4.4) speeds up things, yes.
BUT this also requires, that all templates are compiled at least once. On a 900Mhz system, this takes 30-60 seconds, so i assume, that it may take minutes on your system.

What do you mean by "it starts processing PHP pages"? Are you able to finish the install wizard (it is finished, when it shows a page with two links: user and admin site)?
At this point, the templates for the website are not yet compiled. I suggest, that you try to access the admin page first. Do you see the login mask? Are you able to log in the admin interface?

BTW, the page, that you mention, gives some sample commands on a linux/unix system. On windows, you should be able to run the eztc.php script by calling something like "PHP bin/php/eztc.php ...." from your ezPublish installation direction (usually referred to as "ezroot").

Feel free to ask more, but you should try to use some better CPU, if you can.
Quote from http://ez.no/ez_publish/documentation/general_information/what_is_ez_publish/ez_publish_requirements:
"We do recommend some minimum values; at least 500 MHz CPU and 250 MB of RAM."

Marco
http://www.hyperroad-design.com

Jacques Soudan

Sunday 28 November 2004 8:52:12 am

Thanks Marco,

Yes, I'm able to access the login page, but trying to log in as admin the thing times out (probably because of compiling the templates).

I'm aware of my hardware (PC\CPU, that is): perhaps I should set my php.ini:
max_execution_time=90 to 500 or so (only to allow it to compile these pages for the first time)?

Will do so and let you know.

Regards,

Jacques

Jacques Soudan

Sunday 28 November 2004 9:02:10 am

Ok, I adjusted my php.ini, and now it looks like this:

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time=500
max_input_time=60 ; Maximum amount of time each script may spend parsing request data
memory_limit=8M

And yet it bombs out (after, as displayed, 30(!) seconds):

Fatal error: Maximum execution time of 30 seconds exceeded in c:\ezpublish\ezpublish\var\shop\cache\template\compiled\best_seller-f3aea0af4de6ada77625b61bf7564074.php on line 5

Fatal error: Maximum execution time of 30 seconds exceeded in c:\ezpublish\ezpublish\lib\ezutils\classes\ezexecution.php on line 158

Fatal error: Maximum execution time of 30 seconds exceeded in c:\ezpublish\ezpublish\lib\ezutils\classes\ezsession.php on line 77

Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

I thought I said 500 seconds in php.ini? Is there another file I have to adjust?
And I didn't change the session module ini while it was active, I adjusted it before starting eZ.

Jacques

Jacques Soudan

Sunday 28 November 2004 10:31:40 am

Ok, after my machine crashed (after starting Apache a zillion times during the day), I tried to run eZ, et voila, it opens smoothly!
The testsite I created on set up (a shop) is displayed and logging in as admin works as well. However, the setup-tab is nowhere to be seen.... So, having a site, I can't update it, while it says the admin is logged in (top right corner).
Will be the next task: find the setup tab, will make editing much easier.

Thanks for your time.

Jacques

Marco Zinn

Monday 29 November 2004 12:32:37 pm

Hi again,
on the timeout: As you see, there is still some 30 second timeout. I think, this is hardcoded somewhere in the PHP code... i saw this issue in the forums before. Maybe look for "session timeout" or so in these forums.

For the "setup" tab. This is in your admin siteaccess (usually coloured very "blue"ish ). When the setup wizard gave you two links: the user and the admin site. You were requested to enter the names of those 2 siteacesses during the setup wizard.
Ie, if you entered "my_shop" and "shop_admin" or so, and your shop's url is something like "http://localhost/index.php/my_shop", then the admin site is at "http://localhost/index.php/shop_admin". Hope that helps.

NOTE: When you start to change design ("templates"), you probably need to "clear all caches" quite a lot. And this will require the templates to be compiled again. So, you'll need some more patience, i fear.

Marco
http://www.hyperroad-design.com

Jacques Soudan

Tuesday 30 November 2004 11:43:30 am

Hi Marco,

That's it! It works: it was the url-thing you mentioned (adding 'admin': http://localhost/index.php/shop_admin/): I get the blue-ish interface, although it times out again: will restart my pc later (as I'm online, on dial up) and try to log in.

Thanks!

Regards from sunny South Africa,

Jacques