Welcome Guest, Not a member yet? Register   Sign In
flexi cart - A comprehensive shopping cart library for CodeIgniter
#35

[eluser]haseydesign[/eluser]
Hey Valcsi,

Sorry for the delay in patching the PHP 5.4 warning.

If you want you can amend the very quick changes manually, or alternatively, if your still trialing with the demo, you can download the changes via the updated Github repo.

The changes concern defining a global object to each of your controllers that load the flexi cart library. No changes were made to the actual flexi cart libraries or models!

To manually do the change, you need to add the following code to each of your controllers JUST BEFORE you load the flexi cart library.
Code:
$this->flexi = new stdClass;
$this->load->library('flexi_cart');

The user guide has been updated to reflect these changes under the heading 'Define the global cart class'.
http://haseydesign.com/flexi-cart/user_g...stallation

Hopefully that gets you going again.


Messages In This Thread
flexi cart - A comprehensive shopping cart library for CodeIgniter - by El Forum - 08-16-2012, 04:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB