peterisgb Posted December 23, 2011 Share Posted December 23, 2011 hi, i need a little help, everything on the game is double doing everything, when you log in the count puts double in (logginedin.php) crimes (criminal.php) gym, and banks. i know that these aint the pages which the error is on, i've looked thro the globals, header, global_func and i cant see what is doing it. i checked for double posts and still cant see why this is doing it, any help would be good, or hints on what i can do, or look for. Thanks. Quote Link to comment Share on other sites More sharing options...
peterisgb Posted December 23, 2011 Author Share Posted December 23, 2011 oh, the minutes time, and few other things work fine. and when you go traveling the cost is 10,000 and it takes 10,000 if you only have this much in your hand. but if you have 20,000 it takes 20,000, if you have more it still takes 20,000. Quote Link to comment Share on other sites More sharing options...
Dominion Posted December 23, 2011 Share Posted December 23, 2011 This has been asked twice in the last few days. I believe this thread ended with the users solving their problem - http://makewebgames.io/showthread.php/40703-Problems-with-queries-running-more-than-once Quote Link to comment Share on other sites More sharing options...
peterisgb Posted December 23, 2011 Author Share Posted December 23, 2011 thus this hasnt worked in my case. Quote Link to comment Share on other sites More sharing options...
Spudinski Posted December 23, 2011 Share Posted December 23, 2011 Well, you need to find out where the second request is being sent from. My suspicion would be an ajax request being sent to a wrong location, a.k.a. the current page. Have a look at your javascript, and try using Bug[something]er which is a Firefox plugin. An alternative is Opera's Dragonfly, which is in my opinion just as good. Chrome has a javascript console as well. Quote Link to comment Share on other sites More sharing options...
peterisgb Posted December 23, 2011 Author Share Posted December 23, 2011 i can see nothing in any of these pages aswell Quote Link to comment Share on other sites More sharing options...
Djkanna Posted December 23, 2011 Share Posted December 23, 2011 Well, you need to find out where the second request is being sent from. My suspicion would be an ajax request being sent to a wrong location, a.k.a. the current page. Have a look at your javascript, and try using Bug[something]er which is a Firefox plugin. An alternative is Opera's Dragonfly, which is in my opinion just as good. Chrome has a javascript console as well. Firebug? Perhaps. Quote Link to comment Share on other sites More sharing options...
Spudinski Posted December 23, 2011 Share Posted December 23, 2011 Firebug? Perhaps. Yes. it is. Quote Link to comment Share on other sites More sharing options...
peterisgb Posted December 24, 2011 Author Share Posted December 24, 2011 huh? i dont get what you mean Quote Link to comment Share on other sites More sharing options...
peterisgb Posted December 24, 2011 Author Share Posted December 24, 2011 i have fixed it, it was to do with the css in header???? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.