View Full Version : white page, no error, but still not work.
tozaz
26th February 2006, 04:12
Hello there !
I run a fresh debian 3.1 install with apache2 and php4.3.10-16.
I've just install Mydnsconfig following to the INSTALL file and the how-to on howtoforge, my mysql database "mydns" seems to be ok, phpmyadmin is ok too, my config.inc.php too but I still have a white page with no error and no text when I go to the http://ip/
I am just automatically redirecting to http://ip/web/index.php and when I go to web/admin/ I can see a the text "admin".
Thanks for your help.
fw:~# dpkg -l |grep php
ii php4 4.3.10-16 server-side, HTML-embedded scripting languag
ii php4-cli 4.3.10-16 command-line interpreter for the php4 script
ii php4-common 4.3.10-16 Common files for packages built from the php
ii php4-domxml 4.3.10-16 XMLv2 module for php4
ii php4-imap 4.3.10-16 IMAP module for php4
ii php4-mysql 4.3.10-16 MySQL module for php4
ii php4-pear 4.3.10-16 PEAR - PHP Extension and Application Reposit
ii php4-pear-log 1.6.0-1.1 Log module for PEAR
ii phpmyadmin 2.6.2-3sarge1 set of PHP-scripts to administrate MySQL ove
ii phpsysinfo 2.3-4sarge1 PHP based host information
fw:~#
till
26th February 2006, 10:12
Hello there !
I run a fresh debian 3.1 install with apache2 and php4.3.10-16.
I've just install Mydnsconfig following to the INSTALL file and the how-to on howtoforge, my mysql database "mydns" seems to be ok, phpmyadmin is ok too, my config.inc.php too but I still have a white page with no error and no text when I go to the http://ip/
I am just automatically redirecting to http://ip/web/index.php and when I go to web/admin/ I can see a the text "admin".
You cannot see the data in web/admin without being logged in.
Does the page http://ip/web/index.php you not show the login page? Which browser do you use?
tozaz
26th February 2006, 17:14
I can't see the login page at http://ip/web/index.php the page seems to be loaded but no login page, no text display, no error, when i show the html source code there is :
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>
I use firefox and IE under MS Windows XP.
Thanks to help me
falko
26th February 2006, 17:43
What's in your Apache error log?
tozaz
26th February 2006, 18:10
Thanks for your help !
In my access.log I have lines like this:
192.168.2.2 - - [16/Dec/2006:16:54:36 +0100] "GET /web/index.php HTTP/1.1" 200 26 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1"
In my error.log I've just :
[Sat Dec 16 16:58:35 2006] [notice] Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-16 mod_ssl/2.0.54 OpenSSL/0.9.7e configured -- resuming normal operations
I really not understand what's happend, it's strange, no image appears in logs files or what ever.
Edit : when i try to access web/admin i see in my error.log :
[Sat Dec 16 17:10:26 2006] [error] [client 192.168.2.2] File does not exist: /var/www/web/themes/style.css, referer: http://192.168.2.3/web/admin/
and in my access.log :
192.168.2.2 - - [16/Dec/2006:17:10:26 +0100] "GET /web/admin HTTP/1.1" 301 368 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1"
192.168.2.2 - - [16/Dec/2006:17:10:26 +0100] "GET /web/admin/ HTTP/1.1" 200 503 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1"
192.168.2.2 - - [16/Dec/2006:17:10:26 +0100] "GET /web/themes//style.css HTTP/1.1" 404 350 "http://192.168.2.3/web/admin/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1"
fw:/var/log/apache2#
thanks
tozaz
26th February 2006, 20:53
Finnally i've switched to apache1 and now mydns works like a charm.
If someone have any experience with apache2 and mydnsconfig on debian 3.1 I will enjoy to know how to do working together.
Thks
tozaz
26th February 2006, 21:19
Arf ! I spoke to fast ! had worked a few seconde.
I saw the login page, i am logged in as admin/admin, saw the PHPSESSID php variable but nothing in the page all the page was white. After that when i return to web/index.php i see a white page .
Is my fstab seems good for php sessions ?
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
/dev/sda9 /home ext3 noatime,usrquota,grpquota 0 2
/dev/sda8 /tmp ext3 noatime,noexec,nodev,nosuid 0 2
/dev/sda5 /usr ext3 defaults 0 2
/dev/sda6 /var ext3 defaults 0 2
/dev/sda7 none swap sw 0 0
/dev/hda /media/cdrom0 iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
falko
26th February 2006, 21:29
/etc/fstab doesn't have anything to do with PHP or Apache.
What happens when you go to http://192.168.2.3/web/ ?
tozaz
26th February 2006, 21:43
I've done a screenshot :
http://dl-3.free.fr/52616e646f6d4956d10786b5a285d5531764d27dd05ceaf18c 276819bedff797/problem.PNG
Note that no html code is display
the admin.php included in contrib/ in the Mydns-xxx.tar.gz works well.
thanks
falko
27th February 2006, 01:11
I've done a screenshot :
http://dl-3.free.fr/52616e646f6d4956d10786b5a285d5531764d27dd05ceaf18c 276819bedff797/problem.PNG
What's that? :confused:
Please post the output of ls -la /tmp
tozaz
27th February 2006, 03:23
fw:~# ls -la /tmp
total 16
drwxrwxrwt 5 root root 1024 2006-12-16 23:04 .
drwxr-xr-x 21 root root 1024 2006-12-12 22:32 ..
drwxrwxrwt 2 root root 1024 2006-12-16 22:53 .ICE-unix
drwxr-xr-x 2 root root 12288 2006-12-12 22:29 lost+found
drwxrwxrwt 2 root root 1024 2006-12-16 22:53 .X11-unix
fw:~# ls -la /var/lib/php4/
total 12
drwx-wx-wt 2 root root 4096 2006-12-17 02:16 .
drwxr-xr-x 21 root root 4096 2006-12-16 22:54 ..
-rw------- 1 www-data www-data 249 2006-12-17 02:16 sess_9edeaa8d761f698aefc7511160e841d0
fw:~# cat /var/lib/php4/sess_9edeaa8d761f698aefc7511160e841d0
s|a:4:{s:2:"id";s:32:"9edeaa8d761f698aefc7511160e841d0";s:5:"theme";s:7:"default";s:8:"language";s:2:"fr";s:6:"module";a:4:{s:4:"name";s:5:"login";s:5:"title";s:5:"Login";s:8:"template";s:14:"module.tpl.htm";s:9:"startpage";s:15:"login/index.php";}}
fw:~# date
dim déc 17 02:24:14 CET 2006
fw:~#
my system has a wrong date i change it
when i try links http://localhost the probleme is the same (redirecting to web/index.php ok but still have a white page)
perhaps my phpinfo session output can help :
session
Session Support enabled
Registered save handlers files user
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/lib/php4 /var/lib/php4
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid Off Off
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.