Monday 06 September 2010 11:17:45 am - 3 replies

Introduction

Two weeks after the first beta of eZ Publish Fuji (4.4), the last development version is now available for you : BETA 2.

» Read full blog post

Author Message

Eirik Alfstad Johansen

Tuesday 07 September 2010 1:41:08 am

I get the errror message "An unexpected error has occurred. Please contact the webmaster." after having unpacked the distro and trying to run it on my localhost. The error log says:

[ Sep 07 2010 10:38:22 ] Unexpected error, the message was : Unable to 
connect to the database server 'localhost' in 
/Applications/MAMP/htdocs/ezpublish-4.4.0-beta2-with_ezc-gpl/lib/ezdb/classes/ezmysqldb.php
 on line 164

Any idea what this is?

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

André R.

Tuesday 07 September 2010 5:59:44 am

Hi Eirik!

In the middle of fixing it, but basically as a workaround you'll need to setup connection parameters to db in settings/site.ini.
Table is not needed, but you'll get a notice during setup if it is wrong.

[Update] Alternative: While we wait for new packages, overwrite index.php and kernel/classes/datatypes/ezuser/ezuserloginhandler.php from git master:

http://github.com/ezsystems/ezpublish/raw/master/index.php
http://github.com/ezsystems/ezpublish/raw/master/kernel/classes/datatypes/ezuser/ezuserloginhandler.php

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Christoph von Siebenthal

Thursday 09 September 2010 11:45:28 pm

Thank you André

I like the usefull answer. Not the bug. lol

You must be logged in to post messages in this topic!

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 02:07:09
Script start
Timing: Jan 18 2025 02:07:09
Module start 'layout'
Timing: Jan 18 2025 02:07:09
Module start 'content'
Timing: Jan 18 2025 02:07:09
Module end 'content'
Timing: Jan 18 2025 02:07:09
Script end

Main resources:

Total runtime0.0198 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.0067 589.0313152.6250
Module start 'layout' 0.00670.0043 741.656339.4453
Module start 'content' 0.01100.0062 781.101697.9063
Module end 'content' 0.01720.0025 879.007834.3047
Script end 0.0197  913.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002613.2629140.0002
Check MTime0.00115.7296140.0001
Mysql Total
Database connection0.00136.785810.0013
Mysqli_queries0.003316.681130.0011
Looping result0.00000.141110.0000
Template Total0.002010.110.0020
Template load0.00115.420910.0011
Template processing0.00094.613110.0009
Override
Cache load0.00073.424210.0007
General
dbfile0.00042.038980.0001
String conversion0.00000.055540.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