Just need a little help here
Environment: home server
Server: 2008R2
Database: MySQL
Client: IE 9, FF 12
OC-Version: 4
PHP-Version: 5.4
This is a Fresh install of OC4 have checked all the config and checked against install guides etc also been through everything i can find in the forums, once i got past the whole redirect issue i now have DB Setup when i login i get a white screen i turned on show errors in php ini and i get the following.
Warning: require_once(log/.php): failed to open stream: No such file or directory in I:\owncloud\lib\base.php on line 93
Fatal error: require_once(): Failed opening required 'log/.php' (include_path='I:/owncloud/lib;I:/owncloud/config;I:/owncloud/3rdparty;I:/owncloud;I:/owncloud/apps;I:/owncloud/lib;.;C:\php\pear;I:/owncloud') in I:\owncloud\lib\base.php on line 93
Upon looking at Base.php i see this
- Code: Select all
public static function autoload($className){
if(array_key_exists($className,OC::$CLASSPATH)){
require_once OC::$CLASSPATH[$className];
}
elseif(strpos($className,'OC_')===0){
require_once strtolower(str_replace('_','/',substr($className,3)) . '.php');
}
elseif(strpos($className,'OCP\\')===0){
require_once 'public/'.strtolower(str_replace('\\','/',substr($className,3)) . '.php');
}
elseif(strpos($className,'Sabre_')===0) {
require_once str_replace('_','/',$className) . '.php';
}
elseif(strpos($className,'Test_')===0){
require_once 'tests/lib/'.strtolower(str_replace('_','/',substr($className,5)) . '.php');
}
}
the line that is causing the problem is
- Code: Select all
require_once strtolower(str_replace('_','/',substr($className,3)) . '.php');
i'm just not sure as to how to fix it as it is for some reason appending a / to the name if i change it to something else i get another error.
