Page 1 of 1

comments are not appearing once sumitted

Posted: Tue Feb 16, 2021 3:09 am
by JOZAQT
Script URL:
Version of script: 1.7.2 gbook
Hosting company:
URL of phpinfo.php: http://www.jozaqt.com/guestbook/gbook.php
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
Comments do not appear after submitting- its left blank,
Kind regards,

Jo

Re: comments are not appearing once sumitted

Posted: Tue Feb 16, 2021 7:01 pm
by Klemen
Not sure what is going on.

Do you get any error messages or notices if you set

Code: Select all

$settings['debug'] = 0;
to

Code: Select all

$settings['debug'] = 1;
in your settings file?

Re: comments are not appearing once sumitted

Posted: Wed Feb 17, 2021 12:58 am
by JOZAQT
If you refering to settings php this is what it has listed, I do appolagise I am not the brightest crayon in the box

(REMOVED)

Re: comments are not appearing once sumitted

Posted: Wed Feb 17, 2021 7:26 am
by Klemen
Please try upgrading to the latest version of GBook (download and see readme.htm for instructions) as this could be related to PHP version incompatibility.

Re: comments are not appearing once sumitted

Posted: Thu Feb 18, 2021 2:05 am
by JOZAQT
I downloaded Gbook 1.8.2, and have read through the readme.htm, I followed the instructions. My first check on the guestbook I had received a (HTTP) 500 Internal Server Error server error ,I googled the error to see what the error could mean. I went back through the instructions & made sure I had done it correctly, fixed what errors I had picked up on. Repeat the steps again. Re test the gbook page. Got through as far as submitting and this time Error
Can't open entries file for reading! CHMOD this file to 666 (rw-rw-rw) and make sure your host allows PHP scripts to read from local files!

I searched the forum & found a post related to this problem –
find inside gbook.php this code
require_once('settings.php')
and place below it this code:

chmod ($settings['logfile'], 0666);
and place underneath
if ($settings['system'] == 1) chmod ($settings['logfile'], 0666);
this will just not give errors with windows sever.
Checked my gbook again, still the same error.
I uploaded these links to my server
http://www.phpjunkyard.com/extras/phpinfo.zip
http://www.phpjunkyard.com/extras/session_test.zip

https://awcp066.server-cpanel.com:2083/ ... =&basedir=

https://awcp066.server-cpanel.com:2083/ ... =&basedir=

I was not sure where to store these files, the files are in the same folder as my gbook
I have got to the point where I have really confused myself. & I am not really sure what to do from here.

Re: comments are not appearing once sumitted

Posted: Fri Feb 19, 2021 4:08 am
by JOZAQT
Yay!!! well with persistence I finally got it working!. Wooohoo!!!, it took me many tries & several re-reads on the instructions.

Thanks again 4 ur help & prompt replies.

Kind regards,
Jozie :D

Re: comments are not appearing once sumitted

Posted: Fri Feb 19, 2021 11:23 am
by Klemen
Hi Jozie,

Sorry for the late reply, extremely busy days here...

I'm glad to hear you got it working. Was there something specific you had to do that might help other users with the same problem?