Blank Page : Step 1

Ask your questions regarding TimeTrex installation here.
Locked
fodde
Posts: 26
Joined: Fri Jan 05, 2007 5:55 am

Blank Page : Step 1

Post by fodde »

I managed to install TimeTex 1.2.1 successfully, but decided to upgrade to 1.4.

I followed the instructions of the upgrade in readme.txt, but recieved a blank page after running http://localhost/timetrex/interface/install/install.php.

I then decided to delete the old installation completely (it was still in testing); so I deleted the database, the folder structure and all logs of TimeTrex.

I then extracted the 1.41. zip file to timetrex14 and followed the steps as explained in readme.txt (the same for my successful 1.2 installation). Output of my timetrex.ini.php file below:
[path]
;URL to TimeTrex web root directory. ie: http://localhost/<BASE_URL>
http://localhost/<BASE_URL>
base_url = /timetrex14/interface
[path]
;URL to TimeTrex web root directory. ie: http://localhost/<BASE_URL>
http://localhost/<BASE_URL>
base_url = /timetrex14/interface
;
;log directory
;
log = c:\apache2triad\htdocs\timetrex14\log
;
;Misc storage, for attachments/images
;
storage = c:\apache2triad\htdocs\timetrex14\storage
;
;Full path and name to the PHP CLI Binary
;
php_cli = c:\apache2triad\php\bin\php.exe
php_cli = c:\apache2triad\php\bin\php-win.exe
;
; Database connection settings. These can be set from the installer.
;
[database]
type = mysql
;type = postgres8
host = localhost
database_name = timetrex14
user = correctuser
password = correctpassword
;
; Cache settings
;
[cache]
enable = TRUE
dir = c:\apache2triad\htdocs\timetrex14\log
;
[debug]
;Set to false if you're debugging
production = FALSE
enable = FALSE
enable_display = FALSE
buffer_output = TRUE
enable_log = TRUE
verbosity = 10
;
[other]
; Force all clients to use SSL.
force_ssl = FALSE
installer_enabled = TRUE
;
;WARNING: DO NOT CHANGE THIS AFTER YOU HAVE INSTALLED TIMETREX.
;If you do it will cause all your passwords to become invalid,
;and you may lose access to some encrypted data.
salt = 0


The same result: blank page after running http://localhost/timetrex14/interface/i ... nstall.php.

I then enabled error_logging in timetrex.ini.php as below, and re-run
http://localhost/timetrex14/interface/i ... nstall.php.:
[debug]
;Set to false if you're debugging
production = FALSE
enable = TRUE
enable_display = TRUE
buffer_output = TRUE
enable_log = TRUE
verbosity = 11


The same result: blank page after running http://localhost/timetrex14/interface/i ... nstall.php. No log/debug information. Not even the database was created in phpmyadmin.

I'm using Apache/2.2.0 (Win32) PHP/5.1.2 and MySQL 5.0.18-nt- from apache2triad installation on a Windows XP Pro.

PHP Log errors are enabled.

Apache Server log:
[Tue Jan 09 08:58:19 2007] [notice] Child 2452: Starting thread to listen on port 80.
[Tue Jan 09 08:58:18 2007] [notice] Child 2452: Starting 150 worker threads.
[Tue Jan 09 08:58:18 2007] [notice] Child 2452: Acquired the start mutex.
[Tue Jan 09 08:58:18 2007] [notice] Child 2452: Child process is running
[Tue Jan 09 08:58:18 2007] [notice] Parent: Created child process 2452
[Tue Jan 09 08:58:17 2007] [notice] Server built: Dec 11 2005 20:34:33
[Tue Jan 09 08:58:17 2007] [notice] Apache/2.2.0 (Win32) PHP/5.1.2 configured -- resuming normal operations


