17
To help troubleshoot, could you try this?
In the file include/cp_functions.php, in functions xoops_module_write_admin_menu and xoops_write_index_file,
change:
le="color: #000000"><?php if ( !$file = fopen($filename, "w") ) { echo 'failed open file';
to:
le="color: #000000"><?php error_reporting(E_ALL | E_STRICT); ini_set('display_errors'); $file = fopen($filename, "w"); var_dump('filename', $filename, 'file', $file); if (!$file) { echo 'failed open file'; sleep(60);
And post the output from the var_dump's, along with any error messages.
Actually, I'm a little suspicious of the original code. Personally, I prefer a more explicit check when I use fopen:
le="color: #000000"><?php if ( ($file = fopen($filename, "w")) === false ) {
But I'm not sure if it would make any difference here.