
05-19-2010, 03:27 PM
|
|
|
Join Date: May 2004
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by TheMayhem
Many mods and vBulletin software itself use a version checker function to check that the mod is up to date. Since your server has the file_get_contents() function disabled, this is what you are going to need to do to correct:
Open admincp/market.php
Find
PHP Code:
// Get Latest Version from vBulletin.org
$productVerCheckURL = "https://vborg.vbsupport.ru/misc.php?do=productcheck&pid=pointmarket";
$latestVersion = file_get_contents($productVerCheckURL);
$latestVersion = ereg_replace("[^A-Za-z0-9.]", "", $latestVersion );
$latestVersion = substr($latestVersion, 23);
$latestVersion = ereg_replace("[^0-9.]", "", $latestVersion );
Replace with:
PHP Code:
$latestVersion = "2.1.0";
That will take away the PHP error you are getting. I hope that helps
It has been tested extensively and performs the best with Mysql 5x+. However, some of the users here have been using Mysql 4.1x and it has worked sufficiently well as of the 2.1.0 series. Before that, there were some issues which the Point Market 2.1.0 attempted to fix.
|
its funny tho yours is the only one giving me this error and i have a lot of mods on my site with no errors
|