Apache Server access log:
127.0.0.1 - root [09/Jan/2007:09:56:34 +0200] "GET /apache2triadcp/error.cgi HTTP/1.1" 200 39064 "http://localhost/apache2triadcp/"
127.0.0.1 - root [09/Jan/2007:09:55:53 +0200] "GET /apache2triadcp/error.cgi HTTP/1.1" 200 39064 "http://localhost/apache2triadcp/"
127.0.0.1 - root [09/Jan/2007:09:52:24 +0200] "GET /timetrex14/interface/install/install.php HTTP/1.1" 200 - "-"

mysql log:
070109 8:57:48 [Note] MySql: ready for connections.
Version: '5.0.18-nt-log' socket: '' port: 3306 MySQL Community Edition (GPL)

After running http://localhost/timetrex14/index.html, i recieved the following output:
Debug Buffer
============================================================================
Memory Usage: N/A
----------------------------------------------------------------------------
DEBUG [135]: [Function](): URI: /timetrex14/interface/
DEBUG [137]: [Function](): Production: 0
DEBUG [92]: TTDate::setTimeZone(): Setting TimeZone: PST8PDT
============================================================================

Any help appreciated.
fodde
Posts: 26
Joined: Fri Jan 05, 2007 5:55 am

Post by fodde »

After some more tries, this is my php log file:

[09-Jan-2007 00:26:50] PHP Warning: Cannot modify header information - headers already sent by (output started at C:\apache2triad\htdocs\TimeTrex14\classes\modules\core\Exception.class.php:44) in C:\apache2triad\htdocs\TimeTrex14\classes\modules\core\Redirect.class.php on line 38
[09-Jan-2007 00:26:57] PHP Warning: Cannot modify header information - headers already sent by (output started at C:\apache2triad\htdocs\TimeTrex14\classes\modules\core\Exception.class.php:44) in C:\apache2triad\htdocs\TimeTrex14\classes\modules\core\Redirect.class.php on line 38
fodde
Posts: 26
Joined: Fri Jan 05, 2007 5:55 am

Timetrex log

Post by fodde »

This is my Timetrex log file:

---------------[ Tue, 09 Jan 2007 00:59:12 -0800 (PID: 2452) ]---------------
DEBUG [135]: <b>[Function]()</b>: URI: /timetrex14/interface/<br>
DEBUG [137]: <b>[Function]()</b>: Production: 0<br>
DEBUG [92]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: PST8PDT<br>
---------------[ Tue, 09 Jan 2007 00:59:12 -0800 (PID: 2452) ]---------------
---------------[ Tue, 09 Jan 2007 00:59:37 -0800 (PID: 2452) ]---------------
DEBUG [135]: <b>[Function]()</b>: URI: /timetrex14/interface/<br>
DEBUG [137]: <b>[Function]()</b>: Production: 0<br>
DEBUG [92]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: PST8PDT<br>
---------------[ Tue, 09 Jan 2007 00:59:37 -0800 (PID: 2452) ]---------------
---------------[ Tue, 09 Jan 2007 00:59:39 -0800 (PID: 2452) ]---------------
DEBUG [135]: <b>[Function]()</b>: URI: /timetrex14/interface/<br>
DEBUG [137]: <b>[Function]()</b>: Production: 0<br>
DEBUG [92]: <b>TTDate::setTimeZone()</b>: Setting TimeZone: PST8PDT<br>
---------------[ Tue, 09 Jan 2007 00:59:39 -0800 (PID: 2452) ]---------------
shaunw
Posts: 7839
Joined: Tue Sep 19, 2006 2:22 pm

Post by shaunw »

Change your debug verbosity in timetrex.ini.php to 10, and try again. A blank page almost always means a PHP fatal error is occurring, which will show up in your PHP error log. You can also enable display errors in your php.ini which may help too.

With your debug verbosity set to 11 redirects will always fail.
fodde
Posts: 26
Joined: Fri Jan 05, 2007 5:55 am

Success

Post by fodde »

I managed to solve my problem - proxy to the itnernet!

See this post

http://forums.timetrex.com/viewtopic.php?p=910#910
Locked