Temporary solution, dumped Postgre database from another computer, but still I cannot choose a Province/State. I was working with the debug buffer, http headers, etc. No other PC can change my locale information for the company information in TimeTrex, no one can see a Province/State list. Also tried other version of TimeTrex.
Firefox JavaScript Console shows 2 errors:
- Error: [Exception... "'Error: HTTP Error Making Request: [406] Not Acceptable' when calling method: [nsIOnReadyStateChangeHandler::handleEvent]" nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
-Error: Error in parsing value for property 'font'. Declaration dropped.
Source File: http://l1:5009/interface/company/EditCompany.php?id=1
Line: 0
This is the http headers for my machine:
http://luis1:5009/interface/ajax_server ... nceOptions
POST /interface/ajax_server.php?&c=AJAX_Server&m=getProvinceOptions HTTP/1.1
Host: luis1:5009
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.
![Cool 8)](./images/smilies/icon_cool.gif)
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,es-cr;q=0.8,ja;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/json; charset=utf-8; charset=utf-8
Content-Length: 6
Cookie: SessionID=86f08d317b49af1c791dc8d7dd15b59b; StationID=65ba09ccd8e51e9910287c98ac643bed
Pragma: no-cache
Cache-Control: no-cache
["US"]
HTTP/1.x 406 Not Acceptable
Date: Wed, 17 Jan 2007 21:58:31 GMT
Server: Apache/2.2.0 (Fedora)
Content-Length: 343
Connection: close
Content-Type: text/html; charset=iso-8859-1
This is the http header for a pc where the Province/State works fine:
http://localhost:5003/interface/ajax_se ... nceOptions
POST /interface/ajax_server.php?&c=AJAX_Server&m=getProvinceOptions HTTP/1.1
Host: localhost:5003
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.
![Cool 8)](./images/smilies/icon_cool.gif)
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,es-cr;q=0.8,ja;q=0.5,en;q=0.3
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Content-Type: application/json; charset=utf-8; charset=utf-8
Content-Length: 6
Cookie: SessionID=24e2262ff48b5b5b93d1d1e61539dc42; StationID=bcc352b44a503e3a2ab19c786b4d0499; testing=1; sid=6699e75a64a502a304756a37b2a84c21
Pragma: no-cache
Cache-Control: no-cache
["CA"]
HTTP/1.x 200 OK
Date: Wed, 17 Jan 2007 23:05:24 GMT
Server: Apache/2.0.52 (CentOS)
X-Powered-By: PHP/5.1.6
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Wed, 17 Jan 2007 23:05:24GMT
Cache-Control: no-cache, must-revalidate
Pragma: no-cache
Content-Length: 250
Connection: close
Content-Type: application/json; charset=utf-8
TimeTrex debug buffer shows no errors. Could it be some configuration on my machine? Apache Server? My Locale Setup in my machine? The Ajax Server Post?
Thanks for your help
___________________
Luis Sanchez