Page 1 of 1

New posts not added, but no error message

Posted: Mon Nov 03, 2008 8:34 pm
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?

Posted: Wed Nov 05, 2008 7:04 pm
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);

Posted: Wed Nov 05, 2008 7:21 pm
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!!