entries.txt became empty

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
lorebett
Posts: 6
Joined: Fri Mar 31, 2006 8:26 am

entries.txt became empty

Post by lorebett »

I'm still using version 1.43 (I'm planning to upgrade pretty soon); and after I received an email saying that a new email message "Someone has just signed your guestbook" I found out that my guestbook became empty, and actually the entries.txt file on the site became empty... Is this a known issue with this old version of the script? Some vulnerability?

thanks in advance
Lorenzo
HOME: http://www.lorenzobettini.it
MUSIC: http://www.purplesucker.com
BLOG: http://tronprog.blogspot.com
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

This is a "file corrupted" case. It happens sometimes with text databases, probably because multiple threads (or scripts) try to write to the same file on the same time. If you have a guestbook with many entries or a lot of website visitors I would recommend finding a guestbook with a MySQL database.

Either way I always recommend keeping scripts updated with the latest version and GBook is no different.
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
lorebett
Posts: 6
Joined: Fri Mar 31, 2006 8:26 am

Post by lorebett »

the problem was due to the fact that I had run out of space in the site hosting my guestbook.
HOME: http://www.lorenzobettini.it
MUSIC: http://www.purplesucker.com
BLOG: http://tronprog.blogspot.com
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hi Lorenzo,

A really late reply :D
But thank you for letting us know what caused it. It could help others.

Greetings,
Henrie

btw, my nerd score
Image
http://www.nerdtests.com/ft_nq.php
Last edited by Henrie on Fri Jan 22, 2010 8:00 pm, edited 2 times in total.
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
lorebett
Posts: 6
Joined: Fri Mar 31, 2006 8:26 am

Post by lorebett »

yes very late, sorry about that :oops:

I had really forgotten about it!
HOME: http://www.lorenzobettini.it
MUSIC: http://www.purplesucker.com
BLOG: http://tronprog.blogspot.com
Post Reply