>>  Site Map >>  Forums >>  Installation [nCo Mod]

Forum module - topics in forum:



Installation [nCo Mod] - Installation Questions and Discussion



patch for ultra 7.6

Hello Smile i dunno if this is right place Smile


Well i had the nCo ultra 7.6 then i put in the patch and my arcade is not working anymore the high scores i destalled it then rteinstalled it.. and scores wont work can anyone tlel me if they know if it was from the patch?

-nat






Yes it was the patch. The arcade was made before the patch and hasnt been updated or worked on since then. So you have to make a decision do you risk the security of your site by unpatching it. Or do you simply let the arcade remain without the scores working. This is a decision that as a site owner you have to make on your own.






who needs scores Razz i would prolly beat them all anyways lol thank y9ou so muich hon i can always explain to my members Smile ty for ya help Smile






In 3.1 Patched Open your mainfile.php and find
Code: :
// Posting from other servers in not allowed
 // Fix by Quake
 // Bug found by PeNdEjO
 if ($_SERVER['REQUEST_METHOD'] == "POST") {
   if (isset($_SERVER['HTTP_REFERER'])) {
     if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
         die('Posting from another server not allowed!');
     }
   } else {
     die($posttags);
   }
 }

And comment it out so it looks like:
Code: :
// Posting from other servers in not allowed
 // Fix by Quake
 // Bug found by PeNdEjO
 //if ($_SERVER['REQUEST_METHOD'] == "POST") {
 // if (isset($_SERVER['HTTP_REFERER'])) {
 // if (!stripos_clone($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'])) {
 //        die('Posting from another server not allowed!');
 //    }
 //  } else {
 //    die($posttags);
 //  }
 //}

That should clear it up for you. Don't forget to make a backup of the mainfile.php BEFORE proceeding.






omg that worked man u guys are so good to me! hugssssssss thank you so miuch




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Valid HTML 4.01 Valid CSS