install problems

Author Message

Paul McCann

Monday 15 September 2003 4:27:57 pm

After giving up on 3.1 because no one could help me sort out the problem I went to 3.2 beta, it all installed fine. But when I went to view the user side it gave me the admin login, and the same when i went to view the admin side.

It also produced the following error
kernel (50)
No database connection could be made, the system might not behave properly.

and then when i log in it brings up page cannot be found.

I am getting really stressed with this and would like someone to help me.

Paul McCann

Monday 15 September 2003 4:49:12 pm

I fixed the database problems, for some reason it had not written the database settings to the site.ini file.

This must be a serious problem and im suprised the crew are not taking more notice. Both this install and my past install had errors which seem related in both 3.1 and 3.2 when i try to install them on two different servers. I am not the only one who will be wanting to install them on a hosting account.

When I log in i get URL not found page which is annoying and really stressing me out, I do not need this after major surgery and the probability it hasnt worked. Im doing this to take my mind off things and relax argghhhh

Paul McCann

Tuesday 16 September 2003 9:24:32 am

Sorry about my last post i was a bit er stressed :)

Hmm thats strange, I visited my set up again today and after loggin in it worked!!!

My next question though is how to I view what the browser sees? or change it so that the browser can see the page if i goto
http://www.sankesolutions.co.uk/lifeboat/index.php
then I get teh admin interface if i append index.php with
Admin i get the admin interface and if i use user i also get the admin interface.
I want it to goto the browser/users side of the site when i type in index.php where should i look and what for?

Paul Borgermans

Tuesday 16 September 2003 9:42:16 am

Another siteaccess URI based solution. Only the order is a bit wrong:

use http://mysite/index.php/admin and http://mysite/index.php/user with uri based siteaccess

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Paul McCann

Tuesday 16 September 2003 1:09:14 pm

Sorry Paul I dont understand.

I tried http://sankesolutions/lifeboat/index.php/user and all i get is page cannot be found.

If i use www.sankesolutions.co.uk/lifeboat/index.php
it goes directly to admin login. Once logged in i am presented with
http://www.sankesolutions.co.uk/lifeboat/index.php/news/
and the admin interface.
If i change news to user I get the ezpublish plain design but its like a mix between admin as my root folder is still showing.

Any ideas?

Paul McCann

Wednesday 17 September 2003 10:09:05 am

I followed the installer and it set everything up ok, or at least thats what it told me :)

I then noticed it had not written any details to the site.ini file, so i had to manually add all my database detaiils.

It works and i can log into admin fine, but I want to be able to see the site from a browsers point of view but i get errors etc.

Im sure if someone just had a look they could see what was wrong straight away.

I have installed it on another clean server so there is nothing there to get in the way.
If you goto www.lifeboatstation.com the admin log in will come up, then just append with either user or demo to see the problems I am having.

If someone can just have a quick peek it might be clear to you whats wrong.

Paul Borgermans

Wednesday 17 September 2003 11:22:23 am

Just had a peek. You appear to have some missing data in your database to let the "demo" work. The user site is OK (it doesn't do much) and the admin too.

So take a look at the docs on how to create siteaccess and sitedesigns. You need to put your config details NOT in the settings/site.ini but in settings/override/site.ini.append.php and settings/<your new siteaccess>

Also your templates are not there (only the admin by default), because you did not define the right design directives in the settings/<your new siteaccess> (they are missing altogether).

But first change your admin password!

hth a bit

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Paul McCann

Wednesday 17 September 2003 2:29:37 pm

Hmm, Paul dont you think that is a bit strange?

I used the installer or whatever it is called and chose the news template, it then told me it halled installed everything and gave me the link.

Im new to this and didnt want to do it manually thats why I used the installer. I just checked the database and there is 82 tables in there so they were installed ok.

This is very strange.

John Lein

Friday 19 September 2003 2:00:14 pm

I'm getting the same "kernel (50)
No database connection could be made, the system might not behave properly. "

I can't even log in! How do you change the site.ini file, or is there another fix?

thanks,

John

Paul McCann

Friday 19 September 2003 6:10:04 pm

If you FTP to your install then settings/site.ini
You will find the following near the top of the file

[DatabaseSettings]
DatabasePluginPath=
# Use either ezmysql or ezpostgresql
DatabaseImplementation=ezmysql
Server=localhost
User=root
Password=
Database=nextgen

This is the standard I, then change it so that the user equals your database username, password is your password for your database,and database is the name of the database you want to use.
User=database username
Password=database password
Database=database name

Then CTRL refresh you admin log in and it should be ok.

HTH :)

Volker Hett

Saturday 20 September 2003 5:59:34 am

The webbased setup seams to run as long as I don't choose any other languages as the default.
I configured a new, ok - old :-), server with a fresh SuSE 8.2pro install. Apache 1.3.27, mysql 3.23.55, php 4.3.3 are running fine.
After several tries to adapt site.ini to my MySQL settings I configured MySQL according to the original site.ini, I.E. user root without a password on localhost.
Apache is configured to run a virtual host as in the example, except for the hostname which is name based.

After the setup I'm presented with links to the user and admin site, the first time I click on one I get to the login screen.
When I try to log in, the conection is terminated and won't come back. Even access to the default DocumentRoot via http://ipnumber or http://realhostname is impossible.

There is nothing in the apache logs except a missing debug.css

Any hints?

Bill West

Saturday 20 September 2003 8:00:26 am

Hello! I just unpacked the ezpublish-3[1].2-1, but I only have 3 folders and a single file access.php. I can't find index anywhere in the tree? Any ideas? Thanks,
Bill

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 18 2025 19:31:52
Script start
Timing: Jan 18 2025 19:31:52
Module start 'layout'
Timing: Jan 18 2025 19:31:52
Module start 'content'
Timing: Jan 18 2025 19:31:53
Module end 'content'
Timing: Jan 18 2025 19:31:53
Script end

Main resources:

Total runtime0.7239 sec
Peak memory usage4,096.0000 KB
Database Queries90

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0046 589.0469152.6250
Module start 'layout' 0.00460.0030 741.671939.4453
Module start 'content' 0.00760.7149 781.1172748.8750
Module end 'content' 0.72250.0013 1,529.992224.1719
Script end 0.7238  1,554.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4451160.0002
Check MTime0.00130.1761160.0001
Mysql Total
Database connection0.00060.080710.0006
Mysqli_queries0.637288.0327900.0071
Looping result0.00080.1162880.0000
Template Total0.696196.220.3480
Template load0.00220.299620.0011
Template processing0.693995.859120.3469
Template load and register function0.00020.031810.0002
states
state_id_array0.00120.168310.0012
state_identifier_array0.00080.107520.0004
Override
Cache load0.00210.2849910.0000
Sytem overhead
Fetch class attribute can translate value0.00090.118450.0002
Fetch class attribute name0.00170.2315130.0001
XML
Image XML parsing0.00360.499450.0007
class_abstraction
Instantiating content class attribute0.00000.0032140.0000
General
dbfile0.00070.1008170.0000
String conversion0.00000.001040.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
12content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
19content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
11content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 46
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs