|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-06-23 02:53 UTC] Beech dot 7 at osu dot edu
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". PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 06:00:01 2025 UTC |
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; } ?><? 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; } ?>