Page 1 of 1

Multiple Submissions/Entries have disappeared

Posted: Mon Apr 04, 2005 5:16 am
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!!!!

Posted: Mon Apr 04, 2005 3:21 pm
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

Posted: Mon Apr 04, 2005 10:11 pm
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!!!

Posted: Tue Apr 05, 2005 2:55 pm
by Klemen
Hi,

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

Seems to work ok?

Regards

Posted: Tue Apr 05, 2005 6:49 pm
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!

Posted: Wed Apr 06, 2005 2:12 pm
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

Posted: Thu Apr 07, 2005 1:17 pm
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!