Forums / Install & configuration / Installation Gotchas

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!!! ;)

eZ debug

Timing: Jan 19 2025 09:49:02
Script start
Timing: Jan 19 2025 09:49:02
Module start 'content'
Timing: Jan 19 2025 09:49:02
Module end 'content'
Timing: Jan 19 2025 09:49:02
Script end

Main resources:

Total runtime0.1700 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.9531180.8359
Module start 'content' 0.00720.0057 769.789193.7734
Module end 'content' 0.01300.1570 863.5625529.2813
Script end 0.1699  1,392.8438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00331.9550200.0002
Check MTime0.00130.7851200.0001
Mysql Total
Database connection0.00070.391710.0007
Mysqli_queries0.121471.42611410.0009
Looping result0.00150.86691390.0000
Template Total0.156692.110.1566
Template load0.00080.482910.0008
Template processing0.155891.631910.1558
Override
Cache load0.00060.331810.0006
Sytem overhead
Fetch class attribute can translate value0.00080.477610.0008
XML
Image XML parsing0.00020.118810.0002
General
dbfile0.00402.3526200.0002
String conversion0.00000.006630.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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs