Bug #17284 Updated: "dk.php.net/mail" gives unexpected results.

From: Date: Wed, 05 Jun 2002 10:43:38 +0000
Subject: Bug #17284 Updated: "dk.php.net/mail" gives unexpected results.
References: 1  Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-10683@lists.php.net to get a copy of this message
ID: 17284 Updated by: toni.viemero@iki.fi Reported By: tais.hansen@osd.dk Status: Open Bug Type: Website problem Operating System: Debian/GNU PHP Version: 4.0.3pl1 New Comment: I fiddled around with phpinfo() in ErrorDocument. It seems like $REDIRECT_REDIRECT_ERROR_NOTES, which error/index.php uses, doesn't exists. By looking at Apache documents, $REDIRECT_ERROR_NOTES is the Right Way(tm) to do this. 's/REDIRECT_REDIRECT_ERROR_NOTES/REDIRECT_ERROR_NOTES' in phpweb/error/index.php should fix this problem. I tested in fi.php.net by doing this and error/index.php is working now as expected. Previous Comments: ------------------------------------------------------------------------ [2002-05-30 20:05:53] trond@nordheim.no I experienced the same thing yesterday myself. I was reading through the manual lookup functions and errors/index.php without really finding the issue intil I just echoed the URL errors/index.php was about to redirect to, just to see what it tried to do... Then I was it was redirecting to http://php.brainpeddlers.com/search.php?blablabla. Just to be on the safe side I changed the ServerName on that virtualhost from php.brainpeddlers.com to no2.php.net, and then it worked. Makes sense, really. php.selfdestruct.net isn't in the phpweb list of mirrors (am.php.net is), so the check for weither or not your mirror has searching enabled will then return false... and it will use www.php.net instead. Try changing the ServerName to the actual mirror name, and see if it helps. :) ------------------------------------------------------------------------ [2002-05-30 19:22:27] toni.viemero@iki.fi I did a identical copy of fi.php.net to another machine. When I change the ErrorDocument directive to /error/index.php http://php.selfdestruct.net/mail ends up in www.php.net whole site search. When I change the ErrorDocument directive to /error/ http://php.selfdestruct.net/mail ends up in manual/en/ref.mail.php In fi.php.net both ErrorDocument directives ends up in www.php.net whole site search. fi.php.net running Debian GNU/Linux woody, PHP version 4.2.1 php.selfdestruct.net running Debian GNU/Linux woody, PHP version 4.1.2 ------------------------------------------------------------------------ [2002-05-30 17:04:48] tais.hansen@osd.dk Yeah. se.php.net is even worse. Nothing turns up on echo and mail. ------------------------------------------------------------------------ [2002-05-30 14:18:38] goba@php.net This is still buggy. dk.php.net/echo brings up cyrus functions, huh... ------------------------------------------------------------------------ [2002-05-30 04:14:56] tais.hansen@osd.dk Corrected PHP version and OS. ------------------------------------------------------------------------ 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/17284 -- Edit this bug report at http://bugs.php.net/?id=17284&edit=1

« previous php.mirrors (#10683) next »