I am testing the install of TimeTrex, but I get problems at step 5. I have just accepted the path settings, and then I get a 500 error.
This results in a TimeTrex system that does not have an admin user... can anyone help me?
No admin user created
Please see this FAQ entry:
http://forums.timetrex.com/viewtopic.php?t=89
http://forums.timetrex.com/viewtopic.php?t=89
Please follow the instructions in this FAQ entry:
http://forums.timetrex.com/viewtopic.php?t=89
Without that information there isn't much we can do to help you.
Also please check your Apache/PHP error logs, and ensure that display_errors and log_errors is enabled in your PHP.ini file.
A SQL script to manually insert the admin user would just shoot yourself in the foot, there is obviously a major problem happening which will need to be fixed one way or another.
http://forums.timetrex.com/viewtopic.php?t=89
Without that information there isn't much we can do to help you.
Also please check your Apache/PHP error logs, and ensure that display_errors and log_errors is enabled in your PHP.ini file.
A SQL script to manually insert the admin user would just shoot yourself in the foot, there is obviously a major problem happening which will need to be fixed one way or another.
Installing Standard 2.0.2
Everything has been anbled. logging, installer cache...
timetrex.ini.php has been modified to point to the right database with right credentials. The database has been created, but no tables. This the installer does.
Following is the 4 installer screens:
Finished off with an exeption:
======================================================================
EXCEPTION!
======================================================================
Error message: Invalid Data, not saving.
Error code: 0
Script Name: /usr/home/gameplan/public_html/orange2/classes/modules/core/Factory.class.php
Line Number: 765
======================================================================
EXCEPTION!
======================================================================
Debug Buffer
============================================================================
Memory Usage: 4697352
----------------------------------------------------------------------------
DEBUG [205]: [Function](): URI: /interface/install/SystemSettings.php?data%5Bbase_url%5D=%2Finterface&data%5Blog_dir%5D=%2Fusr%2Fhome%2Fgameplan%2Ftimetrex%2Flog&data%5Bstorage_dir%5D=%2Fusr%2Fhome%2Fgameplan%2Ftimetrex%2Fstorage&data%5Bcache_dir%5D=%2Fusr%2Fhome%2Fgameplan%2Ftimetrex%2Fcache&data%5Bupdate_notify%5D=1&action%3Anext=Next
DEBUG [207]: [Function](): Production: 1
DEBUG [53]: [Function](): Bypassing Authentication
DEBUG [348]: TTi18n::chooseBestLocale(): Choosing Best Locale...
DEBUG [401]: TTi18n::chooseBestLocale(): cSetting Locale: da
DEBUG [270]: TTi18n::setLocale(): Attempting to set Locale to: da Category: 0 Current Locale:
DEBUG [273]: TTi18n::setLocale(): Attempting to set Locale to: da
DEBUG [275]: TTi18n::setLocale(): Failed setting i18n locale: da
DEBUG [287]: TTi18n::setLocale(): Setting translator normalized locale to: da_DK
DEBUG [305]: TTi18n::setLocale(): Set Locale To: da
DEBUG [410]: TTi18n::chooseBestLocale(): Using Locale: da
DEBUG [90]: Install::isInstallMode(): Install Mode is ON
DEBUG [59]: [Function](): Next
DEBUG [231]: Install::writeConfigFile(): Modified Config File!
DEBUG [145]: Validator::isLength(): Value: update_notify Length: 13 Min: 1 Max: 250
DEBUG [38] Array: SystemSettingFactory::isUniqueName(): Unique Name: update_notify
DEBUG [145]: Validator::isLength(): Value: 1 Length: 1 Min: 1 Max: 250
DEBUG [711]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [757]: Factory::Save(): Calling preSave()
DEBUG [787]: Factory::Save(): Insert ID: 6
DEBUG [693]: Factory::getInsertQuery(): Insert
DEBUG [106]: Validator::isNumeric(): Value:6
DEBUG [94]: Validator::inArrayKey(): Key: 10
DEBUG [145]: Validator::isLength(): Value: system_setting Length: 14 Min: 2 Max: 250
DEBUG [145]: Validator::isLength(): Value: System Setting - Name: update_notify Value: 1 Length: 45 Min: 2 Max: 2000
DEBUG [711]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [757]: Factory::Save(): Calling preSave()
DEBUG [257]: Validator::isDate(): Raw Date: 1185798329 Converted Value: 1185798329
DEBUG [787]: Factory::Save(): Insert ID: 41
DEBUG [693]: Factory::getInsertQuery(): Insert
DEBUG [721]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 2
DEBUG [838]: Factory::Save(): Calling postSave()
DEBUG [65]: Factory::removeCache(): Attempting to remove cache: all
DEBUG [68]: Factory::removeCache(): Removing cache: all
DEBUG [721]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [145]: Validator::isLength(): Value: anonymous_update_notify Length: 23 Min: 1 Max: 250
DEBUG [38] Array: SystemSettingFactory::isUniqueName(): Unique Name: anonymous_update_notify
DEBUG [145]: Validator::isLength(): Value: 0 Length: 1 Min: 1 Max: 250
DEBUG [711]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [757]: Factory::Save(): Calling preSave()
DEBUG [787]: Factory::Save(): Insert ID: 7
DEBUG [693]: Factory::getInsertQuery(): Insert
DEBUG [106]: Validator::isNumeric(): Value:7
DEBUG [94]: Validator::inArrayKey(): Key: 10
DEBUG [145]: Validator::isLength(): Value: system_setting Length: 14 Min: 2 Max: 250
DEBUG [145]: Validator::isLength(): Value: System Setting - Name: anonymous_update_notify Value: 0 Length: 55 Min: 2 Max: 2000
DEBUG [711]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [757]: Factory::Save(): Calling preSave()
DEBUG [257]: Validator::isDate(): Raw Date: 1185798329 Converted Value: 1185798329
DEBUG [787]: Factory::Save(): Insert ID: 42
DEBUG [693]: Factory::getInsertQuery(): Insert
DEBUG [721]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 2
DEBUG [838]: Factory::Save(): Calling postSave()
DEBUG [65]: Factory::removeCache(): Attempting to remove cache: all
DEBUG [68]: Factory::removeCache(): Removing cache: all
DEBUG [721]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [149]: TimeTrexSoapClient::saveRegistrationKey(): Registration Key from server: SoapFault exception: [HTTP] Could not connect to host in /usr/home/gameplan/public_html/orange2/classes/modules/soap/TimeTrexSoapClient.class.php:139 Stack trace: #0 [internal function]: SoapClient->__doRequest('__call('generateRegistr...', Array) #2 /usr/home/gameplan/public_html/orange2/classes/modules/soap/TimeTrexSoapClient.class.php(139): SoapClient->generateRegistrationKey() #3 /usr/home/gameplan/public_html/orange2/classes/modules/soap/TimeTrexSoapClient.class.php(147): TimeTrexSoapClient->getRegistrationKey() #4 /usr/home/gameplan/public_html/orange2/interface/install/SystemSettings.php(109): TimeTrexSoapClient->saveRegistrationKey() #5 {main} Length: 766 Min: 1 Max: 250
DEBUG [406]: Validator::Error(): Validation Error: Label: value Msg: Value is too short or too long
DEBUG [711]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [757]: Factory::Save(): Calling preSave()
DEBUG [385] Array: Validator::isValid(): Errors
Array
(
[value] => Array
(
[0] => Value is too short or too long
)
)
============================================================================
HH
Everything has been anbled. logging, installer cache...
timetrex.ini.php has been modified to point to the right database with right credentials. The database has been created, but no tables. This the installer does.
Following is the 4 installer screens:
Finished off with an exeption:
======================================================================
EXCEPTION!
======================================================================
Error message: Invalid Data, not saving.
Error code: 0
Script Name: /usr/home/gameplan/public_html/orange2/classes/modules/core/Factory.class.php
Line Number: 765
======================================================================
EXCEPTION!
======================================================================
Debug Buffer
============================================================================
Memory Usage: 4697352
----------------------------------------------------------------------------
DEBUG [205]: [Function](): URI: /interface/install/SystemSettings.php?data%5Bbase_url%5D=%2Finterface&data%5Blog_dir%5D=%2Fusr%2Fhome%2Fgameplan%2Ftimetrex%2Flog&data%5Bstorage_dir%5D=%2Fusr%2Fhome%2Fgameplan%2Ftimetrex%2Fstorage&data%5Bcache_dir%5D=%2Fusr%2Fhome%2Fgameplan%2Ftimetrex%2Fcache&data%5Bupdate_notify%5D=1&action%3Anext=Next
DEBUG [207]: [Function](): Production: 1
DEBUG [53]: [Function](): Bypassing Authentication
DEBUG [348]: TTi18n::chooseBestLocale(): Choosing Best Locale...
DEBUG [401]: TTi18n::chooseBestLocale(): cSetting Locale: da
DEBUG [270]: TTi18n::setLocale(): Attempting to set Locale to: da Category: 0 Current Locale:
DEBUG [273]: TTi18n::setLocale(): Attempting to set Locale to: da
DEBUG [275]: TTi18n::setLocale(): Failed setting i18n locale: da
DEBUG [287]: TTi18n::setLocale(): Setting translator normalized locale to: da_DK
DEBUG [305]: TTi18n::setLocale(): Set Locale To: da
DEBUG [410]: TTi18n::chooseBestLocale(): Using Locale: da
DEBUG [90]: Install::isInstallMode(): Install Mode is ON
DEBUG [59]: [Function](): Next
DEBUG [231]: Install::writeConfigFile(): Modified Config File!
DEBUG [145]: Validator::isLength(): Value: update_notify Length: 13 Min: 1 Max: 250
DEBUG [38] Array: SystemSettingFactory::isUniqueName(): Unique Name: update_notify
DEBUG [145]: Validator::isLength(): Value: 1 Length: 1 Min: 1 Max: 250
DEBUG [711]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [757]: Factory::Save(): Calling preSave()
DEBUG [787]: Factory::Save(): Insert ID: 6
DEBUG [693]: Factory::getInsertQuery(): Insert
DEBUG [106]: Validator::isNumeric(): Value:6
DEBUG [94]: Validator::inArrayKey(): Key: 10
DEBUG [145]: Validator::isLength(): Value: system_setting Length: 14 Min: 2 Max: 250
DEBUG [145]: Validator::isLength(): Value: System Setting - Name: update_notify Value: 1 Length: 45 Min: 2 Max: 2000
DEBUG [711]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [757]: Factory::Save(): Calling preSave()
DEBUG [257]: Validator::isDate(): Raw Date: 1185798329 Converted Value: 1185798329
DEBUG [787]: Factory::Save(): Insert ID: 41
DEBUG [693]: Factory::getInsertQuery(): Insert
DEBUG [721]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 2
DEBUG [838]: Factory::Save(): Calling postSave()
DEBUG [65]: Factory::removeCache(): Attempting to remove cache: all
DEBUG [68]: Factory::removeCache(): Removing cache: all
DEBUG [721]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [145]: Validator::isLength(): Value: anonymous_update_notify Length: 23 Min: 1 Max: 250
DEBUG [38] Array: SystemSettingFactory::isUniqueName(): Unique Name: anonymous_update_notify
DEBUG [145]: Validator::isLength(): Value: 0 Length: 1 Min: 1 Max: 250
DEBUG [711]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [757]: Factory::Save(): Calling preSave()
DEBUG [787]: Factory::Save(): Insert ID: 7
DEBUG [693]: Factory::getInsertQuery(): Insert
DEBUG [106]: Validator::isNumeric(): Value:7
DEBUG [94]: Validator::inArrayKey(): Key: 10
DEBUG [145]: Validator::isLength(): Value: system_setting Length: 14 Min: 2 Max: 250
DEBUG [145]: Validator::isLength(): Value: System Setting - Name: anonymous_update_notify Value: 0 Length: 55 Min: 2 Max: 2000
DEBUG [711]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [757]: Factory::Save(): Calling preSave()
DEBUG [257]: Validator::isDate(): Raw Date: 1185798329 Converted Value: 1185798329
DEBUG [787]: Factory::Save(): Insert ID: 42
DEBUG [693]: Factory::getInsertQuery(): Insert
DEBUG [721]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 2
DEBUG [838]: Factory::Save(): Calling postSave()
DEBUG [65]: Factory::removeCache(): Attempting to remove cache: all
DEBUG [68]: Factory::removeCache(): Removing cache: all
DEBUG [721]: Factory::CommitTransaction(): CommitTransaction(): Transaction Count: 1 Trans Off: 1
DEBUG [149]: TimeTrexSoapClient::saveRegistrationKey(): Registration Key from server: SoapFault exception: [HTTP] Could not connect to host in /usr/home/gameplan/public_html/orange2/classes/modules/soap/TimeTrexSoapClient.class.php:139 Stack trace: #0 [internal function]: SoapClient->__doRequest('__call('generateRegistr...', Array) #2 /usr/home/gameplan/public_html/orange2/classes/modules/soap/TimeTrexSoapClient.class.php(139): SoapClient->generateRegistrationKey() #3 /usr/home/gameplan/public_html/orange2/classes/modules/soap/TimeTrexSoapClient.class.php(147): TimeTrexSoapClient->getRegistrationKey() #4 /usr/home/gameplan/public_html/orange2/interface/install/SystemSettings.php(109): TimeTrexSoapClient->saveRegistrationKey() #5 {main} Length: 766 Min: 1 Max: 250
DEBUG [406]: Validator::Error(): Validation Error: Label: value Msg: Value is too short or too long
DEBUG [711]: Factory::StartTransaction(): StartTransaction(): Transaction Count: 0 Trans Off: 0
DEBUG [757]: Factory::Save(): Calling preSave()
DEBUG [385] Array: Validator::isValid(): Errors
Array
(
[value] => Array
(
[0] => Value is too short or too long
)
)
============================================================================
HH