New posts not added, but no error message

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
JPDeni
Posts: 2
Joined: Mon Nov 03, 2008 8:23 pm

New posts not added, but no error message

Post by JPDeni »

Script URL: http://www.jimandcarol.us/gbook/gbook.php
Version of script: 1.6
Hosting company: CharlottezWeb.com
URL of phpinfo.php: http://www.jimandcarol.us/gbook/phpinfo.php
URL of session_test.php: http://www.jimandcarol.us/gbook/session_test.php
What terms did you try when SEARCHING for a solution: "no error message", but of course, that didn't work because the forum doesn't allow for searching of phrases. I couldn't think of anything else that would be unique enough.

Write your message below:

I just installed gbook and got it all looking just great, using my own .css files. When I try to add an entry though, I get nothing. There are no error messages, but the only thing that is in there is the default message, "No entries yet! You can be the first one to sign this guestbook!" Nothing has been written to my entries.txt file (which I have renamed).

I checked to be sure that "entries.txt" was CHMODed to 666 and it is.

I guess I ought to have tested it before I changed all the .css, but I can't imagine that would affect the functioning of the script. Would it?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

No, modifying the CSS file has no effect on the script functionality. Try deleting this code from the settings.php file and let's see if you get any new error messages when posting a message:

Code: Select all

ini_set('display_errors', 0);
ini_set('log_errors', 1);
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
JPDeni
Posts: 2
Joined: Mon Nov 03, 2008 8:23 pm

Post by JPDeni »

Excellent! That did it. I had made a couple of errors in my badwords file, but didn't see them until the errors told me where they were. Got them all fixed now.

Thank you!!
Post Reply