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

Is message board greying out your hair (at least what's left of it)? Let us help you here
jaketribble
Posts: 13
Joined: Sat Oct 22, 2005 10:18 am

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

Post 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!
Jake <O><
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
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
smunns
Posts: 7
Joined: Sun Aug 20, 2006 10:48 am

i cant view my topics

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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:
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
smunns
Posts: 7
Joined: Sun Aug 20, 2006 10:48 am

Post 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
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
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
smunns
Posts: 7
Joined: Sun Aug 20, 2006 10:48 am

Post 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]
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hmm, can you upload this file to see what happens to count.txt:
http://www.phpjunkyard.com/extras/mboard_debug.zip
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
smunns
Posts: 7
Joined: Sun Aug 20, 2006 10:48 am

Post by smunns »

HI,

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

Simon
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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!
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
smunns
Posts: 7
Joined: Sun Aug 20, 2006 10:48 am

Post 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
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
smunns
Posts: 7
Joined: Sun Aug 20, 2006 10:48 am

Post by smunns »

Hi,

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

Simon :D :D
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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:
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
Locked