Look, while you seem to have had some bad experiences upgrading, the process is really quite straightforward.
In the case of your phpbb issue, here's how it works:
1. /includes/auto_loaders/config.core.php
line 60-61:
Code:
$autoLoadConfig[0][] = array('autoType'=>'class',
'loadFile'=>'class.phpbb.php');
note the lower-case filename.
2. if you for SOME reason have other files in the /includes/auto_loaders/overrides folder or just the auto_loaders folder that contain any references to loading some other version of the phpbb class file, then you'll have to convert those to lowercase too.
3. /includes/autoload_func.php
lines 52-60:
Code:
if (isset($entry['classPath'])) {
$classPath = $entry['classPath'];
} else {
$classPath = DIR_FS_CATALOG . DIR_WS_CLASSES;
}
/**
* include a class definition as specified by autoloader array
*/
if (file_exists($classPath . $entry['loadFile'])) include($classPath . $entry['loadFile']);
in a nutshell, this checks the appropriate path, checks whether the file exists (/includes/classes/class.phpbb.php) and include()'s it.
If it cannot find the file in order to include it, then the phpbb class is never defined. Thus the error message you're reporting.
So ... either the file does not exist, or it's got the wrong name, or the permissions on it are set such that it's not readable.
Bookmarks