You cannot signup this guestbook at the moment!

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
trmay0519
Posts: 3
Joined: Sat Jul 01, 2006 9:17 pm

You cannot signup this guestbook at the moment!

Post by trmay0519 »

Script URL: (Removed by Klemen as requested by Author)
Version of script: 1.41
Version of PHP: ??
Hosting company: none
Have you searched THIS FORUM for your problem: thoroughly
(if not please do before posting)
If so, what terms did you try: error

Write your message below:

I have tried almost every combination to stop getting this error message. I would love to get this set up for my daughter. If I have "angered the SPAM gods" please help me please them!
Anthony May
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

You have some other problem, probably with sessions. What is your $settings['junkmark_limit'] set to in setting.php?

Also upload these two files to your server and post a link to them here:
http://www.phpjunkyard.com/extras/phpinfo.zip
http://www.phpjunkyard.com/extras/session_test.zip

You haven't been editing gbook.php, have you?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
trmay0519
Posts: 3
Joined: Sat Jul 01, 2006 9:17 pm

Post by trmay0519 »

What is your $settings['junkmark_limit'] set to in setting.php?
It is 60

(Removed by Klemen as requested by Author) is where I posted the files.
You haven't been editing gbook.php, have you?
I only changed one line I found that you posted to change the date stamp to include the time. It was doing this before the change. I also only changed the 'style.css' file to change the background color.

Thanks for all your help. I'm learning how to do all this stuff as I go.

Here is what my settings file is currently just so you can see

/* Use "Your website" field? 1 = YES, 0 = NO */
$settings['use_url']=0;

/* Allow private posts (readable only by admin)? 1 = YES, 0 = NO */
$settings['use_private']=1;

/* Allow smileys? 1 = YES, 0 = NO */
$settings['smileys']=1;

/* Send you an e-mail when a new entry is added? 1 = YES, 0 = NO */
$settings['notify']=1;

/* Your e-mail. Only required if $settings['notify'] is set to 1 */
$settings['admin_email']='hadley@***************;

/* URL of the gbook.php file. Only required if $settings['notify'] is set to 1 */
$settings['gbook_url']=(Removed by Klemen as requested by Author);

/* Filter bad words? 1 = YES, 0 = NO */
$settings['filter']=1;

/* Filter language. Please refer to readme for info on how to add more bad words
to the list! */
$settings['filter_lang']='en';

/* Prevent automated submissions (recommended YES)? 1 = YES, 0 = NO */
$settings['autosubmit']=1;

/* Checksum - just type some digits or chars. Used to help prevent SPAM */
$settings['filter_sum']='***********';

/* Use JunkMark(tm) SPAM filter (recommended YES)? 1 = YES, 0 = NO */
$settings['junkmark_use']=1;

/* JunkMark(tm) score limit after which messages are marked as SPAM */
$settings['junkmark_limit']=60;

/* Show "NO GUESTBOOK SPAM" banner? 1 = YES, 0 = NO */
$settings['show_nospam']=0;

/* Prevent multiple submissions in the same session? 1 = YES, 0 = NO */
$settings['one_per_session']=0;

/* Maximum chars word length */
$settings['max_word']=75;


/* >>> OPTIONAL SETTINGS <<< */

/* Name of the file where guestbook entries will be stored */
$settings['logfile']="entries.txt";


/* DO NOT EDIT BELOW */
if (!defined('IN_SCRIPT')) {die('Invalid attempt!');}
?>
Anthony May
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hello,

Just as I thought, you are having problems with sessions. Contact your hosting company and ask them to check PHP setup because sessions don't seem to work. You can give them this simple test file for reference:
(Removed by Klemen as requested by Author)
Last edited by Klemen on Sat Jan 20, 2007 2:06 pm, edited 1 time in total.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
trmay0519
Posts: 3
Joined: Sat Jul 01, 2006 9:17 pm

Post by trmay0519 »

:D That was the correct problem! My host had to set the session save path!

Thank you so much for this script and all your help!
Anthony May
ravetildon1
Posts: 28
Joined: Tue Mar 07, 2006 5:56 am

info

Post by ravetildon1 »

I have been trying to sign a couple guestbooks and get that same message.
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Ravetildon1,

Please don't post the same question in 8 topics, posting it ONCE is enough.

If you read any of the topics you posted to you would have already known - the "You cannot signup this guestbook at the moment!" appears when you do something to angry the JunkMark filter. Once you get that message GBook will not allow you to post anything during the same browser session. You need to close ALL browser windows before you will be able to post again.

