Jump to content
MakeWebGames

double everything..... Help


peterisgb

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...