Forums / Install & configuration / Problem with eZ-Teamroom

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