You can enable posting URL simply by setting $settings['use_url'] to 1 in settings (version 1.41). This will add the "Website URL" field to the GBook but you still won't be able to post URLs in comments because they do not belong there and posting URLs in comments is being abused by spammers.

The philosophy behind is that a GUESTBOOK is meant for other people to post comments about YOUR website and not advertise their own sites.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ravetildon1
Posts: 28
Joined: Tue Mar 07, 2006 5:56 am

sorry

Post by ravetildon1 »

sorry, my bad.

I though i had read em, but coudl not figure it out...
dlarocca
Posts: 4
Joined: Fri Jul 14, 2006 2:26 pm

same problem

Post by dlarocca »

Hello, I am getting the same error as trmay0519. I have gone through all the fixes and I'm still getting the "You cannot signup this guestbook at the moment!" error.

Here is my settings.php code:

Code: Select all

<?php
/* >>> SETUP YOUR GUESTBOOK <<< */
/* Detailed information found in the readme file */
/* File version: 1.4 $ Timestamp: May 9 2006 17:48 */

/* Password for admin area */
$settings['apass']='******';

/* Website title */
$settings['website_title']="Cerebral-Art";

/* Website URL */
$settings['website_url']='http://www.Cerebral-Art.com/';

/* Guestbook title */
$settings['gbook_title']="Cerebral-Art - guestbook";

/* Use "Your website" field? 1 = YES, 0 = NO */
$settings['use_url']=1;

/* Allow private posts (readable only by admin)? 1 = YES, 0 = NO */
$settings['use_private']=1;

/* Allow smileys? 1 = YES, 0 = NO */
$settings['smileys']=1;

/* Send you an e-mail when a new entry is added? 1 = YES, 0 = NO */
$settings['notify']=1;

/* Your e-mail. Only required if $settings['notify'] is set to 1 */
$settings['admin_email']='Cerebr4l@gmail.com';

/* URL of the gbook.php file. Only required if $settings['notify'] is set to 1 */
$settings['gbook_url']='http://www.cerebral-art.com/guestbook/gbook.php';

/* Filter bad words? 1 = YES, 0 = NO */
$settings['filter']=0;

/* Filter language. Please refer to readme for info on how to add more bad words
to the list! */
$settings['filter_lang']='en';

/* Prevent automated submissions (recommended YES)? 1 = YES, 0 = NO */
$settings['autosubmit']=1;

/* Checksum - just type some digits or chars. Used to help prevent SPAM */
$settings['filter_sum']='du3psfwewr';

/* Use JunkMark(tm) SPAM filter (recommended YES)? 1 = YES, 0 = NO */
$settings['junkmark_use']=1;

/* JunkMark(tm) score limit after which messages are marked as SPAM */
$settings['junkmark_limit']=60;

/* Show "NO GUESTBOOK SPAM" banner? 1 = YES, 0 = NO */
$settings['show_nospam']=0;

/* Prevent multiple submissions in the same session? 1 = YES, 0 = NO */
$settings['one_per_session']=1;

/* Maximum chars word length */
$settings['max_word']=75;


/* >>> OPTIONAL SETTINGS <<< */

/* Name of the file where guestbook entries will be stored */
$settings['logfile']="entries.txt";


/* DO NOT EDIT BELOW */
if (!defined('IN_SCRIPT')) {die('Invalid attempt!');}
?>

--------

I also uploaded both of the files you suggested to trmay0519 and they are located here: http://www.cerebral-art.com/gbook/

Thanks very much for giving out this guestbook! I just want to get it to work ;)[/code]
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

This is one of the first 5 topics in GBook forum (sticky), have you READ it?
viewtopic.php?t=938
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
dlarocca
Posts: 4
Joined: Fri Jul 14, 2006 2:26 pm

Post by dlarocca »

Yes, I read it. I closed all browser windows, I tried using firefox and IE, I turned urls on and off and it still doesn't work. Am I missing something?
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Ah, you seem to have problems with sessions..Upload these two files to your server and post a link to them here, will have a look:
http://www.phpjunkyard.com/extras/phpinfo.zip
http://www.phpjunkyard.com/extras/session_test.zip
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
dlarocca
Posts: 4
Joined: Fri Jul 14, 2006 2:26 pm

Post by dlarocca »

The files have been uploaded here: http://www.cerebral-art.com/gbook/

Thanks for taking a look.
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Yep, you're having problems with sessions in general.

Contact your hosting company and ask them to properly configure PHP sessions. Changing session.save_path in php.ini from the default value /var/php_sessions to a valid session folder should fix everything.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
dlarocca
Posts: 4
Joined: Fri Jul 14, 2006 2:26 pm

Post by dlarocca »

That fixed it, thanks!
Post Reply