No admin user created

Ask your questions regarding TimeTrex installation here.
Locked
hhgm
Posts: 6
Joined: Thu Jul 26, 2007 10:05 am

No admin user created

Post by hhgm »

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?
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

hhgm
Posts: 6
Joined: Thu Jul 26, 2007 10:05 am

Data

Post by hhgm »

I have zipped all relevant files into this:

http://www.gameplan.dk/timetrex.zip
hhgm
Posts: 6
Joined: Thu Jul 26, 2007 10:05 am

Post by hhgm »

What would help me a lot, would be a sql script to manually insert the admin user... then I can log on and see how bad the situation is..
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

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.
hhgm
Posts: 6
Joined: Thu Jul 26, 2007 10:05 am

Post by hhgm »

Hi Shaun

I have generated all the information as stated in the post you refer to.. if you look at my first reply, there is a link to a zip file containing all the files etc.
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Please post as much information directly to the forum rather in a ZIP file. All the information we need at this point should easily fit in a single post.
hhgm
Posts: 6
Joined: Thu Jul 26, 2007 10:05 am

Post by hhgm »

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:

Image
Image
Image
Image

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
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Try TimeTrex v2.0.3, I believe it fixes the issue you are running into.
hhgm
Posts: 6
Joined: Thu Jul 26, 2007 10:05 am

Post by hhgm »

Problem solved by TimeTrex 2.0.3.. thanks
Locked