View Single Post
  #2  
Old 31st July 2008, 21:08
djlee's Avatar
djlee djlee is offline
Senior Member
 
Join Date: Mar 2008
Posts: 183
Default
Verify that it works on that other tracker???
Does the other tracker use this exact same php file with nothing edited???
It the other tracker on same server???
Do both trackers use the same source???

i Cant see any reason for this working on one tracker and not on another.. id even say this php file would work on 90% of the sources ever developed.

the only thing i can really do without messing with it myself on your tracker is suggest you use a simple debug trick .. in the part where it is supposed to delete the user put in
Code:
die("error");
near the top.

If you see this message then you kno the page is executing to the die command .. so move the die command down a few lines and refresh it in your web browser after saving ofcourse.. if you see the error text again then you once again know its executing all the way to the die command and everything before the die command is fine. However if at any point you dont see the error text and just a white screen you know something is messed up before the die() command. by moving it about you should be able to figure out wats causing the problem.

Also change all your
Code:
or sqlerr();
on the end of the querys to
Code:
or sqlerr(__FILE__,__LINE__);
and if its one of the queries thats messing up the script that should show you exactly where in the query its borking
Reply With Quote