Author |
Message |
15/02/2007 20:11:15
|
jennbell
Beginner
Joined: 10/07/2006 15:00:41
Messages: 17
Offline
|
the captcha is off, and I still get the same error
Now, I can post, but it does not matter if the password is filled in or not. because it posts regardless.
|
|
15/02/2007 20:31:41
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
The problem is that gb_token is empty. What changes did you make to the files?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
15/02/2007 20:36:01
|
jennbell
Beginner
Joined: 10/07/2006 15:00:41
Messages: 17
Offline
|
I just basically moved the password from the comment php to the form.php, and put all of the required fields in the add-class.
So if the gb_token is empty that would certianly make sense....how might I fix that?
|
|
15/02/2007 20:38:16
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Somewhere in add.class.php it must be called. Look in form.php to see what the variable name is then look in add.class.php.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
15/02/2007 20:45:18
|
jennbell
Beginner
Joined: 10/07/2006 15:00:41
Messages: 17
Offline
|
"pass_comment" is being called up in add.class
as a var
and also have it called up like
$this->need_pass = (pass_comment) ? true : false;
and also have added this to the add.class
" if ($this->db->VARS["pass_comment"]==1) {
if ($this->db->pass_comment($this->pass_comment)) {
return $this->db->gb_error($this->db->LANG["ErrorPost9"]);
} } "
and also have this
} if ($this->pass_comment) {
$this->db->query("DELETE FROM {$this->table['cap']} WHERE session_id = '{$this->token}'");
|
|
16/02/2007 15:48:50
|
jennbell
Beginner
Joined: 10/07/2006 15:00:41
Messages: 17
Offline
|
I am still having problems trying to figure out how to get this to work, and have also come across this error on the page.
Line 124
Char 10
Error: Syntax Error
Code 0
|
|
|