Multiple Submissions/Entries have disappeared

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Help Please!

Multiple Submissions/Entries have disappeared

Post by Help Please! »

Hello! Thanks for some awesome script, and especially for all the great info resources to help us get it working.

I downloaded your new code to allow multiple submissions (and was even smart enough....I thought....to back up my original gbook.php file). Though both files still work, all my previous guestbook entries have disappeared from the html page. I can still see them in the "entries.txt" file, but can't figure out what went wrong in getting them back on the page. Please help!

This has been a wonderful way for my class reunion folks to reconnect with each other. Thanks again!!!!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

What's your website URL? What is your GBook URL?

Are entries displaying when you upload the OLD (original) gbook.php?

Regards
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
Help Please!

Post by Help Please! »

Website: http://www.gchs1984.com/index.htm

Gbook: http://www.gchs1984.com/MessageBoard/gbook.php

No, nothing is showing up, regardless if I use the new or old script.

Sorry to be a pain!!!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

I see two entries at
http://www.gchs1984.com/MessageBoard/gbook.php

Seems to work ok?

Regards
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
Help Please!

Post by Help Please! »

Actually, the two entries are NEW entries. I just tried to add the previous entries to those on the remote server. Is there something in the code that will only write from the current day forward? When I uploaded the previous entries, it now only shows the one from today.

I'm sorry, hope I'm not confusing the issue, but I can't find in the code what is making it write only today's forward. I do want to be able to have multiple submissions, too....we sometimes get good conversation flying back and forth.

Your suggestions are most welcome and appreciated!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

I only see the two entries in "entres.txt" at
http://www.gchs1984.com/MessageBoard/entries.txt

If you have a Linux Server and a Windows PC the entries.txt file could have been changed on windows (Win uses different line endings as Linux). Try setting $settings['system']=2; in settings.php when you upload the old entries.txt.

Regards
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
Guest

Post by Guest »

OK, that did the trick....only the setting WAS set to 2, and I switched it back to 1 for a Unix....then all the messages reappeared.

Thanks much!
Post Reply