[FIXED] - Fatal error before anything is displayed - Joomla! Forum - community, help and support
using latest subversion, get:
fatal error: call member function on non-object in c:\amp\doc_root\joomla\libraries\joomla\files.php on line 31
before displayed
looking it, see that
- index.php "require_once ( 'includes/joomla.php' );" few lines before "$mainframe =& new jsite($option);"
- includes/joomla.php "jimport( 'joomla.files' );" and
- libraries/joomla/files.php "define('jftp_root', $mainframe->getcfg('ftp_root'));"
i running on windows, apache 2 , php 4.4.1
regards,
charles
fatal error: call member function on non-object in c:\amp\doc_root\joomla\libraries\joomla\files.php on line 31
before displayed
looking it, see that
- index.php "require_once ( 'includes/joomla.php' );" few lines before "$mainframe =& new jsite($option);"
- includes/joomla.php "jimport( 'joomla.files' );" and
- libraries/joomla/files.php "define('jftp_root', $mainframe->getcfg('ftp_root'));"
i running on windows, apache 2 , php 4.4.1
regards,
charles
easy fix, joomla trys ftp settings of server, of don't have result in error
open files.php , delete 3 if statements ftp settings line 31
save file , work again
open files.php , delete 3 if statements ftp settings line 31
save file , work again

Comments
Post a Comment