ID: 11624
User Update by: [EMAIL PROTECTED]
Status: Open
Bug Type: Reproducible crash
Operating system: Windows2000 Proffesional SP1
PHP Version: 4.0.5
Description: memory error
i believe this is one of the scripts that may be causing an error, but i find nothing.
<?
include("functions.php");
if (! isset($HTTP_POST_VARS["op"]))
$op = strtolower($HTTP_GET_VARS["op"]);
else
$op = strtolower($HTTP_POST_VARS["op"]);
switch($op) {
case "":
printHeader("$site_title - Submit News");
printMessage("Submit News", "Got a hot story? Fill in the details here and
submit it for review. An
unruly mob of $site_title editors and readers will poke, prod,
prick, and preen
your submission and, if the general consensus is that it doesn't
suck, it just might
get posted to the front page. Remember to check your spelling,
grammar, and links!");
printPostNews(0);
printFooter();
break;
case "preview":
printHeader("$site_title - Preview Submission");
printPostNews(1);
printFooter();
break;
case "post":
postNews($userinfo["user_id"], $HTTP_POST_VARS["topic"],
$HTTP_POST_VARS["section"], $HTTP_POST_VARS["title"], $HTTP_POST_VARS["department"],
$HTTP_POST_VARS["text"], $HTTP_POST_VARS["text2"], $HTTP_POST_VARS["format"], 1);
printHeader("$site_title - Submission Posted");
printMessage("Submission Posted", "Your submission has been posted to the
queue. $site_title editors and readers can now view it, rate it, and decide whether or
not they think it deserves to show up on the front page. Thanks!");
printFooter();
break;
}
?>
Previous Comments:
---------------------------------------------------------------------------
[2001-06-23 02:53:49] [EMAIL PROTECTED]
I get the below error anytime anyone tries to submit either news or tries to vote on
my site (www.totalentropy.org). Regretfully I am not able to find the precise script
at the moment (as it is 3 am and i am fscking tired). Best I can say is that it
ALWAYS happens. Thanks.
The instruction at "0x10091ceb" referenced memory at "0x00000000". The memory could
not be "read".
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11624
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]