I'm trying to setup a mirror site on my Windows XP machine of my PHP-Nuke site. I've tried using both EasyPHP and Xampp.
I suspect my problem is related to php.ini but I cannot figure what is wrong. The header and footer display correctly, but blocks and modules only display the title but no content. I'm using the same files that are online and they work perfectly on the site. Obviously Apache and MySQL are working ok.
Does the fact of no content displaying ring a bell with anyone as to what is missing? Perhaps it is to do with PHP error reporting, or a missing PHP extension.
Further research in log files shows the problem is related to fopen(), fread() and fclose() from (particularly) themesidebox() in theme.php. "[Errpr] PHP Warning : fclose() : supplied argument is not a valid streaming resource..." Yet this is working online.
Any help much appreciated.
I'm using PHP 4.3.11 as that is what is in use on my hosted site, although I get the same error with XAMPP and PHP 5.
Thanks,
Peter