MyBB Community Forums

Full Version: Version Check - Server Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am pretty sure this is not a mybb bug and the problem lies on the server, but I am hoping someone has come across this problem.

I have v1.2 installed, upgraded from v1.1.8. I have "private message admin" plugin installed.

Now the problem is, when I try to open the PM admin or Version check I get a 500 server error. This board is running on a commercial hosting service. When I run it on my home server it works ok. Same settings.

The server is running the following:
Apache - 1.3.27
PHP - 4.4.2
MySql - 3.23.58
I always get, "There is a problem communicating with the server, please check again in a few minutes"
Ditto. I can't get to the server to do a version check. Running the latest.
In admin/index.php

Find
$contents = @implode("", @file("http://mybboard.com/version_check.php"));
And replace with
$contents = implode("", file("http://mybboard.com/version_check.php"));

Try running that again and post all of the errors here.
Warning: file(): URL file-access is disabled in the server configuration in /home/merchant/public_html/forum/admin/index.php on line 222

Warning: file(http://mybboard.com/version_check.php): failed to open stream: no suitable wrapper could be found in /home/merchant/public_html/forum/admin/index.php on line 222

Warning: implode(): Bad arguments. in /home/merchant/public_html/forum/admin/index.php on line 222
Ok, just like suspected, your host has disable the file function. Contact them and see if they would consider enabling it.
You could also try this: (Don't know it will work, havn't tryed)

Put it in a .htaccess file on your forum directory.
php_value allow_url_fopen true
I don't have a host. I disabled it. It will stay that way! Too dangerous. I'll just have to do without the Version Check feature.
Its not dangerous at all....
BS. I had my server hacked into because of it. Still looking for the junk they put in there.