Page 1 of 1

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

Posted: Mon May 21, 2007 7:29 am
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!!

Posted: Mon May 21, 2007 9:25 am
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.

Awwww man

Posted: Mon May 21, 2007 3:37 pm
by Philigan
Ugh that so stinks, but thanks a alot, off to find another host i guess :-/ lol, but thnx again.

UGHH

Posted: Mon May 21, 2007 9:19 pm
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??!

Posted: Tue May 22, 2007 12:43 pm
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.