Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: encryption_key in CI 3.x
Post: RE: encryption_key in CI 3.x

Oh gotcha. I thought it was supposed to make a new key each time. Didn't realize you make it just once and paste it in there. Thanks!
7,578 Views
3 Replies
08-21-2017, 07:12 AM
bjacobs
    Thread: 500 Error
Post: 500 Error

I'm getting a 500 error. However, through debugging I can see it is properly setting the root directory as public_html, it is loading the index.php in the root directory, it is loading the config.p...
1,723 Views
0 Replies
08-18-2017, 01:30 PM
bjacobs
    Thread: encryption_key in CI 3.x
Post: encryption_key in CI 3.x

I know in CI 3.x the instructions are: Code: -- $this->load->library('encryption'); $key = $this->encryption->create_key(16); // Get a hex-encoded representation of the key: $key = bin2hex($thi...
7,578 Views
3 Replies
08-18-2017, 10:50 AM
bjacobs
    Thread: Config file loading more than once
Post: Config file loading more than once

Using CI 2.0.2, if I put a log message in config.php, whenever I load a page for the first time, I can see it loads the config many times (different amount of times depending on the page). A reload hi...
1,360 Views
0 Replies
03-02-2017, 11:00 AM
bjacobs
    Thread: Same cookie name, different domain
Post: RE: Same cookie name, different domain

Diederik Wrote: (02-24-2017, 02:43 PM) -- Is there a reason not to upgrade? -- Well if it won't fix the problem, then I'm just taking a lot of time to do that. I will eventually, but need to solve ...
5,530 Views
5 Replies
02-24-2017, 02:54 PM
bjacobs
    Thread: Same cookie name, different domain
Post: RE: Same cookie name, different domain

Narf Wrote: (02-21-2017, 02:14 PM) -- Same question, different site (https://stackoverflow.com/questions/42377241/code-igniter-two-cookies-same-name-different-domain) Is this a problem? You obviou...
5,530 Views
5 Replies
02-24-2017, 02:04 PM
bjacobs
    Thread: Setting a session by id
Post: Setting a session by id

I'm using a very old version of CI (2.0.2) and I'm having a problem where if I have multiple sessions in the ci_sessions table, on a redirect back to my site, it's grabbing the first session it sees i...
1,338 Views
0 Replies
02-24-2017, 01:01 PM
bjacobs
    Thread: Creating a new session instead of updating
Post: Creating a new session instead of updating

Using version 2.0.2 and storing sessions in a database. Issue persists with both  $config['cookie_domain'] = ''; and  $config['cookie_domain'] = '.' . $_SERVER['SERVER_NAME']; I have a cart. I r...
1,455 Views
0 Replies
02-21-2017, 03:42 PM
bjacobs
    Thread: Same cookie name, different domain
Post: RE: Same cookie name, different domain

Narf Wrote: (02-21-2017, 02:14 PM) -- Same question, different site (https://stackoverflow.com/questions/42377241/code-igniter-two-cookies-same-name-different-domain) Is this a problem? You obviou...
5,530 Views
5 Replies
02-21-2017, 02:46 PM
bjacobs
    Thread: Same cookie name, different domain
Post: Same cookie name, different domain

I have: Code: -- $config['cookie_domain'] = '.' . $_SERVER['SERVER_NAME']; -- So why do I have one cookie named ci_session with the domain: Code: -- .mysite.com -- And another cookie named ci_sess...
5,530 Views
5 Replies
02-21-2017, 01:38 PM
bjacobs
    Thread: Session expiration different on local dev than live
Post: RE: Session expiration different on local dev than...

InsiteFX Wrote: (02-16-2017, 02:54 PM) -- You need to tell us what version of CodeIgniter that you are using for us to really help you. From what you said it sounds like it may be a timezone setti...
2,816 Views
2 Replies
02-16-2017, 03:09 PM
bjacobs
    Thread: Session expiration different on local dev than live
Post: Session expiration different on local dev than liv...

I see $config['sess_expiration'] = 7200; However, when I inspect my cookie, I can see on the live site it expires after 1 year and it's constantly updating. And on my local dev env, I inspect the c...
2,816 Views
2 Replies
02-16-2017, 12:23 PM
bjacobs
    Thread: Need to Clear cookies before logging in
Post: Need to Clear cookies before logging in

Can anyone tell me what possible issues can be when the bug is that logging in doesn't work (redirects to login again) and adding an item to my shopping cart (cart just stays at zero when pressing but...
1,191 Views
0 Replies
02-16-2017, 10:59 AM
bjacobs
    Thread: Sessions with multiple domains going to one site
Post: Sessions with multiple domains going to one site

Please forgive me as I'm very new to Code Igniter. I had this project dropped in my lap and am trying to understand someone else's code. I made a separate website for a client with the same backend a...
1,307 Views
0 Replies
02-15-2017, 02:16 PM
bjacobs

Theme © iAndrew 2016 - Forum software by © MyBB