Blank page on index.php
Moderators: Amaradana, TurboPT, TL Developers
Blank page on index.php
Hi,
I wanted to try out TestLink 1.7, never used it before.
After following the automatic installation (which confirms I have correct version of everything), it doesn't work.
Deleted everything from the server (it's a hosted domain I'm working on) and FTP-ed everything again.
Made database, added tables, added default data
Made user, added that user to config_db.inc.php and uploaded it.
Changed permissions on gui/templates_c
However when I try to go to http://testlink.mysite.com/index.php it displays a white page.
Any ideas on what's going wrong here?
I don't know if I can look at logs, because it's on a hosted domain.
I wanted to try out TestLink 1.7, never used it before.
After following the automatic installation (which confirms I have correct version of everything), it doesn't work.
Deleted everything from the server (it's a hosted domain I'm working on) and FTP-ed everything again.
Made database, added tables, added default data
Made user, added that user to config_db.inc.php and uploaded it.
Changed permissions on gui/templates_c
However when I try to go to http://testlink.mysite.com/index.php it displays a white page.
Any ideas on what's going wrong here?
I don't know if I can look at logs, because it's on a hosted domain.
Try http://testlink.mysite.com/login.php
It seems that you damaged some file(s) by manual editing. Configuration file?
It seems that you damaged some file(s) by manual editing. Configuration file?
I really can't get it working.
The problem with the automatic install is that I don't have the 'root' password for the database. I can make a database user in Plesk, but if I provide that user to the TestLink installer, it complains it can't make another user.
But all dependencies are correct: MySQL, Apache, ...
So I follow the manual steps, what I did:
* Download testlink 1.70 from SF and unzip on my Windows machine.
* Upload to server with FileZilla. I have a seperate subdomain for testlink, so testlink.myserver.com and I upload it in testlink/httpdocs/
* Create db and user for it
* Create tables and populate db with PhpMyAdmin, goes OK.
* Create config_db.inc.php like in manual but with my parameters (host can still be localhost?) and upload to root of subdomain
* Change properties of templates_c
* open testlink.myserver.com/login.php
I get a blank page, no source code.
I also downloaded the testlink dir again and compared to my zip file, no differences, some binary differences, but text was always the same.
Where can I find the logs of testlink?
As said before, I don't think I can see the Apache logs.
The problem with the automatic install is that I don't have the 'root' password for the database. I can make a database user in Plesk, but if I provide that user to the TestLink installer, it complains it can't make another user.
But all dependencies are correct: MySQL, Apache, ...
So I follow the manual steps, what I did:
* Download testlink 1.70 from SF and unzip on my Windows machine.
* Upload to server with FileZilla. I have a seperate subdomain for testlink, so testlink.myserver.com and I upload it in testlink/httpdocs/
* Create db and user for it
* Create tables and populate db with PhpMyAdmin, goes OK.
* Create config_db.inc.php like in manual but with my parameters (host can still be localhost?) and upload to root of subdomain
* Change properties of templates_c
* open testlink.myserver.com/login.php
I get a blank page, no source code.
I also downloaded the testlink dir again and compared to my zip file, no differences, some binary differences, but text was always the same.
Where can I find the logs of testlink?
As said before, I don't think I can see the Apache logs.
Edit config file to set logging:
/** [LOGGING] */
/** @see logging.inc.php for more information */
$g_log_path=TL_TEMP_PATH;
/** Default level of logging (NONE, ERROR, INFO, DEBUG, EXTENDED) */
$g_log_level='DEBUG';
TL logs into template_c directory as default way.
BTW: there is a few default data, which must be added into empty DB. I'm not sure if you added it.
/** [LOGGING] */
/** @see logging.inc.php for more information */
$g_log_path=TL_TEMP_PATH;
/** Default level of logging (NONE, ERROR, INFO, DEBUG, EXTENDED) */
$g_log_level='DEBUG';
TL logs into template_c directory as default way.
BTW: there is a few default data, which must be added into empty DB. I'm not sure if you added it.
I've changed config.inc.php to DEBUG, left the path to TL_TEMP_PATH, but I see no log file appearing in gui/templates_c.
Properties of templates_c is 777, so writable.
Data was also added with testlink_create_default_data.sql
Thanks for the help, but there is really something strange going on here.
I think this server is OK, because I got Drupal, Wordpress and a Wiki running.
Properties of templates_c is 777, so writable.
Data was also added with testlink_create_default_data.sql
Thanks for the help, but there is really something strange going on here.
I think this server is OK, because I got Drupal, Wordpress and a Wiki running.
It's really strange. It will be some stupid thing.
Add some simple php page into the directory, just to be sure that Apache has correct settings for the directory.
Check information about the blank page in browser. Is really no character sent by server?
Is created login smarty page in tempate_c directory.
Add some simple php page into the directory, just to be sure that Apache has correct settings for the directory.
Check information about the blank page in browser. Is really no character sent by server?
Is created login smarty page in tempate_c directory.
I added a Hello World page, and that works:havlatm wrote: Add some simple php page into the directory, just to be sure that Apache has correct settings for the directory.
<?php echo '<p>Hello World</p>'; ?>
And on the same server/webspace I have other programs running such as Drupal, Wordpress and MediaWiki, so normally everything is OK.
Nothing in the page source, it also loads immediately.havlatm wrote: Check information about the blank page in browser. Is really no character sent by server?
I don't understand what you are saying here.havlatm wrote: Is created login smarty page in tempate_c directory.
Templates_c is empty.
-
- TestLink user
- Posts: 2
- Joined: Mon Oct 29, 2007 2:51 pm
My Logfile
Was working fine all weekend. Went to login this morning, and get the blank screen, and can't login
Here is the Logfile:
[07/Oct/29 10:44:31][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
[07/Oct/29 10:44:51][DEBUG][/testlink/index.php][<unknown>][0jpvur4oh14pehu2r99abogaq7]
test /testlink/index.php
[07/Oct/29 10:44:51][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
[07/Oct/29 10:49:18][DEBUG][/testlink/index.php][<unknown>][43plp0100a7d4iittgd9enmbl5]
test /testlink/index.php
[07/Oct/29 10:49:18][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
[07/Oct/29 10:49:25][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
[07/Oct/29 10:50:01][DEBUG][/testlink/index.php][<unknown>][9emujjnlm8j9j9c2rf8bprdae5]
test /testlink/index.php
[07/Oct/29 10:50:02][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
[07/Oct/29 10:50:09][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
Please help!
Here is the Logfile:
[07/Oct/29 10:44:31][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
[07/Oct/29 10:44:51][DEBUG][/testlink/index.php][<unknown>][0jpvur4oh14pehu2r99abogaq7]
test /testlink/index.php
[07/Oct/29 10:44:51][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
[07/Oct/29 10:49:18][DEBUG][/testlink/index.php][<unknown>][43plp0100a7d4iittgd9enmbl5]
test /testlink/index.php
[07/Oct/29 10:49:18][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
[07/Oct/29 10:49:25][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
[07/Oct/29 10:50:01][DEBUG][/testlink/index.php][<unknown>][9emujjnlm8j9j9c2rf8bprdae5]
test /testlink/index.php
[07/Oct/29 10:50:02][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
[07/Oct/29 10:50:09][INFO][/testlink/login.php][<unknown>][<nosession>]
Login page requested by 127.0.0.1
Please help!
same behavior
Hi Chris_147,
Seems I am not the only one with that strange behavior, I installed also the Testlink version 1.7 and when I finish a successful install I'm redirected to a blank page, from this moment there is no way to see any other page different that the ones at install folder.
Seems like this is a bug happening for some reason with a Webserver, in my case I'm using a Linux Apache 5.x, PHP might be missing something that is required.
Also take a look if you can to the apache server log. I got a strange error related to lang_api.php
Please if you get it working let me know.
Seems I am not the only one with that strange behavior, I installed also the Testlink version 1.7 and when I finish a successful install I'm redirected to a blank page, from this moment there is no way to see any other page different that the ones at install folder.
Seems like this is a bug happening for some reason with a Webserver, in my case I'm using a Linux Apache 5.x, PHP might be missing something that is required.
Also take a look if you can to the apache server log. I got a strange error related to lang_api.php
Please if you get it working let me know.
Testlink1.6.3 installs well, but Testlink1.7.0 don't
havlatm wrote:Could you add this strange log about lang_api.php. I still have no idea what should be wrong. It could depends on apache configuration.
The log file of testlink also get no useful information.
Thx havlatm
Listen up, our IT department told me that in the past they installed Testlink1.6.3 successfully so I decided to change to that previous version... and it works well!...
Seems like something was changed from 1.6.3 to 1.7 or 1.7.1 and that makesd the installation to fail.
I'll be attaching the server log ASAP.
Server log with lang_api.php error
Here is the log with the error:
[Fri Nov 02] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Call to undefined function iconv() in /home/qa/site/lib/functions/lang_api.php on line 54
[Fri Nov 02] [error] [client xxx.xxx.xxx.xxx] File does not exist: /home/qa/site/favicon.ico
[Fri Nov 02] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Call to undefined function iconv() in /home/qa/site/lib/functions/lang_api.php on line 54, referer: http://<HOSTNAME>/install/installNewDB.php
Any help... appreciated, thx
[Fri Nov 02] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Call to undefined function iconv() in /home/qa/site/lib/functions/lang_api.php on line 54
[Fri Nov 02] [error] [client xxx.xxx.xxx.xxx] File does not exist: /home/qa/site/favicon.ico
[Fri Nov 02] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Call to undefined function iconv() in /home/qa/site/lib/functions/lang_api.php on line 54, referer: http://<HOSTNAME>/install/installNewDB.php
Any help... appreciated, thx