Sveiki!
Radusies neliela kļūda un īsti nesaprotu kur ir vaina, jo reāli izskatās ka ir ok?
Kļūda:
PHP Notice: A non well formed numeric value encountered in File/Archive/Reader/File.php on line 207
function getData($length = -1)
{
$error = $this->_ensureFileOpened();
if (PEAR::isError($error)) {
return $error;
}
if (feof($this->handle)) {
return null;
}
if ($length == -1) {
$contents = '';
$blockSize = File_Archive::getOption('blockSize');
// Ensure that magic_quote_runtime isn't set,
// if we don't want to have corrupted archives.
$saveMagicQuotes = get_magic_quotes_runtime();
set_magic_quotes_runtime(0);
while (!feof($this->handle)) {
$contents .= fread($this->handle, $blockSize);
}
set_magic_quotes_runtime($saveMagicQuotes);
return $contents;
} else {
if ($length == 0) {
return 0;
} else {
return fread($this->handle, $length);
}
}
}
207 rindiņa ir "return fread($this->handle, $length);"