comments are not appearing once sumitted

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
JOZAQT
Posts: 6
Joined: Mon Feb 15, 2021 4:14 am

comments are not appearing once sumitted

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: comments are not appearing once sumitted

Post 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?
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
JOZAQT
Posts: 6
Joined: Mon Feb 15, 2021 4:14 am

Re: comments are not appearing once sumitted

Post 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)
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: comments are not appearing once sumitted

Post 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.
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
JOZAQT
Posts: 6
Joined: Mon Feb 15, 2021 4:14 am

Re: comments are not appearing once sumitted

Post 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.
JOZAQT
Posts: 6
Joined: Mon Feb 15, 2021 4:14 am

Re: comments are not appearing once sumitted

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: comments are not appearing once sumitted

Post 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?
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
Post Reply