Welcome Guest, Not a member yet? Register   Sign In
[Solved] Can't locate session.php
#1

[eluser]kreitje[/eluser]
On my web hosting server (php5.2.12) I am getting the following error:
Quote:Unable to locate the specified class: session.php

However it works just fine on my test setup (php5.3.1)

In the load_class function I told it to echo the $path.directory.'/'.$class.'.php' around this area:
Code:
foreach (array(BASEPATH, APPPATH) as $path)
{
if (file_exists($path.$directory.'/'.$class.'.php'))
{
  $name = $prefix.$class;

  if (class_exists($name) === FALSE)
  {
   require($path.$directory.'/'.$class.'.php');
  }
  break;
}
}

It would go through and load
Quote:system/libraries/session.php
and then try to load
Quote:application/libraries/session.php
even though it doesn't exist.

I am running CI: 2.0.3

Any help would be greatly appreciated.




Theme © iAndrew 2016 - Forum software by © MyBB