Problem with eZ-Teamroom

Author Message

James Debah

Thursday 31 March 2011 5:15:48 am

Hello, i have an error when i want to install eZ-Teamroom

when i finish the eZ Teamroom installation, i simply run this command in my eZ publish root directory:

php extension/ezxmlinstaller/bin/php/xmlinstaller.php --template=teamroom/installezteamroom --siteaccess=<SITEACCESS_NAME>

i have this error :

Warning: strtotime(): It is not safe to rely on the system's timezone settings.
You are *required* to use the date.timezone setting or the date_default_timezone
_set() function. In case you used any of those methods and you are still getting
this warning, you most likely misspelled the timezone identifier. We selected '
Europe/Paris' for '2.0/DST' instead in C:\Program Files\EasyPHP-5.3.3\www\eZ\lib
\ezutils\classes\ezini.php on line 463
Error initializing script: database error: .

Dirk Schmedding

Thursday 31 March 2011 8:45:38 am

Hey James,

first you should fix the warning by setting the timezone in the php.ini file.

If the error is only dot this is not very helpful.

But check if the database settings are made in settings/override/site.ini.append.ini.php. This is mandantory for ezteamroom.

Hopefully this will fix your problem.

Greets
Dirk

James Debah

Thursday 31 March 2011 8:58:06 am

Hello Dirk.

For the warning i have this line in my PHP.ini

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/Paris

But i don't understand why i have this warning

For the second i add this line in my settings/override/site.ini.append.ini.php.

[DatabaseSettings]
DatabaseImplementation=ezmysql
Server=localhost
Port=3306
User=root
Password=
Database=projet_ezpublish
Charset=
Socket=disabled

but i have the same error:

Error initializing script: database error: .

In the logfile:

instance Database implementation not supported: ezmysql

Dirk Schmedding

Thursday 31 March 2011 2:09:29 pm

Hey James,

are you sure, that your eZ installation is running correctly? This error comes along when you have the settings DatabaseImplementation not set correctly or the file /lib/ezdb/classes/ezmysql.php could not be read. You should investigate it.

First try to call the home page of your installation.

Then check if the settings are set correctly (You have windows. so check all whitespaces, they might cause problames)

Check the permissions of the lib directory and its content.

Maybe this will help.

Dirk

James Debah

Friday 01 April 2011 1:20:44 am

Hi Dirk, yes my installation running correctly, First i install Ez Publish (Fuji) and i run the demo, my database is correctly.

When i want to install Ez TeamRomm i have an error:

[ Apr 01 2011 10:19:44 ] [] eZMySQLDB:
MySQL extension was not found, the DB handler will not be initialized.

Dirk Schmedding

Monday 04 April 2011 4:44:56 am

Hey James,

this is courious.

One more try: You are using Windows. So maybe the PHP cli is without MySQL support? Or different in other ways than the Apache version?

Good luck!

Dirk

James Debah

Monday 04 April 2011 5:35:18 am

Hey Dirk, problem resolve.

My problem is with PHP, when i type in a DOS windows : php --info i have this:

"

C:\Program Files\EasyPHP-5.3.3\www\eZ>php --ini
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: (none)
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)

"

for resolve this pb i have copy my php.ini into C:\WINDOWS and when i type php --info i have this:

"

C:\Program Files\EasyPHP-5.3.3\www\eZ>php --ini
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: C:\WINDOWS\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)

"

and the install run correctly

Dirk Schmedding

Monday 04 April 2011 5:50:52 am

Ok, then a lot of fun with the teamroom!

James Debah

Monday 04 April 2011 6:02:43 am

Thx for yur help Dirk

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

Main resources:

Total runtime1.0504 sec
Peak memory usage4,096.0000 KB
Database Queries75

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 589.0547152.6250
Module start 'layout' 0.00660.0033 741.679739.4531
Module start 'content' 0.00991.0389 781.1328585.3594
Module end 'content' 1.04890.0014 1,366.492220.1641
Script end 1.0503  1,386.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2873160.0002
Check MTime0.00130.1278160.0001
Mysql Total
Database connection0.00140.132410.0014
Mysqli_queries0.965991.9582750.0129
Looping result0.00090.0823730.0000
Template Total1.011596.320.5057
Template load0.00200.193220.0010
Template processing1.009496.106020.5047
Template load and register function0.00020.021410.0002
states
state_id_array0.00190.176910.0019
state_identifier_array0.00420.399120.0021
Override
Cache load0.00190.1785920.0000
Sytem overhead
Fetch class attribute can translate value0.00060.057920.0003
Fetch class attribute name0.00120.1112100.0001
XML
Image XML parsing0.00220.212020.0011
class_abstraction
Instantiating content class attribute0.00000.0026130.0000
General
dbfile0.00220.2140160.0001
String conversion0.00000.000840.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
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
21content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/emphasize.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/emphasize.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 48
 Number of unique templates used: 8

Time used to render debug report: 0.0001 secs