ERROR: Can't open count.txt for reading?!?

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
Philigan
Posts: 3
Joined: Mon May 21, 2007 7:07 am

ERROR: Can't open count.txt for reading?!?

Post by Philigan »

Script URL:http://www.clutchwowguild.net/MBoard/mboard.php
Version of script:1.3
Hosting company:godaddy
URL of phpinfo.php:http://www.clutchwowguild.net/phpinfo
URL of session_test.php:http://www.clutchwowguild.net/session_test
What terms did you try when SEARCHING for a solution:

Write your message below:
I'm totally new at this. I incorporated everything with my css style wise and it looks fine through the info and security number. After I put the security number in, I get a bare version of the page in return with a

Error

Can't open the count file (count.txt) for reading!

Message. Ive looked at all the code SO MANY times and I just can't figure it out. Ive asked friends to view the website and they tell me the same thing, plz help :-) /beg!!
Last edited by Philigan on Mon May 21, 2007 9:25 pm, edited 1 time in total.
PH1337
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

The problems is GoDaddy, their PHP actually. They have disabled required standard functions for reading and writing files. Unfortunately MBoard (nor any other PHP script that reads from/writes to files) will work there.
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
Philigan
Posts: 3
Joined: Mon May 21, 2007 7:07 am

Awwww man

Post by Philigan »

Ugh that so stinks, but thanks a alot, off to find another host i guess :-/ lol, but thnx again.
PH1337
Philigan
Posts: 3
Joined: Mon May 21, 2007 7:07 am

UGHH

Post by Philigan »

Well I called godaddy to yell at at them, but they said i could remedy the problem of PHP not writing to the .txt with am upgrade.

So they switched me over to a PHP linux server that the guy i talked to said it would work on and i uploaded everything. I still get through the up to the security number just fine, and then when i click submit it takes me to a cannot find page error (ive gotten a go daddy one a a IE one). Anyways when the page it wants to take me to seems to have an extra mboard.php at the end compared to others who have the message board?? I dunno??!
PH1337
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

I tried now and it worked, so I guess you already figured out what the problem was - it was setting $settings['mboard_url'] in the settings file, you mustn't add /mboard.php to that URL.

Also seems like your header.txt file is missing, you might want to upload that to the server to avoid the error messages you get.
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