If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Huge SPAM problem!  XML
Forum Index » Advanced Guestbook Forum
Author Message
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.
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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?
Carbonize
Master
[Avatar]

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
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
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}'");
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
 
Forum Index » Advanced Guestbook Forum
Go to:   
Based on the open source JForum