Page 1 of 1
Message Data Base - Not Rolling Off Board Correctly
Posted: Mon Jan 23, 2006 4:38 pm
by ronmerk
Script URL:
http://www.victoriabariatricsurgery.com ... mboard.php
Version of script: Latest
Version of PHP: 4+
Hosting company: Godaddy
Have you searched THIS FORUM for your problem: Yes
(if not please do before posting)
If so, what terms did you try: messages, delete, data base
Write your message below:
I've noticed that after the scrip reaches the max number of posts, that it doesn't clear the messages at the bottom of the board correctly.
It seems to leave 2 or 3 messages that get permanently stuck at the bottom. I have tried several times to clear out the bottom of treads.txt file. This clears the problems until the max messages threshold is reached again.
If you click on the stuck messages, you'll find that you can't actually display the messages. You get a "Page Not Found" error.
I have read that clearing out the entire threads.txt file will reset the board, but I only want to do this as a last resort as the board is heavily used and that would not make my users happy.
Any ideas??
Ron
Posted: Mon Jan 23, 2006 10:12 pm
by Klemen
Is your $settings['keepoldmsg'] set to 0 or to 1?
Settings
Posted: Tue Jan 24, 2006 1:57 am
by ronmerk
Hi Klemen:
Here's my settings
Code: Select all
// Maximum number of posts displayed on the first page
$settings['maxposts']=250;
// Keep or delete old posts? 1 = KEEP, 0 = DELETE
$settings['keepoldmsg']=0;
Posted: Tue Jan 24, 2006 10:08 am
by Klemen
Hmm, you seem to have a quite messy threads.txt, I suggest you delete all this from threads.txt
Code: Select all
<!--z 917-->
<!--s 917--><p><li><a href="msg/917.html">Kris have you...!</a> - <b>Shelley Adrian</b> <i>22/Jan/2006 3:27 am</i>
<!--o 917--> (1)
<!--z 919-->
<!--s 919--><ul><li><a href="msg/919.html">Re: Kris have you...!</a> - <b>Diana J from Courtenay</b> <i>22/Jan/2006 9:01 am</i>
<!--o 919--> (0)
</li></ul><!--k 919-->
</li><!--k 917-->
<!--s 909--><ul><li><a href="msg/909.html">Re: Re: Re: Re: Re: question</a> - <b>Gloria C McDonald </b> <i>21/Jan/2006 10:47 pm</i>
<!--o 909--> (1)
<!--z 927-->
<!--s 927--><ul><li><a href="msg/927.html">Re: Re: Re: Re: Re: Re: question</a> - <b>Kelli</b> <i>22/Jan/2006 10:17 am</i>
<!--o 927--> (2)
<!--z 1013-->
<!--s 1013--><ul><li><a href="msg/1013.html">Re: Re: Re: Re: Re: Re: Re: question</a> - <b>Leeann Berkopec</b> <i>23/Jan/2006 1:33 am</i>
<!--o 1013--> (0)
</li></ul><!--k 1013-->
<!--z 930-->
<!--s 930--><ul><li><a href="msg/930.html">Re: Re: Re: Re: Re: Re: Re: question</a> - <b>Erin M</b> <i>22/Jan/2006 10:56 am</i>
<!--o 930--> (1)
<!--z 936-->
<!--s 936--><ul><li><a href="msg/936.html">Re: Re: Re: Re: Re: Re: Re: Re: question</a> - <b>Kelli</b> <i>22/Jan/2006 11:33 am</i>
<!--o 936--> (1)
<!--z 942-->
<!--s 942--><ul><li><a href="msg/942.html">Re: Re: Re: Re: Re: Re: Re: Re: Re: question</a> - <b>Gloria C McDonald </b> <i>22/Jan/2006 12:55 pm</i>
<!--o 942--> (0)
</li></ul><!--k 942-->
</li></ul><!--k 936-->
</li></ul><!--k 930-->
</li></ul><!--k 927-->
</li><!--k 852-->
</li><!--k 838-->
<!--o 822--> (2)
</li><!--k 808-->
<!--o 799--> (0)
</li><!--k 778-->
</li><!--k 777-->
<!--s 884--><ul><li><a href="msg/884.html">Re: Re: Re: Re: Re: A few happy moments today.</a> - <b>Shari</b> <i>21/Jan/2006 5:33 pm</i>
<!--o 884--> (1)
</li><!--k 751-->
<!--o 764--> (1)
</li><!--k 732-->
</li><!--k 721-->
<!--s 731--><ul><li><a href="msg/731.html">Re: (ot) IM GUNNA BE AN AUNTIE AGAIN!</a> - <b>Kris</b> <i>19/Jan/2006 7:00 pm</i>
<!--o 731--> (0)
</li><!--k 720-->
</li></ul><!--k 699-->
</li><!--k 698-->
</li><!--k 686-->
</li><!--k 682-->
</li></ul><!--k 683--></ul>
Note it is everything from <!--z 917--> to <!--k 683--></ul>
See if that helps.
File Cleaned Out
Posted: Wed Jan 25, 2006 12:31 am
by ronmerk
Hi Klemen:
Is it possible for someone other than me, the admin to "clean out" the threads.txt file?
I'm asking this because sometime this afternoon all the messages on the board suddenly disappeared!!!
It's like someone cleaned out the threads.txt file some how. This happend befoe I was able to delete the lines you suggested. This of course was exactly what i was hoping to avoid. It really upset the board users.
Could this be because I have the threads.txt file CMODed wrong??
Its currently set at 666
Ron
Posted: Wed Jan 25, 2006 10:41 am
by Klemen
Ron,
No, only you can "clean up" the threads.txt and CHMOD of 666 is correct.
What probably happened is that your forum is too busy for the text database to be able to handle the load (text databases have limits, I've seen this before with counters). I suggest you get a forum with MySQL database, like
http://www.phpbb.com/ .
Regards
SQL Alternatives
Posted: Wed Jan 25, 2006 3:46 pm
by ronmerk
Hi Klemen:
Thanks for that info ...it sucked ...<grin> but thanks anyway
I really like the feel and style of MBoard. Any suggestions for a simple message board with SQL that has only 1 "room" and displays the Headers for Threads and replies all on 1 page???
phpBB is really overkill from an interface perspective for what my users need or want for that matter.
Ron