04-07-2012, 02:55 AM
I'm looking at the contents of install.php, and I'd like you to try this.
Go to the URL letodms/install/install.php?phpinfo
It should bring up phpinfo(). This would tell us that at least something is executing.
Another thought, if you are using Firefox... Once you are faced with the blank page, bring up the page source with control-u. Maybe it is completely empty... or perhaps there is some malformed HTML rendering that would give a clue.
After looking at the php code, probably you should use 'echo' instead of 'error_log'. There are examples of how to use it in the code already. I guess I would place an echo statement just outside each conditional.
For example, in the 3.3.3 version of install.php, I see...
I would decorate this with some additional echo statements like this:
If you do this in enough places, you would have a trail of the PHP execution and where the execution halts. This is a very rudimentary debugging technique and probably a PHP expert could recommend a better method. But let's keep things simple for now.
Go to the URL letodms/install/install.php?phpinfo
It should bring up phpinfo(). This would tell us that at least something is executing.
Another thought, if you are using Firefox... Once you are faced with the blank page, bring up the page source with control-u. Maybe it is completely empty... or perhaps there is some malformed HTML rendering that would give a clue.
After looking at the php code, probably you should use 'echo' instead of 'error_log'. There are examples of how to use it in the code already. I guess I would place an echo statement just outside each conditional.
For example, in the 3.3.3 version of install.php, I see...
Code:
/**
* Include GUI + Language
*/
include("../inc/inc.Language.php");
include("../inc/inc.ClassUI.php");
I would decorate this with some additional echo statements like this:
Code:
/**
* Include GUI + Language
*/
echo "Including inc.Language.php";
include("../inc/inc.Language.php");
echo "Including inc.ClassUI.php";
include("../inc/inc.ClassUI.php");
If you do this in enough places, you would have a trail of the PHP execution and where the execution halts. This is a very rudimentary debugging technique and probably a PHP expert could recommend a better method. But let's keep things simple for now.
(04-06-2012, 01:51 PM)sappu Wrote: blank page has same url as in installation url had.....http://linuxpc.co.in/letodms//install/install.php and where to add error_log() in install.php file.
i added at end of line but it show nothing.