OC 4 Issue

Ask all your questions regarding OC 4.x and older. Please read the Support Forum Rules
Forum rules
Before you post; make sure you are using at least PHP Version 5.3.x - Also read How To Solve Problems By Yourself

OC 4 Issue

Postby voodoochile » Sun Jun 03, 2012 6:15 am

Hi All
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.
voodoochile
Newbie
 
Posts: 3
Joined: Sun Jun 03, 2012 6:01 am

Re: OC 4 Issue

Postby snapr » Sun Jun 03, 2012 7:21 am

Which version did you install? You should try the stable version if you have chosen the developer built :)
snapr
You can contact me at my email address "snapr", it is hosted at "gmx.org" ;)
snapr
Admin
 
Posts: 108
Joined: Mon Jan 30, 2012 8:32 pm

Re: OC 4 Issue

Postby voodoochile » Sun Jun 03, 2012 8:58 am

Thanks for the quick reply
I Have Tried both versions ending with the same result
i am wondering if this is maybe an iis issue rather than a code issue? either way i would like to resolve it as i really like Owncloud and think it has a lot of potential
voodoochile
Newbie
 
Posts: 3
Joined: Sun Jun 03, 2012 6:01 am

Re: OC 4 Issue

Postby voodoochile » Sun Jun 03, 2012 10:22 am

[Solved] this was an IIS Issue it seems that one of the role services was causing the issue, once i uninstalled this and some of the others things improved marginally.

I reinstalled owncloud from scratch this presented a new problem ref tthis post http://forum.owncloud.org/viewtopic.php?f=3&t=2278&p=3543&hilit=MDB2+Error%3A+connect+failed%3A+_doConnect%3A#p3543

in order to get OC installed i had to make the admin account username and password the same as my MySQL instance Using root as the username.

this i feel needs to be fixed asap as per the refered post as it poses a security risk
voodoochile
Newbie
 
Posts: 3
Joined: Sun Jun 03, 2012 6:01 am


Return to OwnCloud Community Edition 4.x and older

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 16 guests