cannot enter the site

Author Message

Darek Zegarek

Monday 31 October 2005 7:18:31 am

I use xampp 1.4.16 (with PHP4) as a server, Suse 9.2. I succesfully finished an installation of ez 3.7.0 but I can't enter to the shop! Kernel 1 Access denied. I started my site with debug mode and it return:
Error: eZMySQLDB
Connection error: Couldn't connect to database. Please try again later or inform the system administrator.
Access denied for user 'root'@'localhost' (using password: YES)
I belive that 'root'@'localhost' is not my login to mysql because I esabilished other login.
whats goin on?

Next, I even cant get to administrative panel - kernel 50
No database connection could be made, the system might not behave properly.

in debug:
Error: eZMySQLDB
Connection error: Couldn't connect to database. Please try again later or inform the system administrator.
Access denied for user 'root'@'localhost' (using password: YES)

I read about kernel 50 error lot of literature on this forum and I've tried everything to fix it up, but without results.

please, someone help me. I would like to run my site with ez.

Ɓukasz Serwatka

Tuesday 01 November 2005 11:48:07 pm

Look in to settings/siteaccess/(your_site_name)/site.ini.append.php file in your eZ publish directory and check database settings. In your case eZ publish tried to connect to DB as user root.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Darek Zegarek

Wednesday 02 November 2005 12:15:35 pm

I checked this:

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
User=root
Password=proper_password_to_my_database
Database=ddez
Charset=
Socket=disabled

[InformationCollectionSettings]
EmailReceiver=

[SiteSettings]
SiteName=Shop
SiteURL=localhost/ez/index.php
LoginPage=embedded

[UserSettings]
RegistrationEmail=

[SiteAccessSettings]
RequireUserLogin=false
ShowHiddenNodes=false

[DesignSettings]
SiteDesign=shop
AdditionalSiteDesignList[]=base

[RegionalSettings]
Locale=pol-PL
ContentObjectLocale=pol-PL
TextTranslation=enabled

[FileSettings]
VarDir=var/shop

[ContentSettings]
TranslationList=

[MailSettings]
AdminEmail=my@mail
EmailSender=
*/ ?>

I can't see anything wrong, do you?

Darek Zegarek

Thursday 10 November 2005 12:07:20 am

Why it is trying to login as 'root'@'localhost' not as root (as it's written in the file)?

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 31 2025 06:17:07
Script start
Timing: Jan 31 2025 06:17:07
Module start 'layout'
Timing: Jan 31 2025 06:17:07
Module start 'content'
Timing: Jan 31 2025 06:17:07
Module end 'content'
Timing: Jan 31 2025 06:17:07
Script end

Main resources:

Total runtime0.0167 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.1328151.2109
Module start 'layout' 0.00610.0028 739.343836.6641
Module start 'content' 0.00880.0063 776.007894.1563
Module end 'content' 0.01510.0016 870.164133.9922
Script end 0.0167  904.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002414.5584140.0002
Check MTime0.00116.7417140.0001
Mysql Total
Database connection0.00137.600010.0013
Mysqli_queries0.002615.469430.0009
Looping result0.00000.149710.0000
Template Total0.00116.710.0011
Template load0.00095.142210.0009
Template processing0.00031.501210.0003
Override
Cache load0.00063.461410.0006
General
dbfile0.002012.150580.0003
String conversion0.00000.058540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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