Installation Gotchas

Author Message

Terry Grossman

Saturday 26 June 2004 6:08:29 pm

Hey All,

I just managed to get my new EZPublish site up. Being a complete newbie to EZPublish meant I probably took the same wrong turns that a lot of other people do. I thought I would list my problems and their solutions in case anyone else needs this info.

I was installing using the standard installation wizard, onto a linux (apache/mysql) box which I access through FTP. My ISP does not allow telnet access, which isn't that uncommon these days.

<b>INSTALLATION</b>

The first problem resulted in the dreaded KERNEL 50 error -- Unable to establish database connection. Without a database connection you are dead in the water.

When you run the installation wizard, it checks some of the permissions, and notifies you if they need modification. For instance, I was told to "chmod -R a+rwx /settings"

Now, if I had telnet access, this would have been easy. I don't have telnet access to my site, but I wasn't worried because my FTP client lets you do a CHMOD. But it turns out that the -R is VERY important. It specifies that the chmod should act recursively on all files/folders below the specified one. And very few FTP clients will do a recursive chmod. One of the few that does is called FlashFXP.

So I was, in effect, doing "chmod a+rwx /settings" instead of "chmod -R a+rwx /settings" which shuts up the "finetune" check because the directory it checks has the correct permissions, but WILL TOTALLY SCREW UP YOUR INSTALLATION. Without the recursion, I didn't have the appropriate read/write access to the files INSIDE the directories. So the wizard completed, and I kind of had an EZPublish site I tinkered with util I could log in, but it was weird. Files weren't where I was told they would be. Things didn't behave as I expected them. It was a mess.

So I deleted the site, uploaded a fresh copy of EZPublish, and did recursive chmods.
This eliminated the KERNEL 50 problem and all the other oddities.

<b>REGISTRATION</b>

Ok, got the KERNEL 50 problem solved. Can log in as admin. Now, to create a "regular" user to test the system. Go to "Sign up" give info, and wait for the verification e-mail. And wait, and wait. Something's up because the e-mail never went out.

Digging around on the forum didn't turn up much info about this, but I did notice, while browsing the site.ini settings, that there was no return address specified for e-mails (EmailSender). I don't know why, but this was preventing sendmail from processing mail. Specifying a sender address fixed this problem, and I was now receiving the registration verification e-mail. Hooray!

<b>BAD VERIFICATION URL</b>
But the URL the user was told to click on generated a KERNEL 1 error -- ACCESS DENIED. It turns out the system was including extraneous module/directory information in the generated URL. The forum came through with a fix for this (see this topic: http://www.ez.no/community/forum/install_configuration/error_in_user_validation_url)

So one more edit to site.ini fixes this problem.

Any other GOTCHA'S I should look out for, now that the basic installation is done?

Terry G.

P.S. -- EZPUBLISH RULES!!! ;)

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 11:49:36
Script start
Timing: Jan 19 2025 11:49:36
Module start 'layout'
Timing: Jan 19 2025 11:49:36
Module start 'content'
Timing: Jan 19 2025 11:49:37
Module end 'content'
Timing: Jan 19 2025 11:49:37
Script end

Main resources:

Total runtime1.0691 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.0067 589.1641152.6250
Module start 'layout' 0.00670.0027 741.789139.4453
Module start 'content' 0.00951.0581 781.2344415.1953
Module end 'content' 1.06760.0015 1,196.42978.1719
Script end 1.0691  1,204.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3117160.0002
Check MTime0.00140.1299160.0001
Mysql Total
Database connection0.00160.150510.0016
Mysqli_queries1.021895.5748460.0222
Looping result0.00050.0446440.0000
Template Total1.035196.820.5176
Template load0.00220.209120.0011
Template processing1.032996.610220.5164
Template load and register function0.00020.019910.0002
states
state_id_array0.00080.071610.0008
state_identifier_array0.00140.127720.0007
Override
Cache load0.00180.1664220.0001
Sytem overhead
Fetch class attribute can translate value0.00050.049410.0005
Fetch class attribute name0.00070.062810.0007
XML
Image XML parsing0.00020.021810.0002
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00060.0574100.0001
String conversion0.00000.000440.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs