Page 1 of 2

Need /mboard/msg/.html to be a named file-[ie]message.html

Posted: Sat Oct 22, 2005 1:27 pm
by jaketribble
Script URL: http://www.theagapeletters.com/mboard/mboard.php
Version of script: 1.2 from 5th March 2005
Version of PHP:
Hosting company: Yahoo! Small Business
Have you searched THIS FORUM for your problem:
(if not please do before posting)
If so, what terms did you try:

Write your message below:

PHP message board (MBoard)
Version: 1.2 from 5th March 2005
Originally written on 11th July 2004 by Klemen Stirn

This script is just what I needed, thanks Klemen
I am a newby to php, but I have previous editing skills.

This is my problem;
After posting a New Topic, and returning to mboard and clicking on the Recent topics link----Page not found.
I can edit threads.txt and paste %0d%0a after(each) /msg/ (statement).html and it will work properly. Have I missed something?
If count.txt has any entry in it-I also get Page not found.
Mboard is a wonderful and simple board for my needs.
Thanks again!

Posted: Sat Oct 22, 2005 2:21 pm
by Klemen
Hi,

Upload the original count.txt again and make sure it is CHMOD-ed to 666 (rw-rw-rw-). The original count.txt should have number 0 inside, yours is empty.

Regards

i cant view my topics

Posted: Sun Aug 20, 2006 10:58 am
by smunns
Hi,
Great message (board except im doing somthing wrong) im new to php i set the message board up and i can create new topics no problem unfortuantly i have done something wrong as i cant read any topics if i click on the topic it just tells me the page cannot be found, i changed from a window's to a linux server and changed the msg folder to rwx rwx rwx and the count.txt to 666 and the tread.txt to 666 other than this im completly lost and really dont know what to try next, any help would be welcome

thanks simon

Posted: Sun Aug 20, 2006 3:16 pm
by Klemen
We can't really help unless you provide this info. Also upload the phpinfo file to your mboard folder
http://www.phpjunkyard.com/extras/phpinfo.zip

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
What terms did you try when searching for a solution:

Posted: Sun Aug 20, 2006 4:32 pm
by smunns
hi i uploaded that file

script url :http://www.smunns.co.uk/mboard/mboard.php
version of script :mboard 122
Hosting company : streamline.net
url of phpinfo.php : http://www.smunns.co.uk/mboard/phpinfo.php

is this the information you need ??

Simon

Posted: Sun Aug 20, 2006 8:36 pm
by Henrie
I just noticed one thing, that all new threads added are named 0.htm.
I just do not know what is causing this error. But Klemen probably can tell you what is causing this error with the info you provided.

Greetings,
Henrie

Posted: Mon Aug 21, 2006 12:31 am
by Klemen
That's a strange one, all new posts really get ID 0 and the ID doesn't change.

Have you been editing mboard.php file? If yes please try uploading the original one (don't edit anything) and see if it works.

Posted: Mon Aug 21, 2006 8:36 am
by smunns
Hi,
im positive i had changed anything in the mboard.php but i uploaded it and again the same happened, so downloaded he whole board from your site again and reuploaed it into my site only changing the settings.php still didnt work i rechecked my msg folder these are the properies:-

msg
type folder
fttp://smunns/htdocs/imboard/
4.0kb (4,o06)

permission: drwxrwxrwx
owner: domain11
Links: 2
modified 20 august 2006 21:28

have i done anything wrong in setting up this folder

Simon[/img]

Posted: Mon Aug 21, 2006 9:09 am
by Klemen
Hmm, can you upload this file to see what happens to count.txt:
http://www.phpjunkyard.com/extras/mboard_debug.zip

Posted: Mon Aug 21, 2006 10:33 am
by smunns
HI,

uploaded that file i put it in the mboard folder, it overwrite the existing mboard.php was this right???

Simon

Posted: Mon Aug 21, 2006 2:10 pm
by Klemen
Yes it should overwrite the original file, but are you sure you did it? The one you have now isn't the file in the mboard_debug.zip as it doesn't print out the extra info I added to that file!

Posted: Mon Aug 21, 2006 2:42 pm
by smunns
hi,

sorry i have double checked and re uploaded it i think not being sure whether or not it should overwrite it i couldnt have done it but this time i have

many thanks
simon

Posted: Mon Aug 21, 2006 5:14 pm
by Klemen
That's better :wink:

For a reason not know to me PHP is not increasing the numbers on your server if you use $variable++

Try uploading this file and see if it helps or not:
http://www.phpjunkyard.com/extras/mboard_debug2.zip

Posted: Mon Aug 21, 2006 5:19 pm
by smunns
Hi,

Thank you so much for your time you amazing, it works absolutly fine now this is much apriciated

Simon :D :D

Posted: Mon Aug 21, 2006 5:46 pm
by Klemen
You're welcome.

You should upload this "clean" file which is the same as before just the debug info displayed when adding a new topic is removed:
http://www.phpjunkyard.com/extras/mboard_debug3.zip

Please consider rating MBoard or even writing a review in script directories, you will find the link in the readme.htm file :wink: