Wrong entry ID hash. Can't approve or disapprove comments.

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Pasostro
Posts: 5
Joined: Wed May 03, 2017 9:32 am

Wrong entry ID hash. Can't approve or disapprove comments.

Post by Pasostro »

Script URL: http://www.zambellorenzo.it/domande-psi ... /gbook.php
Version of script: 1.7
Hosting company: Aruba

Write your message below: I get the error below when I try to approve or disapprove comments

"Error
Wrong entry ID hash. Possible problems:

- the entry has already been approved or rejected
- you didn't copy the full approval/rejection URL"

Some information: I don't know this GBook platform, I took this client 1 month ago and he had a previous developer who installed GBook. All I did was making a full redirection of the main website from the directory www.zambellorenzo.it/psicoterapeuta/ to the new directory www.zambellorenzo.it/psicoterapeuta-milano/, but the guestbook as you can see is under the directory www.zambellorenzo.it/domande-psicoterapia/ and I didn't touch it during my work...so I don't think this is related.

Here you can find the approval and disapproval URLs that my client receives through his email:
- http://www.zambellorenzo.it/domande-psi ... prove&do=1
- http://www.zambellorenzo.it/domande-psi ... prove&do=0
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Wrong entry ID hash. Can't approve or disapprove comments.

Post by Klemen »

Do you have any text files inside your guestbook's "apptmp" folder?

If you post a new entry to the guestbook for approval, is a new .txt file created inside "apptmp"?
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
Pasostro
Posts: 5
Joined: Wed May 03, 2017 9:32 am

Re: Wrong entry ID hash. Can't approve or disapprove comments.

Post by Pasostro »

Last .txt file was dated 22/04/2017, which is the day of the last comment displayed on the gbook.php page.
Now I've tried to post a comment and it created a new .txt with this information:

"Luca Pasini paso.bunk3@gmail.com test Gbook Maggio 3, 2017 0 0 37.116.156.242
"
I think the .txt regarding the comment posted yesterday by an user that my client couldn't approve is missing from the directory for whatever reason.
Is that the issue?
Pasostro
Posts: 5
Joined: Wed May 03, 2017 9:32 am

Re: Wrong entry ID hash. Can't approve or disapprove comments.

Post by Pasostro »

I'm attaching a Filezilla screenshot

Image
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Wrong entry ID hash. Can't approve or disapprove comments.

Post by Klemen »

What's the permission set to the "apptmp" folder? Try 777 (rwxrwxrwx) then see if a new text file appears when you submit a message.
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
Pasostro
Posts: 5
Joined: Wed May 03, 2017 9:32 am

Re: Wrong entry ID hash. Can't approve or disapprove comments.

Post by Pasostro »

It was 755, changed it to 777, tried to write a new message and the .txt appears correctly. The client had been able to approve my first test comment this morning and I guess he will be able to approve this one too.

Are we done for the moment or is there anything else I should look into?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Wrong entry ID hash. Can't approve or disapprove comments.

Post by Klemen »

Files entries.txt and banned_ip.txt should be set to 666 (just verify), the rest should work fine.

Note that any old entries (with missing txt files) will not be available, but new one should work 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
Pasostro
Posts: 5
Joined: Wed May 03, 2017 9:32 am

Re: Wrong entry ID hash. Can't approve or disapprove comments.

Post by Pasostro »

That's ok, thank you very much for helping me so quickly and have a good day.
micheal090
Posts: 1
Joined: Thu Aug 24, 2017 5:07 am

Re: Wrong entry ID hash. Can't approve or disapprove comments.

Post by micheal090 »

Thanks for the sharing. :roll:
Post Reply