white page, no error, but still not work.

Discussion in 'General' started by tozaz, Feb 26, 2006.

  1. tozaz

    tozaz New Member

    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
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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?
  3. tozaz

    tozaz New Member

    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">
    <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>

    I use firefox and IE under MS Windows XP.

    Thanks to help me
    Last edited: Feb 26, 2006
  4. falko

    falko Super Moderator ISPConfig Developer

    What's in your Apache error log?
  5. tozaz

    tozaz New Member

    Thanks for your help !

    In my access.log I have lines like this: - - [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: Gecko/20060111 Firefox/"

    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] File does not exist: /var/www/web/themes/style.css, referer:

    and in my access.log : - - [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: Gecko/20060111 Firefox/" - - [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: Gecko/20060111 Firefox/" - - [16/Dec/2006:17:10:26 +0100] "GET /web/themes//style.css HTTP/1.1" 404 350 "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20060111 Firefox/"

    Last edited: Feb 26, 2006
  6. tozaz

    tozaz New Member

    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.

  7. tozaz

    tozaz New Member

    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
  8. falko

    falko Super Moderator ISPConfig Developer

    /etc/fstab doesn't have anything to do with PHP or Apache.
    What happens when you go to ?
  9. tozaz

    tozaz New Member

  10. falko

    falko Super Moderator ISPConfig Developer

  11. tozaz

    tozaz New Member

    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

    fw:~# date
    dim déc 17 02:24:14 CET 2006

    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 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
    Last edited: Feb 27, 2006

Share This Page