Help w/ new install - setup.php only displays blank page

I have installed all of the latest & greatest versions of apache, php & mysql on a windows 2003 server and have followed all of the instructions to the tee. When ever I navigate to www.mydomain.net/zenphoto/zp-core/setup.php all I get is a blank page. I have looked at the logs and do not see anything out of the ordinary. I have created an info.php and it will display properly. Any suggestions would be greatly appreciated.

Thanks in advance!!

Comments

  • i thought I might also add that I have configured zp-data/zp-config.php to contain the proper mysql login info.
  • Usually this is caused by a script error. Is there any HTML for the page? (view source to see it.)

    How do you mean you "followed all the instructions" and that you have "configured zp-data/zp-config.php"? Normally following the directions would not involve you making changes to the config file--setup would do that for your.
  • Thanks for the quick reply. When I view source on the setup.php page this is what I see

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=utf-8"></HEAD>
    <BODY></BODY></HTML>

    the reason i edited the zp-config.php was because I could not get the setup.php to do anything so I thought I would edit it myself to see if it would help. Anymore help would be greatly appreciated.
  • I might also add that I don't have a .htaccess file in the zenphoto folder; should I have that file? If so, how do I get a copy of it. I have downloaded zenphoto a couple of different times and it did not have it.
  • Nevermind about the .htaccess, I was able to find it, just looking in the wrong folder. Still get the blank page on the setup.php though
  • acrylian Administrator, Developer
    Well, there must be some errors somewhere, in the server's error log for example. Otherwise all we do is wild guessing.

    Btw, setup actually would also create the htaccess file normally.
  • The HTML you show did not come from the setup.php script. So something is preventing it from running. You will need to carefully examine your server logs.
  • I have looked in event view on the windows server 2003 and at the error.log and access.log in the apache folder and do not see any errors. The access.log does show me attempting to access setup.php. I have included a couple of lines from that log for your viewing pleasure.

    192.168.254.1 - - [27/Feb/2010:23:54:09 -0600] "GET /zenphoto/zp-core/admin.php HTTP/1.1" 200 399
    192.168.254.1 - - [27/Feb/2010:23:55:31 -0600] "GET /zenphoto/zp-core/setup.php HTTP/1.1" 200 -
    192.168.254.1 - - [28/Feb/2010:15:11:44 -0600] "GET /zenphoto/zp-core/setup.php HTTP/1.1" 200 -
    192.168.254.1 - - [28/Feb/2010:15:11:44 -0600] "GET /zenphoto/zp-core/setup.php HTTP/1.1" 200 -
    192.168.254.1 - - [28/Feb/2010:15:11:47 -0600] "GET /zenphoto/zp-core/setup.php HTTP/1.1" 200 -

    What other logs are there that I could look at? I know I am not giving you much to work on, I just don't know what else to do. I have 30-40 hrs in on this and have read almost every post in the install forum. I am sure it is something simple that I am just missing. Thanks again!!
  • I would guess that this is a file permissions problem, but that is only a guess. Setup did not create the html for that page, something else did. I'm afraid I have no experience with using a W2000 server.
  • If you are using Apache 2.2 (not the latest alpha) and PHP 5, there is supposedly a problem with one or the other that (I've heard) causes a similar issue. You might want to try either the latest Apache alpha or falling back to an older version. I don't know if this issue has been fixed in the alpha, but supposedly reverting to an older version will work.
  • You also might want to try starting httpd.exe through the command line and going from there. It may produce an error that, for whatever reason, isn't written to the error logs.
  • Thanks for the suggestions, kagutsuchi! I ended up uninstalling everything and went with EasyPHP just to see if I could make it work or not and it worked exactly like it was suppose to. You are not suppose to use these WAMP installs in a production environment, so I am going to uninstall everything one more time and try the older versions like you suggested. Thanks again!
Sign In or Register to comment.