- Code: Select all
Warning: fread(): supplied argument is not a valid stream resource in /home/httpd/vhosts/minionsinc.com/httpdocs/roster/lib/rosterdiag.lib.php on line 296
And that message is coming up infinitely.
Warning: fread(): supplied argument is not a valid stream resource in /home/httpd/vhosts/minionsinc.com/httpdocs/roster/lib/rosterdiag.lib.php on line 296
function GrabRemoteVersions()
{
global $directories, $files, $cvsremote, $break, $explode;
// Execute the addon_versioncheck.php script in the CVS remote site
$handle = fopen($cvsremote, 'rb');
$contents = '';
// Read the first 80kb from the file. This should be enough for most add-ons.
while (!feof($handle))
{
$contents .= fread($handle, 1024*80);
}
fclose($handle);
// Break the header into lines
$remoteversions = explode($break, $contents);
foreach ($remoteversions as $remoteversion)
{
// Break the line into strings
$remoteversion = explode($explode, $remoteversion);
// Insert the file info into the $files array
if (isset($remoteversion[1]))
{
$directory = $remoteversion[0];
// Check if the directory existed on the local system. If not, declare the directory inside the $directories array.
if (!isset($directories[$directory]))
{
$directories[$directory] = array('localfiles' => 0, 'remotefiles' => 0, 'severity' => 0);
}
$filename = $remoteversion[1];
$files[$directory][$filename]['remote']['versionFile'] = $filename;
$files[$directory][$filename]['remote']['versionDesc'] = $remoteversion[2];
$files[$directory][$filename]['remote']['versionRev'] = $remoteversion[3];
$files[$directory][$filename]['remote']['versionDate'] = $remoteversion[4];
$files[$directory][$filename]['remote']['versionAuthor'] = $remoteversion[5];
$files[$directory][$filename]['remote']['versionMD5'] = $remoteversion[6];
}
}
}
function GrabRemoteVersions()
{
global $directories, $files, $cvsremote, $break, $explode;
// Execute the addon_versioncheck.php script in the CVS remote site
$handle = fopen($cvsremote, 'rb');
$contents = '';
if( $handle )
{
// Read the first 80kb from the file. This should be enough for most add-ons.
while (!feof($handle))
{
$contents .= fread($handle, 1024*80);
}
fclose($handle);
// Break the header into lines
$remoteversions = explode($break, $contents);
foreach ($remoteversions as $remoteversion)
{
// Break the line into strings
$remoteversion = explode($explode, $remoteversion);
// Insert the file info into the $files array
if (isset($remoteversion[1]))
{
$directory = $remoteversion[0];
// Check if the directory existed on the local system. If not, declare the directory inside the $directories array.
if (!isset($directories[$directory]))
{
$directories[$directory] = array('localfiles' => 0, 'remotefiles' => 0, 'severity' => 0);
}
$filename = $remoteversion[1];
$files[$directory][$filename]['remote']['versionFile'] = $filename;
$files[$directory][$filename]['remote']['versionDesc'] = $remoteversion[2];
$files[$directory][$filename]['remote']['versionRev'] = $remoteversion[3];
$files[$directory][$filename]['remote']['versionDate'] = $remoteversion[4];
$files[$directory][$filename]['remote']['versionAuthor'] = $remoteversion[5];
$files[$directory][$filename]['remote']['versionMD5'] = $remoteversion[6];
}
}
}
}
Warning: fopen(http://www.wowroster.net/roster_updater/version_match.php): failed to open stream: Connection timed out in /home/mercade/public_html/gow/roster/lib/rosterdiag.lib.php on line 290
Warning: feof(): supplied argument is not a valid stream resource in /home/mercade/public_html/gow/roster/lib/rosterdiag.lib.php on line 294
Warning: fread(): supplied argument is not a valid stream resource in /home/mercade/public_html/gow/roster/lib/rosterdiag.lib.php on line 296
Return to General Support & Feedback
Users browsing this forum: No registered users and 1 guest