Invalid Province/State

Ask your questions regarding TimeTrex installation here.
Locked
mir
Posts: 2
Joined: Fri Feb 23, 2007 7:48 am

Invalid Province/State

Post by mir »

1. Clearly state what is happening, or what isn't happening that you feel should. If there are any error messages include the FULL EXACT error message.

I have reached fifth step in the installation process - which causes my some trouble. There are no values in the drop down box, and I cannot fill anything in 'Province/State' which means I cannot move on to next step and complete my installation.

2. Clearly state the EXACT steps you took before the issue occurred, or steps to reproduce the issue.

The exact steps are described below:

<Steps Start>
1. License Acceptance - No Errors on page

2. System Check Acceptance - No Errors on page

TimeTrex Version: OK (v1.5.0)
PHP Version: OK (v5.2.0)
Database Engine: OK
PHP BCMATH Enabled: OK
PHP SOAP Enabled: OK
PEAR: OK
Writable (timetrex.ini.php): OK
Writable Cache Directory: OK
Empty Cache Directory: OK
Writable Storage Directory: OK
Writable Log Directory: OK
PHP Safe Mode Turned Off: OK
PHP Memory Limit: OK

3. Database Configuration - No Errors on page

4. System Settings - No Errors on page

5. Company Information - Errors on page!

Line: 112
Char: 1
Error: 'AJAX_Server' is undefined
Code: 0
URL: http://webserver/trex/interface/install/Company.php

Line: 114
Char: 2
Error: 'remoteHW' is null or not an object
Code: 0
URL: http://webserver/trex/interface/install/Company.php

Notice: Undefined index: province in C:\Inetpub\wwwroot\trex\interface\install\Company.php on line 78

Debug Buffer
============================================================================
Memory Usage: N/A
----------------------------------------------------------------------------
DEBUG [155]: [Function](): Production: 0
DEBUG [49]: [Function](): Bypassing Authentication
DEBUG [69]: Install::isInstallMode(): Install Mode is ON
DEBUG [62]: [Function](): Submit!
DEBUG [94]: Validator::inArrayKey(): Key: 10
DEBUG [94]: Validator::inArrayKey(): Key: 10
DEBUG [144]: Validator::isLength(): Value: Test Company Length: 12 Min: 2 Max: 100
DEBUG [144]: Validator::isLength(): Value: TC Length: 2 Min: 2 Max: 15
DEBUG [131]: Validator::isRegEx(): Value: Test Street 11 RegEx: /^[a-zA-Z0-9-_\.#\ ]{1,250}$/i
DEBUG [144]: Validator::isLength(): Value: Test Street 11 Length: 14 Min: 2 Max: 250
DEBUG [131]: Validator::isRegEx(): Value: Tescity RegEx: /^[a-zA-Z0-9-\.\ ]{1,250}$/i
DEBUG [144]: Validator::isLength(): Value: Tescity Length: 7 Min: 2 Max: 250
DEBUG [94]: Validator::inArrayKey(): Key: DK
DEBUG [1012]: CompanyFactory::setProvince(): Country: DK Province:
DEBUG [94]: Validator::inArrayKey(): Key:
DEBUG [405]: Validator::Error(): Validation Error: Label: province Msg: Invalid Province/State
DEBUG [173]: Validator::isPostalCode(): Raw Postal Code: 9999
DEBUG [144]: Validator::isLength(): Value: 9999 Length: 4 Min: 1 Max: 10
DEBUG [293]: Validator::stripNonNumeric(): Numeric String:4512345678
DEBUG [160]: Validator::isPhoneNumber(): Raw Phone: +4512345678 Phone: 4512345678
DEBUG [384] Array: Validator::isValid(): Errors
array(1) {
["province"]=>
array(1) {
[0]=>
string(22) "Invalid Province/State"
}
}
<Steps End>

3. What version of TimeTrex you are running: 1.5.0

4. What version of PHP you are using: PHP Version 5.2.0

5. What operating system you are running: Windows Server 2003.

6. What web server you are using: Internet Information Services (IIS) Version 6.0

7. Have you configured PHP to log errors to a file, and what errors are showing up in this file?
("error_log = <filename>" in PHP.INI)
; Log errors to specified file.
error_log = c:\PHP\log\php.log

8. In your TimeTrex.ini.php file, set the following under the [debug] section:
enable = TRUE
enable_display = TRUE
buffer_output = TRUE
enable_log = TRUE
verbosity = 11

From my ini-file:
enable = TRUE
enable_display = TRUE
buffer_output = TRUE
enable_log = TRUE
verbosity = 11

I hope that one of you out there may help my solve the problem.

/Michael
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

What is your base_url setting in your timetrex.ini.php file set to? I would guess that TimeTrex can't find the proper ajax files to load the ajax code properly.
mir
Posts: 2
Joined: Fri Feb 23, 2007 7:48 am

Post by mir »

This is the base_url from my ini-file:

base_url = /trex/interface

Thanks for your reply!

/Michael
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Did you check your PHP error logs for anything that may stick out? It appears the AJAX server isn't being loaded properly, so you need to figure out why.

What web browser are you using as well?
Locked