View Single Post
  #2  
Old 12-30-2003, 03:36 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

This has happened to me several times and each tim ei fix it I vow to record what I did, but each time I forget.

The culprit is :

Code:
if ($current_area != "A" && $current_area!=$usertype && $mode!="checkout") { echo "Hacking attempt!!!!"; exit; }

in include/register.php

1) Have you got a hidden field in the form that is named 'mode'?
2) Does it do this if you clear your cookies? - it might be because you are registering as a customer and the usertype recorded in the session is admin.

If all else fails, you could comment out that code and it will go away.
__________________
ex x-cart guru
Reply With Quote