Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Multi cart
Post: Multi cart

Is there a multi cart plug in? I have found https://github.com/uno-de-piera/multi_cart_ci But it is old so I am not sure if it is still usable for version 4 Thanks
291 Views
0 Replies
04-03-2021, 06:40 AM
Knutsford
    Thread: anchor tab
Post: anchor tab

I have a page with a bootstrap toggle Sold If I call it from another page how do I get it to open the user_sold div please At the moment it goes back to the page theny you...
369 Views
0 Replies
03-30-2021, 07:23 AM
Knutsford
    Thread: $this->session->set_flashdata
Post: $this->session->set_flashdata

A previous developer has written something like $this->session->set_flashdata('promote', "BlaaBlaa"); I am confused 1) It is giving a popup on only on the desktop version which is what ...
343 Views
0 Replies
03-16-2021, 03:19 AM
Knutsford
    Thread: Or in a select statement
Post: RE: Or in a select statement

something like  select * from table where ( a = 'aa' and b = 'bb')  or (c = 'aa' and b = 'bb')
561 Views
3 Replies
03-11-2021, 10:27 AM
Knutsford
    Thread: Or in a select statement
Post: Or in a select statement

PHP Code: -- function select($table_name, $where_data){   $this->db->select('*');   $this->db->from($table_name);   $this->db->where($where_data); $this->db->order_by('id','DESC');   ...
561 Views
3 Replies
03-11-2021, 06:44 AM
Knutsford
    Thread: Coming Soon Page
Post: RE: Coming Soon Page

I had wondered about the second option bu wasn't sure if that would mess up the routing. I like the idea of checking if the $_GET parameter is passed better. I am just panicking after what happened on...
1,059 Views
7 Replies
03-08-2021, 03:18 AM
Knutsford
    Thread: Coming Soon Page
Post: RE: Coming Soon Page

John_Betong Wrote: (03-08-2021, 02:20 AM) -- Knutsford Wrote: (03-08-2021, 01:06 AM) -- John_Betong Wrote: (03-07-2021, 04:55 PM) -- Try and create a new coming soon page and in the top of index.ph...
1,059 Views
7 Replies
03-08-2021, 02:53 AM
Knutsford
    Thread: Coming Soon Page
Post: RE: Coming Soon Page

John_Betong Wrote: (03-07-2021, 04:55 PM) -- Try and create a new coming soon page and in the top of index.php include the coming soon page followed by exit; or die; -- Would that work? I still want ...
1,059 Views
7 Replies
03-08-2021, 01:06 AM
Knutsford
    Thread: Coming Soon Page
Post: Coming Soon Page

How do I go about uploaded a temporary "coming soon" page while a codeigniter site is being worked on. You can't just replace the Index.php page. Thanks
1,059 Views
7 Replies
03-07-2021, 09:36 AM
Knutsford
    Thread: <p>Message: Cannot use object of type stdClass as array</p>
Post: RE: <p>Message: Cannot use object of type stdClass...

I have changed it to $menus["Licensees"][]=objectToArray($row); But I am now getting Message: Argument 1 passed to objectToArray() must be an object, string given?
760 Views
4 Replies
11-24-2020, 01:34 AM
Knutsford
    Thread: <p>Message: Cannot use object of type stdClass as array</p>
Post: RE: <p>Message: Cannot use object of type stdClass...

InsiteFX Wrote: (11-23-2020, 12:53 PM) -- Because you are trying to assign an object to an array. I use these to helper when I need to convert one to the other. PHP Code: -- // ---------------...
760 Views
4 Replies
11-23-2020, 01:03 PM
Knutsford
    Thread: <p>Message: Cannot use object of type stdClass as array</p>
Post: <p>Message: Cannot use object of type stdClass as ...

Code: -- I have this in the view {foreach from=$menus.Licensees item=this_licen name=licensees}                                 {if $this_licen.FranchiseeID $this_licen.PreviousFranchiseeID} ...
760 Views
4 Replies
11-23-2020, 12:29 PM
Knutsford
    Thread: Upgrading to 3.1.11
Post: RE: Upgrading to 3.1.11

Knutsford Wrote: (11-22-2020, 02:59 AM) -- 1) Why do I keep getting Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Login has a depreca...
569 Views
3 Replies
11-22-2020, 03:33 AM
Knutsford
    Thread: Upgrading to 3.1.11
Post: Upgrading to 3.1.11

1) Why do I keep getting Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Login has a deprecated constructor in Login.php on line 3 ...
569 Views
3 Replies
11-22-2020, 02:59 AM
Knutsford
    Thread: smarty
Post: smarty

If I download the latest smarty instead of trying to use the old one when upgrading my CodeIgniter site it says I need two libraries under views - templates and templates_c. Where would I put the curr...
337 Views
0 Replies
11-21-2020, 02:49 PM
Knutsford
    Thread: Upgrading
Post: Upgrading

I am trying to upgrade a very old CodeIgniter site and I am getting Message: Cannot access protected property CI_Loader::$_ci_varmap The line is $this->load->_ci_varmap['smarty_parser']...
320 Views
0 Replies
11-21-2020, 09:57 AM
Knutsford
    Thread: Adding Validation
Post: RE: Adding Validation

Not if I don't a rule alpha_space to something. I am not worried about that for now. I just don't know why with the existing rules when I upload my MY_Form_validation.php I don't get any error message...
1,229 Views
4 Replies
04-28-2020, 11:37 AM
Knutsford
    Thread: Adding Validation
Post: RE: Adding Validation

Knutsford Wrote: (04-28-2020, 07:12 AM) -- I am trying to add in validation for just Alphabetic and spaces but something seems to be wrong with this. It is in MY_Form_validation.php under /libraries...
1,229 Views
4 Replies
04-28-2020, 10:50 AM
Knutsford
    Thread: Adding Validation
Post: Adding Validation

I am trying to add in validation for just Alphabetic and spaces but something seems to be wrong with this. It is in MY_Form_validation.php under /libraries. Can anyone see anything wrong with? It is v...
1,229 Views
4 Replies
04-28-2020, 07:12 AM
Knutsford
    Thread: 404 going to admin
Post: RE: 404 going to admin

Knutsford Wrote: (02-28-2020, 09:27 AM) -- It is as thought everything is going through $route['default_controller'] and $route['admin'] = "admin/Login"; is being ignored -- Routes.php under the web ...
1,129 Views
2 Replies
02-29-2020, 09:21 AM
Knutsford

Theme © iAndrew 2016 - Forum software by © MyBB