gbook/gbook.php on line 1325

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
wild
Posts: 6
Joined: Mon May 16, 2011 12:06 pm

gbook/gbook.php on line 1325

Post by wild »

Script URL: ?
Version of script: 1.7
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Forum, Google

Write your message below:

Hi, I'm new here. I get the following error

PHP Warning: session_regenerate_id() [<a href='function.session-regenerate-id'>function.session-regenerate-id</a>]: Cannot regenerate session id - headers already sent in public_html/gbook/gbook.php on line 1325

I get this if I type in the word Pharmacy

I've tried a few things but nothing working.

Hope you can help
Last edited by wild on Tue May 17, 2011 6:56 am, edited 2 times in total.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: gbook/gbook.php on line 1325

Post by Klemen »

Upload the original/unmodified gbook.php back to the server.
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
wild
Posts: 6
Joined: Mon May 16, 2011 12:06 pm

Re: gbook/gbook.php on line 1325

Post by wild »

Thanks for getting to me. I'm using an Extension by WYSIWYG Web Builder, I never modified the gbook.php, a little change in setting and languages only and header .txt. Would you like me to upload? is it secure to do that? I tried it again being a new day and the date was the same as when I was trying last night.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: gbook/gbook.php on line 1325

Post by Henrie »

It is probably something you put in header.txt than. Please post the contents of the header.txt file here, or post a link to your guestbook as is asked in the fields that are asked to be filled when you start a new question
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
wild
Posts: 6
Joined: Mon May 16, 2011 12:06 pm

Re: gbook/gbook.php on line 1325

Post by wild »

Hi Henrie, thanks for joining in. All I did in the header was hit enter so there was a gap between boarder and the word in my case Noticeboard not Guestbook.

Do you mean a link such as....
http://www.domainname.com.au/noticeboard.html - There no info here - OR
http://www.domainname.com.au/gbook/gbook.php ? There info in view source on this one

Please be patient I don't know html and php etc which is why I use WYSIWYG Web Builder and their extensions.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: gbook/gbook.php on line 1325

Post by Henrie »

Yes, a link like that. But than with the actual link to your guestbook. Than maybe we can see what is causing the error.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: gbook/gbook.php on line 1325

Post by Klemen »

Like Henrie said, please post the link to your guestbook (a link to the gbook.php file on your server), so we can test it.

If you didn't modify gbook.php it's indeed possible something went wrong in the settings or language file. If you upload the original (unmodified) settings and language file it probably works fine?
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
wild
Posts: 6
Joined: Mon May 16, 2011 12:06 pm

Re: gbook/gbook.php on line 1325

Post by wild »

Ok the link is http://www.mountdruittlac.com.au/gbook/gbook.php

The link for the extension is http://www.mediafire.com/?v4izz0qyz0d
I don't think that will help though as it's a .wbx file and WYSIWYG generates the gbook file, languages etc when you publish web site.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: gbook/gbook.php on line 1325

Post by Henrie »

I do not get the error you mentioned in your first post. When I write a message that contains the word Pharmacy I just get blocked and get the error message "You cannot sign this Noticeboard at this time!".
So all seems to be working fine from what I can see.

I posted using Firefox 4.0.1.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
wild
Posts: 6
Joined: Mon May 16, 2011 12:06 pm

Re: gbook/gbook.php on line 1325

Post by wild »

I got that error from the error log file that is created in the gbook folder.

Sorry, yes when trying to post online you just get .... Error You cannot sign this Noticeboard at this time! ... did you see the word in red Error? if you try to post a message like hi you will get ... Thank you. Your entry has been submitted for approval.

Whilst trying everything I could think of before posting I noticed in the gbook folder an error log file had been created, I opened and posted that instead thinking it was of more use.

The complete post works if I leave the word Pharmacy out. I checked the bad words list and can't see in there any hint as to why either. And as you can see there is a swag of posts that worked no probs.

I just tried the word drugs and get Error You cannot sign this Noticeboard at this time! so maybe my issue is the bad words list, what do you think? if I look in that list none of the words hint to me which to remove? a good words list would be handy :)
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: gbook/gbook.php on line 1325

Post by Henrie »

This is not caused by the bad words filter. The bad words filter only shows asterisks instead of the bad word.

The error you get now is caused by the JunkMark spam filter which is there to prevent spam getting into your guestbook. Because Pharmacy is a often used word in spam messages it triggers the spam filter. To be able to use the word Pharmacy you can set the JunkMark less sensitive by changing the setting $settings['junkmark_limit']=71; in the settings.php file. By setting it to a value of 71 or higher, you will be able to use the word Pharmacy once in a post.

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
wild
Posts: 6
Joined: Mon May 16, 2011 12:06 pm

Re: gbook/gbook.php on line 1325

Post by wild »

Hi Henrie, I fiddled with that before coming here and it wasn't working, maybe I was going down rather than up. Well that certainly did the trick, thanks very much for your help, really appreciated :D
Post Reply