PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Script Installation (http://www.phpdig.net/forum/forumdisplay.php?f=37)
-   -   blank page (http://www.phpdig.net/forum/showthread.php?t=1567)

olivier 12-03-2004 01:58 AM

blank page
 
Hello,

Just installed phpdig this morning. I have a blank page on my browser for every *.php page. I have no clue yet about this issue.

I am using FreeBSD 4.9 with apache-1.3.29_1 and mod_php5-5.0.2,1

su-2.05b# pkg_info | grep mysql
mysql-client-4.1.7 Multithreaded SQL database (client)
mysql-server-4.1.7 Multithreaded SQL database (server)
php5-mysql-5.0.2 The mysql shared extension for php

PHP is working fine for other applications. for exemple :
<?php
phpinfo();
?>
give a good result.

the only php page that I can see on phpdig is the install.php page.

Permission is 777 for all my files and I have root privilege.

Any idea?

/Olivier

Charter 12-03-2004 02:05 AM

Uncomment // echo "\n\nPath $relative_script_path not recognized!\n\n"; in the config file.

olivier 12-03-2004 03:58 AM

My config.php now look like this:

define('ABSOLUTE_SCRIPT_PATH','/usr/local/www/data/phpdig'); // full path up to but not including admin dir, no end slash
Set $relative_script_path = '/usr/local/www/data/phpdig';

if ((!isset($relative_script_path)) || (($relative_script_path != ".") &&
($relative_script_path != "..") && ($relative_script_path != ABSOLUTE_SCRIPT_PATH))) {
echo "\n\nPath not recognized!\n\n";
exit();
}

But I have still my blank screen...

olivier 12-03-2004 04:07 AM

And no error message like "Path not recognized"

Same thing for the search.php file. I have no error message, just a blank screen.

Quote:

Originally Posted by olivier
My config.php now look like this:

define('ABSOLUTE_SCRIPT_PATH','/usr/local/www/data/phpdig'); // full path up to but not including admin dir, no end slash
Set $relative_script_path = '/usr/local/www/data/phpdig';

if ((!isset($relative_script_path)) || (($relative_script_path != ".") &&
($relative_script_path != "..") && ($relative_script_path != ABSOLUTE_SCRIPT_PATH))) {
echo "\n\nPath not recognized!\n\n";
exit();
}

But I have still my blank screen...


Charter 12-03-2004 04:15 AM

There's no need to set/change $relative_script_path unless you are changing the directory structure.

olivier 12-03-2004 04:23 AM

Ok, charter. But why do I have a blank screen?

I can't blame the $relative_script_path attribute, thus the problem is somewhere else. Any clue?

How can I troubleshoot this?

Thanks,
Olivier.

Charter 12-03-2004 04:27 AM

Who knows why you have a blank screen. Maybe a path issue, maybe a connect issue, maybe something else. Try uncommenting // error_reporting(E_ALL); in the config file and see if it says anything when you then call the search.php file.

olivier 12-03-2004 05:03 AM

Not me :(

I tried to uncomment the "error_reporting". I just can't see any output. where can I see some output normally for these error reports? Is it on the /var/log/httpd-error.log?

BTW, There is no error in this log file.

I don't understand. It seems that I am the only one who had this problem on the forum ... perphaps it is because of my version of php... Does anybody tried to use phpdig with php5?

Olivier.

Charter 12-03-2004 05:24 AM

The error reporting would show in the browser window. Maybe you are behind some intranet, firewall, or some such thing?

olivier 12-03-2004 05:28 AM

I am not behind a firewall.

But, If I was behind a firewall, I would not be able to see other php pages on this server. But I am able to see them.

I am trying with PHP4 now to see if I have the same result...

Charter 12-03-2004 05:35 AM

Try checking the httpd.log access file too and see if PhpDig related requests are being recorded.

olivier 12-03-2004 07:10 AM

yes, they are.

I have seen a post with the same problem with mysql-server-4.1.7. I don't know why I installed 4.1 and not 4.0... didn't see that 4.1 is in beta...

I have to check that also.


All times are GMT -8. The time now is 03:00 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.