Register in order to access new features like "Job Alert" and "Buyer Alert"

Login

Login
No account yet? Register

Latest Articles

Auction Factory Banner
Freelancer Jobs arrow Joomla arrow Joomla 1.0.10 custom login module problems
Jul 01 Joomla 1.0.10 custom login module problems PDF
After upgrading to 1.0.10 i had to notice that a custom loging module that i designed for a joomla solution stopped working.

For newly registered users i got a nasty Javascript alert featuring: "You are not authorised  to view this resource!"
(For developers it's a plain mosErrorAlert( _NOT_AUTH ); )
 
Ok, the issue here is the new security measure Joomla team added tha function: josSpoofCheck, whitch performs several checks for ip spoofing and injections.
 
In order your login module to work you need to add a "    $validate = josSpoofValue(1);  " to your PHP code before the output of the form , and a hidden input in the loginform :
    <input type="hidden" name="<?php echo $validate; ?>" value="1" /> 
 
There you go ;) now it should work! 
Comments
Add New Search
Write comment
Name:
Email:
 
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 
< Prev   Next >