License.php display blank page
License.php display blank page
Dear,
I'm trying to install TimeTrex Stadard version 3.1 manually on my existing XAMPP lite.
After typing http://localhost/timetrex/interface/install/install.php, the Firefox 3.6 browser re-directed to http://localhost/timetrex/interface/ins ... nstaller=0 and show a blank page.
My environments:
Windows XP SP2,
XAMPP lite version 1.7.2:
+ PHP 5.3.0
+ mySQL 5.1.37
My timetrex.ini.php
;
;
; TimeTrex Configuration File
; *Windows Example*
;
;
;
; System paths. NO TRAILING SLASHES!
;
[path]
;URL to TimeTrex web root directory. ie: http://your.domain.com/<*BASE_URL*>
;DO NOT INCLUDE http://your.domain.com, just the directory AFTER your domain
base_url = /timetrex/interface
;
;log directory
;
log = c:\xampplite\htdocs\timetrex\log
;
;Misc storage, for attachments/images
;
storage = c:\xampplite\htdocs\timetrex\storage
;
;Full path and name to the PHP CLI Binary
;
php_cli = c:\xampplite\php\php.exe
;
; Database connection settings. These can be set from the installer.
;
[database]
type = mysqlt
;type = postgres8
host = localhost
database_name = timetrex
user = root
password = <the password>
;
; Cache settings
;
[cache]
enable = TRUE
dir = c:\temp\timetrex
[debug]
;Set to false if you're debugging
production = FALSE
enable = TRUE
enable_display = TRUE
buffer_output = TRUE
enable_log = TRUE
verbosity = 11
[other]
; Force all clients to use SSL.
force_ssl = FALSE
installer_enabled = TRUE
primary_company_id = 0
hostname = localhost
;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
Please help,
Thank you.
I'm trying to install TimeTrex Stadard version 3.1 manually on my existing XAMPP lite.
After typing http://localhost/timetrex/interface/install/install.php, the Firefox 3.6 browser re-directed to http://localhost/timetrex/interface/ins ... nstaller=0 and show a blank page.
My environments:
Windows XP SP2,
XAMPP lite version 1.7.2:
+ PHP 5.3.0
+ mySQL 5.1.37
My timetrex.ini.php
;
;
; TimeTrex Configuration File
; *Windows Example*
;
;
;
; System paths. NO TRAILING SLASHES!
;
[path]
;URL to TimeTrex web root directory. ie: http://your.domain.com/<*BASE_URL*>
;DO NOT INCLUDE http://your.domain.com, just the directory AFTER your domain
base_url = /timetrex/interface
;
;log directory
;
log = c:\xampplite\htdocs\timetrex\log
;
;Misc storage, for attachments/images
;
storage = c:\xampplite\htdocs\timetrex\storage
;
;Full path and name to the PHP CLI Binary
;
php_cli = c:\xampplite\php\php.exe
;
; Database connection settings. These can be set from the installer.
;
[database]
type = mysqlt
;type = postgres8
host = localhost
database_name = timetrex
user = root
password = <the password>
;
; Cache settings
;
[cache]
enable = TRUE
dir = c:\temp\timetrex
[debug]
;Set to false if you're debugging
production = FALSE
enable = TRUE
enable_display = TRUE
buffer_output = TRUE
enable_log = TRUE
verbosity = 11
[other]
; Force all clients to use SSL.
force_ssl = FALSE
installer_enabled = TRUE
primary_company_id = 0
hostname = localhost
;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
Please help,
Thank you.
Re: License.php display blank page
A blank page means that there is a fatal PHP error occurring, you will need to check your PHP or Apache error logs to find out exactly what is happening.
Re: License.php display blank page
Thanks shaunw,
I've checked the apache log but there is nothing; besides, my other PHP sites & apps (including oranghrm) are still run normally.
Advise please,
Thank you again.
I've checked the apache log but there is nothing; besides, my other PHP sites & apps (including oranghrm) are still run normally.
Advise please,
Thank you again.
Re: License.php display blank page
Your PHP.INI file is likely not setup correctly then. You could try turning on display_errors in it, that may help too.
Re: License.php display blank page
display_errors is on but still blank pageshaunw wrote:Your PHP.INI file is likely not setup correctly then. You could try turning on display_errors in it, that may help too.
Re: License.php display blank page
has anyone sorted the above problem?my display_errors in php.ini is also on.
-
- Posts: 4
- Joined: Tue Aug 02, 2011 11:08 pm
- Location: Vancouver, BC, Canada
Re: License.php display blank page
mikebos wrote:has anyone sorted the above problem?my display_errors in php.ini is also on.
Same here.
Help?
--
Kenneth T.
Kenneth T.
Re: License.php display blank page
Please do not post "me too" messages as they can only be ignored for lack of detailed information.
Read this FAQ for information on how to post a message that is likely to receive a constructive and useful response:
http://forums.timetrex.com/viewtopic.php?f=6&t=89
Read this FAQ for information on how to post a message that is likely to receive a constructive and useful response:
http://forums.timetrex.com/viewtopic.php?f=6&t=89
Re: License.php display blank page
v.3.6 running on Windows
Install dies in Install.class.php line 80. If I comment out that 'if' statement installation continues. But then it does not pass "File checksums" check in the Requirements.php
Thanks
mark
Install dies in Install.class.php line 80. If I comment out that 'if' statement installation continues. But then it does not pass "File checksums" check in the Requirements.php
Thanks
mark
Re: License.php display blank page
Can you copy and paste line 80 here. I just checked line 80 for v3.6 and its already commented out, so that doesn't add up.
Also if you can provide the actual PHP error that is occurring that would be helpful too.
Also if you can provide the actual PHP error that is occurring that would be helpful too.
Re: License.php display blank page
if ( extension_loaded('pgsql') == FALSE ) {
@dl($prefix . 'pgsql.' . PHP_SHLIB_SUFFIX);
}
@dl($prefix . 'pgsql.' . PHP_SHLIB_SUFFIX);
}
mark k
Re: License.php display blank page
I don't see that code anywhere in install.php or Requirements.php in v3.6.0 of TimeTrex.
You're going to need to provide us with a lot more details before we will have any hope of helping you.
You're going to need to provide us with a lot more details before we will have any hope of helping you.
Re: License.php display blank page
Look in the include/...../Install.class.php
looks like this piece of code is trying load/bind Postgres php module.
I do not have Postgres installed
My debug gets lost here and there is nothing in the logs. Install is OK if I comment out that code
mark
looks like this piece of code is trying load/bind Postgres php module.
I do not have Postgres installed
My debug gets lost here and there is nothing in the logs. Install is OK if I comment out that code
mark
mark k
Re: License.php display blank page
Without getting the exact error that PHP is reporting there isn't much we can do.
Re: License.php display blank page
But as many people report on this and similar treads, there is nothing in the logs...
mark k
Re: License.php display blank page
If your not seeing any PHP errors in the PHP error logs, than your PHP.ini file isn't setup to display/log the errors properly.
Re: License.php display blank page
I just had the same problem.
Basically, the dl() function has been removed from some SAPI's since PHP 5.3, (see http://php.net/manual/en/function.dl.php). The code in 'classes/modules/install/Install.class.php' causes a fatal error, but the error is surpressed by the '@' - hence the blank screen.
To work around the problem, I had to load the PHP extensions above in advance by adding the following lines to php.ini :
Basically, the dl() function has been removed from some SAPI's since PHP 5.3, (see http://php.net/manual/en/function.dl.php). The code in 'classes/modules/install/Install.class.php' causes a fatal error, but the error is surpressed by the '@' - hence the blank screen.
Code: Select all
if ( extension_loaded('mysql') == FALSE ) {
@dl($prefix . 'mysql.' . PHP_SHLIB_SUFFIX);
}
if ( extension_loaded('mysqli') == FALSE ) {
@dl($prefix . 'mysqli.' . PHP_SHLIB_SUFFIX);
}
if ( extension_loaded('pgsql') == FALSE ) {
@dl($prefix . 'pgsql.' . PHP_SHLIB_SUFFIX);
}
Code: Select all
[PHP_MYSQL]
extension=php_mysql.dll
[PHP_MYSQLI]
extension=php_mysqli.dll
[PHP_PGSQL]
extension=php_pgsql.dll
Re: License.php display blank page
It sounds like your PHP.ini file is incorrectly setup then, because that entire block of code is wrapped in a IF statement and won't execute unless you have 'enable_dl' set to TRUE in your PHP.INI file and safe_mode set to FALSE. If enable_dl is enabled, you are telling PHP that dl() is available to use.