2006-09-15, 02:59 PM
Pages: 1 2
2006-09-15, 07:30 PM
Yeah, version check doesn't work for me either. Didn't work for me in the last version as well. When I try it, I get:
There was a problem communicating with the version server. Please try again in a few minutes.
Every single time.
And I tried that, but I still doesn't work. Not a big deal to me though since I just check the website for new updates~
There was a problem communicating with the version server. Please try again in a few minutes.
Every single time.
decswxaqz Wrote:Find the line
and replace it with$contents = @implode("", @file("http://mybboard.com/version_check.php"));
$contents = @implode("", file("http://mybboard.com/version_check.php"));
I have a feeling you might not be able to open remote files. Anything beginning with "http". Some hosts disable urlwrappers for PHP.
And I tried that, but I still doesn't work. Not a big deal to me though since I just check the website for new updates~
2006-10-29, 12:33 AM
Can someone that has this bug ask their host to turn on url wrappers in php just to test if it works? I want to verify if this is just the host or mybb.
2006-10-29, 12:43 AM
Try adding this code.
It's not a "bug" with php, it's a limitation by the host.
Not all hosts support allowing to "mess" with the ini settings though. (therefore function_exists)
if(function_exists('ini_set'))
{
ini_set('allow_url_fopen', '1');
}
Above:$contents = @implode("", @file("http://mybboard.com/version_check.php"));
in admin/index.phpIt's not a "bug" with php, it's a limitation by the host.
Not all hosts support allowing to "mess" with the ini settings though. (therefore function_exists)
2006-10-29, 05:38 PM
Regarding the XML file issue, with importing templates. It may be that your host either disabled the XML libraries or they are not installed on the server. Go to the 'PHP Info' page in your admin cp and see if 'libxml' exists and if so see if its enabled.
Pages: 1 2