Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI 3 #3

Open
rfulcher opened this issue Apr 9, 2015 · 11 comments
Open

CI 3 #3

rfulcher opened this issue Apr 9, 2015 · 11 comments

Comments

@rfulcher
Copy link

rfulcher commented Apr 9, 2015

Will flexi-cart work with CI3?

@dansanti
Copy link

HI! manually change library("session") by driver("session"), Controllers / models, Class and file names first later must be uppercase, i have experience with flexi_auth porting to CI3, in a few days i'll port flexi-cart too

@dansanti
Copy link

well, now i'm usin CI3 and flexi-cart and work fine, just change:

  • $this->load->library("session"); by $this->load->driver("session" );on all controllers .
  • on library flexi_cart_admin.php line 30 (another way to load library) , comment and add:
    //load_class('Flexi_cart_lite', 'libraries', FALSE);
    $CI =& get_instance();
    $CI->load->library('Flexi_cart_lite');
  • on library flexy_cart line 30 (another way to load library), comment and add:
    //load_class('Flexi_cart_lite', 'libraries', FALSE);
    $CI =& get_instance();
    $CI->load->library('Flexi_cart_lite');

and finally in flexy_cart_lite_model.php line 54 change:

if ($this->session->userdata($this->flexi->cart['name']) !== FALSE)

by

if ($this->session->userdata($this->flexi->cart['name']) )

@rfulcher
Copy link
Author

Thanks Dansanti. Is anyone maintaining this?

@dansanti
Copy link

I'll maintain this in my fork,, i make ome pull request, but apparently is abandoned this repo.. my fork will suport ci3 only

@rfulcher
Copy link
Author

How do you take over something like that when it is abandoned?

On Tue, Jun 23, 2015 at 7:41 PM, dansanti [email protected] wrote:

I'll maintain this in my fork,, i make ome pull request, but apparently is
abandoned this repo.. my fork will suport ci3 only


Reply to this email directly or view it on GitHub
#3 (comment)
.

Robert Fulcher
iWAT LLC
Phone: 717-884-9281
Cell: 717-658-5100
[email protected]
www.iwatllc.com

_/Confidentiality Notice___________________________
This email message, including any attachments, is for the sole use of
intended recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please contact the
sender by reply email and destroy all copies of the original message.

@dansanti
Copy link

CLick on fork and github clone this repo, in your repo list, and change in your repo not affect to this repo, only if you make pull request from your repo to this

@dansanti
Copy link

and in you own repo, you can merge my commits, with github tools

@yasirmturk
Copy link

is there any list of libraries compatible with CI 3???

@AlbinoDrought
Copy link

AlbinoDrought commented May 18, 2016

This is just what I needed! It fixed the following errors for me, among others (in case anyone is trying to google them):

Message: Undefined index: configuration

Filename: libraries/Flexi_cart_lite.php

Line Number: 1729
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY `disc_order_by` ASC, `disc_location_fk` ASC, `disc_zone_fk` ASC' at line 9

Fatal error: Class 'CI_Flexi_cart_lite' not found

Message: Class 'CI_Flexi_cart_lite' not found

Filename: core/Common.php

Line Number: 203

@eliassdogos
Copy link

Hi,

While i am adding items to cart via */lite_library/item_link_examples the check out appears me there is no items to cart.

I edited the files as said above.

ci_sessions table has no records.
Mini cart is empty but when i am going to view cart items apperas. And mini cart is no empty.

Any comment?

@salmanaligeek
Copy link

salmanaligeek commented Mar 17, 2017

This project is dead.
Check the date of last commit: Oct 15, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants