Database Security. Database Auditing. Database Caching. Database Masking. Get it nowProblem installation
Posted July 13th, 2009 by gangan
in
hello all,
I have a problem during the installation
after installation, at this URL http://ip/green/login.php is empty, all the screen is white
nothing in /var/log/httpd/error.log
nothing in /var/log/greesql/grennsql.log
I use the documentation present in this site
Same with php verbose, nothing white screen
an idea ?
thanks in advance
G
Comments
It looks very strange. Can
It looks very strange. Can you create a simple test.php file and place it to the application sources.
This test.php file can contain the following commands:
<?php
phpinfo();
?>
Open it in the browser and check if you are getting PHP information:
http://ip/green/test.php
Yuli
look :
look : http://92.243.22.49/green/test.php
I do this modification in
I do this modification in login.php and my /etc/php.ini have display_errors On
the url is always empty.
http://92.243.22.49/green/login.php
thanks for your help
Hello Can you tell me what
Hello
Can you tell me what are the permissions of the "templates", "templates_c", "libs" and "images" directories ?
Yuli
[Mon Jul 27 21:56:46 2009]
[Mon Jul 27 21:56:46 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 22:28:51 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 22:29:17 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/green/templates/style.css, referer: http://92.243.22.49/green/templates/login.tpl
[Mon Jul 27 22:29:54 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/green/lib
[Mon Jul 27 22:33:10 2009] [error] [client 213.89.30.135] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 22:33:13 2009] [error] [client 213.89.30.135] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 22:33:23 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/green/templates_c/newes.txt
[Mon Jul 27 22:33:27 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/green/templates_c/news.txt
[Mon Jul 27 23:24:02 2009] [error] [client 82.67.23.91] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 23:24:04 2009] [error] [client 82.67.23.91] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 21:56:46 2009]
[Mon Jul 27 21:56:46 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 22:28:51 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 22:29:17 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/green/templates/style.css, referer: http://92.243.22.49/green/templates/login.tpl
[Mon Jul 27 22:29:54 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/green/lib
[Mon Jul 27 22:33:10 2009] [error] [client 213.89.30.135] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 22:33:13 2009] [error] [client 213.89.30.135] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 22:33:23 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/green/templates_c/newes.txt
[Mon Jul 27 22:33:27 2009] [error] [client 85.250.130.145] File does not exist: /var/www/html/green/templates_c/news.txt
[Mon Jul 27 23:24:02 2009] [error] [client 82.67.23.91] File does not exist: /var/www/html/favicon.ico
[Mon Jul 27 23:24:04 2009] [error] [client 82.67.23.91] File does not exist: /var/www/html/favicon.ico
Hello I have just one
Hello
I have just one solution for you. You need to add debug messages to the script.
You can simple do it by adding print messages to the code:
print "1";Do it after each line in login.php script. Increase number after each line. If the script hangs in lib.php script - you need to add printing of messages to this script as well.
Hope this will help us to detect the real problem.
Yuli
i have : Warning:
i have :
Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_884b0s1ap5d1t23vlgv0enci54, O_RDWR) failed: Permission denied (13) in /var/www/html/green/login.php on line 6
at url : http://92.243.22.49/green/login.php
Hello Looks like you have a
Hello
Looks like you have a problem creating a session file. Can you run the following command to make session directory writable:
chmod 0777 /var/lib/php/sessionPS. Check that this directory exist. If not create one.
Thanks,
Yuli
Hello Can you add print
Hello
Can you add print command to different lines of the login.php file with different value.
For example (login.php file):
<?php
print 'login1';
session_start();
print 'login2';
$_SESSION['login'] = 1;
print 'login3;
require 'lib.php';
print 'login4';
global $demo_version;
print 'login5';
global $smarty;
..........
If the script is stuck in lib.php please add printing to it as well.
Yuli
Thanks for the post. Keep
Thanks for the post. Keep the great work.
Was a solution found? I'm in
Was a solution found?
I'm in the adding print statement stage.
Thanks
John
Solution: yum install
Solution:
yum install php-mysql