Authenticate_visitor
#6
Posted 04 May 2006 - 07:40 PM
#7
Posted 10 May 2006 - 02:33 AM
#8
Posted 10 May 2006 - 03:28 AM
diazulu, on May 9 2006, 11:33 PM, said:
Please supply us with additional information so we can better assist you in resolving this issue... The following information, complete with version/release will be of great help... If the issue is browser-specific also include browsers tested and the results of each...
Server Operating System
Server Software
PHP version
MySQL
</generic_request>
#9
Posted 10 May 2006 - 09:43 AM
Then see if your error is gone, and then add the snippet call again, but place it between [! and !] instead of [[ and ]]
#10
Posted 22 May 2006 - 01:21 PM
<script type='text/javascript' src='./manager/media/script/validator.js'></script>
<script type="text/javascript">
<!--
var a_fields={
'frm_username':{'l':'Username:', 'r':'1', 't':'username_lbl', },
'frm_password':{'l':'Password:', 'r':'1', 't':'password_lbl', },
},
o_config = { 'to_disable' : ['Submit', 'Reset'], 'alert' : 1 }
var v = new validator('authenticate_visitor', a_fields, o_config);
//-->
</script>
#11
Posted 22 May 2006 - 01:25 PM
petrbok, on May 22 2006, 09:21 AM, said:
<script type='text/javascript' src='./manager/media/script/validator.js'></script>
<script type="text/javascript">
<!--
var a_fields={
'frm_username':{'l':'Username:', 'r':'1', 't':'username_lbl', },
'frm_password':{'l':'Password:', 'r':'1', 't':'password_lbl', },
},
o_config = { 'to_disable' : ['Submit', 'Reset'], 'alert' : 1 }
var v = new validator('authenticate_visitor', a_fields, o_config);
//-->
</script>
#12
Posted 22 May 2006 - 03:28 PM
The attached modified copy of manager/includes/form_class.php should resolve the errors reported... It should also address an issue with XHTML validation...
Attached Files
#13
Posted 23 May 2006 - 07:42 AM
#14
Posted 23 May 2006 - 08:58 AM
#15
Posted 23 May 2006 - 10:27 AM
#16
Posted 23 May 2006 - 10:35 AM
It would be nice if
a. the are included in the available download-package or
b. the fix'es are gathered in one spot - fx using the ShowFiles-snippet - easy and ready for download.
#17
Posted 23 May 2006 - 10:37 AM
It would be very unwise to include all fixes in the download immediately because we would have dozens of different releases.
#18
Posted 23 May 2006 - 11:30 AM
#19
Posted 03 June 2006 - 07:59 AM
If I call with id=2 with FURLS enabled, the url that's generated for redirect is:
"http://www.longtins.com/cm_test/2.html"
which fails, of course. If I instead pass alias=repository, I get:
"http://www.longtins.com/cm_test/repository.html"; or
"http://www.longtins.com/cm_test/.html"
depending on whether FALIASES are enabled, both of which also fail (though I think the "repository.html" one should work since FURLS are enabled??). I suppose it's not crucial that I use FURLS, but I'd like to. I'm on Prelude Final. Suggestions?
#20
Posted 03 June 2006 - 08:09 AM
shanester, on Jun 3 2006, 08:59 AM, said:
edit:
... and make sure the page you are trying to redirect to is published! repository seems an odd choice ...
Edited by mikef, 03 June 2006 - 08:15 AM.
#21
Posted 03 June 2006 - 10:31 AM
#22
Posted 03 June 2006 - 02:01 PM
#23
Posted 03 June 2006 - 02:48 PM
shanester, on Jun 3 2006, 10:01 AM, said:
#24
Posted 18 June 2006 - 03:40 PM
If I log in with the correct id and password, it just redisplays the login form; it doesn't display 'logout' instead, so $_SESSION['validated'] must be false, looking at the code. The EtoGal page I'm using it for also fails to detect that anyone is logged in; it uses the code
$userdetails=$etomite->userLoggedIn();
if($userdetails['id']) {
... to detect if anyone is logged in.If I attempt to login using an incorrect password, an error message is printed saying that the password is invalid, so its not that I've got the password wrong!
Edited by mikef, 18 June 2006 - 03:40 PM.
#25
Posted 18 June 2006 - 04:28 PM
mikef, on Jun 18 2006, 11:40 AM, said:
If I log in with the correct id and password, it just redisplays the login form; it doesn't display 'logout' instead, so $_SESSION['validated'] must be false, looking at the code. The EtoGal page I'm using it for also fails to detect that anyone is logged in; it uses the code
$userdetails=$etomite->userLoggedIn();
if($userdetails['id']) {
... to detect if anyone is logged in.If I attempt to login using an incorrect password, an error message is printed saying that the password is invalid, so its not that I've got the password wrong!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











