| 
                                                             Tuesday 24 May 2005 5:30:26 pm 
                                                            
                                                                
                                                                 The setup wizard in 3.5.1 and 3.5.2 is broken from the start. After installing, setting up Apache and visiting the URL an error message regarding the missing function file_get_contents in  mumble/lib/eztemplate/classes/eztemplatefileresource.php 
The quick fix for this is to edit the file, look for the line that says:  $text = file_get_contents( $path ); and replace it with the following: 
 if ( function_exists( 'file_get_contents' ) ) 
 { 
 $text = file_get_contents( $path ); 
 } 
 else 
 { 
 $fp = fopen( $path, 'r' ); 
 if ( !$fp ) 
 { 
 eZDebug::writeError( 'Could not read contents of ' . $path, 'eZFile::getContents()' ); 
 $text = '';  } 
 $text = fread( $fp, filesize( $path ) );  } Which I copied from another module. A similar fix is required if you try to edit a template and possibly other places.                                                             
                                                                                                                     |