Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: A Database Error Occurred Error Number: 1054 Unknown column 'Array' in 'field list
Post: RE: A Database Error Occurred Error Number: 1054 ...

I got it fixed as earlier it was adding array to the database which was causing the problem where $data is array. Earlier the code was if($msg=$this->Calibration_model->add_calibration($data)) { ...
14,072 Views
4 Replies
02-17-2017, 06:59 AM
raminderrandhawa
    Thread: A Database Error Occurred Error Number: 1054 Unknown column 'Array' in 'field list
Post: A Database Error Occurred Error Number: 1054 Unk...

I am getting the following error while adding the values to database . Though the values are being added in the database but the page with the errors shows up. A PHP Error was encountered Severi...
14,072 Views
4 Replies
02-16-2017, 01:14 PM
raminderrandhawa
    Thread: A PHP Error Severity: Notice Message: session_write_close(): Skipping numeric key 0
Post: RE: A PHP Error Severity: Notice Message: sessio...

InsiteFX Wrote: (02-10-2017, 07:33 AM) -- You use it when you are finished with the session data that you are using. -- I used it in the wrong way. I m not supposed to write session_write_close(); ...
8,674 Views
5 Replies
02-10-2017, 08:57 AM
raminderrandhawa
    Thread: A PHP Error Severity: Notice Message: session_write_close(): Skipping numeric key 0
Post: RE: A PHP Error Severity: Notice Message: sessio...

InsiteFX Wrote: (02-07-2017, 04:20 AM) -- The keys in the $ _SESSION associative array are subject to the same limitations as regular variable names in PHP, ie they can not start with a number and m...
8,674 Views
5 Replies
02-10-2017, 07:26 AM
raminderrandhawa
    Thread: A PHP Error Severity: Notice Message: session_write_close(): Skipping numeric key 0
Post: A PHP Error Severity: Notice Message: session_wr...

I upgraded from codeigniter 2.21 to 3.1.3 and getting this error message
8,674 Views
5 Replies
02-06-2017, 11:53 AM
raminderrandhawa
    Thread: Upgrading from CI 2.2.1 to CI 3.1.3(Though the first page opens up but login doesn't)
Post: RE: Upgrading from CI 2.2.1 to CI 3.1.3(Though the...

I have resolved it . Its because session.start(); function was being called in another controller which caused this problem. Thanks.
1,499 Views
1 Replies
02-03-2017, 09:56 AM
raminderrandhawa
    Thread: Upgrading from CI 2.2.1 to CI 3.1.3(Though the first page opens up but login doesn't)
Post: Upgrading from CI 2.2.1 to CI 3.1.3(Though the fir...

I have upgraded from CI 2.2.1 to CI 3.1.3 using the tutorial but the first web page shows up without any error but the login doesn't work. I am using files driver  $config['sess_driver'] = 'files'; ...
1,499 Views
1 Replies
02-03-2017, 08:25 AM
raminderrandhawa
    Thread: Session doesn't work after update from 2.2.1 to 3
Post: RE: Session doesn't work after update from 2.2.1 t...

raminderrandhawa Wrote: (01-26-2017, 08:32 AM) -- muuucho Wrote: (01-26-2017, 08:28 AM) -- have you tried the files driver? https://codeigniter.com/user_guide/libraries/sessions.html#files-driver (...
13,099 Views
15 Replies
01-30-2017, 01:06 PM
raminderrandhawa
    Thread: Session doesn't work after update from 2.2.1 to 3
Post: RE: Session doesn't work after update from 2.2.1 t...

Wouter60 Wrote: (01-27-2017, 08:37 AM) -- Just wondering: did you rename all your php files that contain classes to names starting with a capital letter? That's one of the things CI 3.x requires. -- ...
13,099 Views
15 Replies
01-30-2017, 12:06 PM
raminderrandhawa
    Thread: Session doesn't work after update from 2.2.1 to 3
Post: RE: Session doesn't work after update from 2.2.1 t...

muuucho Wrote: (01-26-2017, 08:28 AM) -- have you tried the files driver? https://codeigniter.com/user_guide/libraries/sessions.html#files-driver (https://codeigniter.com/user_guide/libraries/sessio...
13,099 Views
15 Replies
01-26-2017, 08:32 AM
raminderrandhawa
    Thread: Session doesn't work after update from 2.2.1 to 3
Post: RE: Session doesn't work after update from 2.2.1 t...

Any help related to this problem will be really appreciated.
13,099 Views
15 Replies
01-26-2017, 06:56 AM
raminderrandhawa
    Thread: Session doesn't work after update from 2.2.1 to 3
Post: RE: Session doesn't work after update from 2.2.1 t...

Narf Wrote: (01-25-2017, 02:21 PM) -- raminderrandhawa Wrote: (01-25-2017, 11:18 AM) -- But I am getting error Unable to locate the specified class: Session.php  But incase I move Session.php from ...
13,099 Views
15 Replies
01-25-2017, 02:44 PM
raminderrandhawa
    Thread: Session doesn't work after update from 2.2.1 to 3
Post: RE: Session doesn't work after update from 2.2.1 t...

ciadmin Wrote: (01-25-2017, 01:55 PM) -- 1) Not using a database, your config says that session data will be stored in the "ci_sessions" folder. I trust that folder exists and is writeable? 2) It ...
13,099 Views
15 Replies
01-25-2017, 02:31 PM
raminderrandhawa
    Thread: Session doesn't work after update from 2.2.1 to 3
Post: RE: Session doesn't work after update from 2.2.1 t...

Diederik Wrote: (01-25-2017, 01:18 PM) -- Have you read and followed: https://www.codeigniter.com/userguide3/installation/upgrade_300.html Have you tried: http://lmgtfy.com/?q=%22Unable+to+locat...
13,099 Views
15 Replies
01-25-2017, 01:31 PM
raminderrandhawa
    Thread: Session doesn't work after update from 2.2.1 to 3
Post: RE: Session doesn't work after update from 2.2.1 t...

muuucho Wrote: (01-25-2017, 12:59 PM) -- Try to uncomment    $config['sess_use_database'] = FALSE; -- I did that still the same error.
13,099 Views
15 Replies
01-25-2017, 01:08 PM
raminderrandhawa
    Thread: Session doesn't work after update from 2.2.1 to 3
Post: Session doesn't work after update from 2.2.1 to 3

Hello, I am updating from CI2.2 to CI 3.0 using the tutorial. I have done the following modifications in the config.php  $config['sess_cookie_name'] = 'ci_sessions'; $config['sess_expiration'] = 864...
13,099 Views
15 Replies
01-25-2017, 11:18 AM
raminderrandhawa

Theme © iAndrew 2016 - Forum software by © MyBB