| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
HACKING ATTEMPT !!! HOW TO FIX IT??? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
HACKING ATTEMPT !!! HOW TO FIX IT???
Hi,
i have changed the anonymous_checkout.tpl. There i placed my design including the auth.tpl code. Eveyting works great. But instead the image buttons i want to use standard form buttons. Now i wanted to change the REGISTER LINK to a button: so i removed the text link and placed that code into it Code:
If i click on that button, i get an error HACKING ATTEMPT. What did i wrong? Thanks Saskia Version: 3.5.1 |
|||||||
#2
|
|||||||
|
|||||||
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:
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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|