|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Registered
Join Date: Jan 2005
Location: Australia
Posts: 24
Reputation: 0
|
Requesting help to understand PHP error
This doesn't relate to a problem I'm having with PHP I've written... haven't taken that road yet. But I would appreciate some help in understanding why I'm getting a PHP error on something I'm doing online on one machine, but not getting it on another (with a different internet connection).
Currently a scifi website is running a poll asking for viewer choices of favorite episodes of a series via a checkbox/submit set up - (www_dot_scifi_dot_com/stargate/poll) When I vote in this on my home machine (Windows XP, running both IE and Firefox), I keep getting the following error: Fatal error: Call to undefined function: fake404() in /home/scifi/web/docs/stargate/poll/poll.php on line 10 However, when I do it at work (also Windows XP, running IE), I don't - it votes properly. I'm thinking this means there is something wrong with my setup at home. I've tried turning off adwatch and Zone Alarm, but it doesn't make a difference. Does anyone know what it might be, or where I might find out? I'm not so much anxious about voting, but I'm wondering if this is going to become a recurring problem, given the high use of php in web design now... and whether there's some basic problem with my set up/security or something that is causing this. Bests Mon |
|
|
|
|
#2 |
|
Join Date: Mar 2003
Location: Agawam, MA
Posts: 915
Reputation: 130
|
That error tells you all you need to know -- the PHP script is trying to call a function called fake404(), but the function was never defined. It is impossible to determine why this is happening without seeing the script and the traffic which is causing the error. My guess would be that the script does some sort of validation/checking (perhaps based on IP address), and sends unwanted visitors to the fake404() function which would likely send them a 404 Not Found error (even though the request really was accepted). But that's just a guess.
|
|
|
![]() |
| Thread Tools | |
|
|