[eluser]ovulator[/eluser]
Well I discovered that the cache issue is because the web 'user' didn't have permission to write to the cache folder, so that is fixed. The cart issue still has me stumped though.
If I
Code:
var_dump($this->cart)
on my local machine I get the expected cart object returned, but the same returns
when run on my remote server.
I also have a extension class for cart, which is just this:
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class MY_Cart extends CI_Cart
{
function __construct()
{
parent::__construct();
$this->product_name_rules = '\d\D';
$this->product_id_rules = '\d\D';
}
}
If I delete the MY_Cart.php file (above code) from my libraries folder I will get the same
Code:
Call to member function contents() on a non-object
that I do on my remote server. Why would removing my own cart extension cause the cart object to cease to exist?