ID: 22983 Updated by: [EMAIL PROTECTED] Reported By: luke at cywh dot com -Status: Open +Status: Feedback Bug Type: HTTP related Operating System: Windows XP PHP Version: 4CVS-2003-03-31 (stable) New Comment:
Please try running PHP as CGI under Apache so we know if this is Apache2 module specific or not. (and you should make sure you really updated ALL the dlls and especially the php4apache2.dll) Previous Comments: ------------------------------------------------------------------------ [2003-03-31 18:43:36] luke at cywh dot com i dont know if this helps but on the status bar it says "unknown zone" at the bottom when trying to load the phpinfo file. ------------------------------------------------------------------------ [2003-03-31 18:38:21] luke at cywh dot com yes im sure i installed them correctly. i have them installed as a module in apache 2.0.44 ------------------------------------------------------------------------ [2003-03-31 18:37:24] luke at cywh dot com ok there is definatly something seriosly going wrong. ok i updated to the 8:30 one today. when i went to phpinfo.php like you instructed me to (my phpinfo file), it loads and then flashes and goes blank. so i have no idea what build it is. as far as i know it still happens because it happens on remote computers and im not sure if its still happening or not. but if phpinfo() isnt working on my machine, something is definatly up. http://cytech.cywh.com/phpinfo.php using IE 6 ------------------------------------------------------------------------ [2003-03-31 18:09:34] [EMAIL PROTECTED] In what snapshot (from when?) did this work? And are you absolutely, 100% sure you have installed the new snapshot correctly? (windows seems to be a bit picky sometimes, need to reboot even to get some files updated, etc.) Check the phpinfo() output for the build date and version. ------------------------------------------------------------------------ [2003-03-31 17:53:54] luke at cywh dot com alright... i have this file which is the basic for my entire website. i have it broken up with If statements, and use the $_GET statment to determine what contents to display. in this file i have my header, which is always displayed, and my footer. the way i have it setup is i have my header... under it i have a table with two columbs. the one of the left contains another table that has my menu, and the columb on the right contains the php code. and under that i have my footer. the php code contains if statements such as this.... $var=$_GET['action']; if(!$var) { //displays contents for main page } if($var=="artic") { //displays contents for the articles section } if($var=="search") { //displays search results (code) } if($var=="wh") { //displays web hosting plans } basically something like that. so the whole page is like.... <html> <head><title>mypage</title> </head> <style> a { stuff for links } a:hover { stuff for links when mouse is hovered over it } </style> <body> <!--- header goes here ---> <table width="100%"> <tr> <td width="150"> <!--- menu stuff goes here. links to like file.php?action=value---> </td> <td> <!-- body of the page. contains the php if statments ---> </td> </tr> </table> <!--- copywright footer goes here ---> </body> </html> and thats basicaly it. now what it should do is when a specified value for 'action' is given, it should give me the information. like for eaxmple if i clicked on a link and it took me to index.php?action=wh. what that should give me is a table inside the body columb that lists hosting prices for different plans and such. what it does is it loads the header, and then all of a sudden goes blank and comes up with a "Page Cannot Be Displayed". some of the contents of the if statments have the actual html code in it like.... <?php $var=$_GET['action']; if($var=="statment") { ?> <!--- html code here ---> <?php } ?> and some of them are like this... <?php $var=$_GET['action']; if($var=="statment") { include "somefile.html"; } ?> here is my page... http://www.cywh.com/index.php here is the source... http://www.cywh.com/index.phps ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22983 -- Edit this bug report at http://bugs.php.net/?id=22983&edit=1