![]() |
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:
<form action="register.php" method="post"> If i click on that button, i get an error HACKING ATTEMPT. What did i wrong? Thanks Saskia Version: 3.5.1 |
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") { 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. :? |
All times are GMT -8. The time now is 07:53 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.