Hello,
I am running phpNuke6.0, and gallery 1.3.3 (just updated) I've never used this random block but it would be usefull ...
Now i am getting 4 diffent kinds of errors ... These are on top of the page...
:???:
Warning: fopen("", "r") - No error in C:apache-serverhtdocsthemes3D-Fantasytheme.php on line 220
Warning: fread(): supplied argument is not a valid File-Handle resource in C:apache-serverhtdocsthemes3D-Fantasytheme.php on line 221
Warning: fclose(): supplied argument is not a valid File-Handle resource in C:apache-serverhtdocsthemes3D-Fantasytheme.php on line 222
The Readme file that was with the random block indicated that i had to add the following code at the top of the themesidebox() function:
if (@file_exists($content)) {
$fp = fopen ($content, "r");
$content = fread($fp, filesize($content));
fclose ($fp);
$content = "?>$content<?";
$content = eval($content);
} else if (eregi("^http", $content)) {
$fp = fopen ($content, "r");
$content = fread($fp, 65535);
fclose ($fp);
}
Then there is one error where the block has to be...
Fatal error: Failed opening required 'init.php' (include_path='.; apacheincludes;apachehtdocs;apachehtdocsphpmyadmin') in C:apache-serverhtdocsblocksblock-random.php on line 41
Anyone an idea ?
:smile: