Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Why the hate for CI still
Post: RE: Why the hate for CI still

The top reason I like using CodeIgniter is that I can dig into the system files and easily understand how everything is put together. I personally don't like my frameworks stuffed with everything but ...
26,446 Views
19 Replies
06-28-2017, 07:47 PM
Nichiren
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

spjonez Wrote: (03-21-2017, 11:14 AM) -- Our staging area doesn't have the same traffic as our current production box so I can't say 100% yet, but I can say it hasn't happened once so far. Given how ...
17,351 Views
0 Replies
03-22-2017, 01:43 PM
Nichiren
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

spjonez Wrote: (03-13-2017, 05:23 PM) -- The build I'm testing with is our companies product based on my addon Cinder (https://forum.codeigniter.com/thread-276.html) for CI3. The repo in that link is...
17,351 Views
0 Replies
03-18-2017, 07:51 PM
Nichiren
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

Thanks for the tip on phpredis. I'm on 2.2.7 which is the default package on Ubuntu 16.04. I tried 3.1.1 but I couldn't get it to work with Twemproxy for some reason. Please update the thread if upgra...
17,351 Views
0 Replies
03-13-2017, 01:35 PM
Nichiren
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

Narf Wrote: (03-06-2017, 03:14 AM) -- Both ... but more of the latter. "Render" is the wrong term to use (that happens client side). However, by default, the lock is released after the entire scri...
17,351 Views
0 Replies
03-06-2017, 11:13 AM
Nichiren
    Thread: Multi-region databases
Post: RE: Multi-region databases

Unless I've misunderstood, if you're going multi-regional to reduce latency, wouldn't that logic be further up the stack towards DNS or the regional load balancers instead of in the application? Other...
5,018 Views
5 Replies
03-04-2017, 03:10 AM
Nichiren
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

That's funny - I arrived at this post after Googling my error and the top result is me asking about the same error two years ago. I recently had a spate of Redis "read error on connection" issues whic...
17,351 Views
0 Replies
03-03-2017, 11:47 PM
Nichiren
    Thread: Redis session driver broken
Post: RE: Redis session driver broken

I came across the same "Undefined index: timeout" error in line 155 of Session_redis_driver.php after updating my system files to the latest CI version 3.1.0-dev today. The quick fix for me was to exp...
4,142 Views
5 Replies
07-18-2016, 11:51 AM
Nichiren
    Thread: CodeIgniter 3 RC3
Post: RE: CodeIgniter 3 RC3

I've been closely following the commits since RC2 and have been upgrading to the develop branch every other week in production. Production has been solid and the commits have been quality. If you're s...
104,867 Views
0 Replies
03-11-2015, 02:45 PM
Nichiren
    Thread: query helper methods and transactions
Post: RE: query helper methods and transactions

I haven't tested this myself but have you tried running insert_id() and affected_rows() before calling trans_complete()? I'd imagine that once trans_complete() is called, insert_id() and affected_rows...
4,450 Views
0 Replies
03-11-2015, 11:57 AM
Nichiren
    Thread: What is wrong with narf ?
Post: RE: What is wrong with narf ?

I was actually surprised and impressed by how often Narf responds to the community no matter how seemingly irrelevant the question or where it was posted. I deal with very large communities myself and...
17,309 Views
0 Replies
03-05-2015, 10:15 PM
Nichiren
    Thread: CSRF only on POST request, reason?
Post: RE: CSRF only on POST request, reason?

I'd be interested in responses to these questions as well. Incidentally, is there a way to subscribe to a thread without having to reply to it? My personal take on 1. is that CI was reasonably conf...
13,907 Views
0 Replies
03-05-2015, 09:36 PM
Nichiren
    Thread: Authentication with token
Post: RE: Authentication with token

Are you looking for two factor authentication?
3,782 Views
0 Replies
03-05-2015, 08:54 PM
Nichiren
    Thread: Codeigniter 3 | JqGrid | CSRF
Post: RE: Codeigniter 3 | JqGrid | CSRF

mertdogan Wrote: (02-26-2015, 03:13 AM) -- Nichiren Wrote: (02-25-2015, 04:08 PM) -- If a user stays on the page for 7200 seconds without a reload, then the CSRF credential on the server would expir...
13,483 Views
0 Replies
02-26-2015, 12:25 PM
Nichiren
    Thread: Codeigniter 3 | JqGrid | CSRF
Post: RE: Codeigniter 3 | JqGrid | CSRF

If a user stays on the page for 7200 seconds without a reload, then the CSRF credential on the server would expire for that user since they would now have a stale token.
13,483 Views
0 Replies
02-25-2015, 04:08 PM
Nichiren
    Thread: Core/Loader 346 Issue
Post: RE: Core/Loader 346 Issue

Glad to help. I work on a few high volume sites myself and have gotten pretty used to issues like this. If your database is really getting hammered, I would highly suggest a caching layer like Redis o...
17,039 Views
0 Replies
02-25-2015, 03:58 PM
Nichiren
    Thread: Core/Loader 346 Issue
Post: RE: Core/Loader 346 Issue

Do you have the full error from your log? If that means line 346 from system/core/Loader.php then it would reference PHP Code: -- // Load the DB class $CI->db =& DB($params, $active_record); -- ...
17,039 Views
0 Replies
02-25-2015, 02:08 PM
Nichiren
    Thread: Codeigniter 3 | JqGrid | CSRF
Post: RE: Codeigniter 3 | JqGrid | CSRF

Do you have csrf_regenerate enabled in your config? If so, the error may be caused by a mismatch between a new token and a stale token. If that is the case, you can either disable csrf_regenerate (if ...
13,483 Views
0 Replies
02-25-2015, 01:50 PM
Nichiren
    Thread: autocomplete not working in ci3?
Post: RE: autocomplete not working in ci3?

If you're using jQuery UI, try: Code: -- $("#birds").autocomplete({  source: function(request, response) {    $.ajax({      url: "/home/search_description",      data: request,      da...
8,264 Views
0 Replies
02-25-2015, 01:33 PM
Nichiren
    Thread: Revisiting CI
Post: RE: Revisiting CI

In regards to your question about CI 3, I'd say that starting with it is a safe choice despite being in RC status and the CodeIgniter homepage still recommending 2.2.1. I migrated a platform that sees...
9,917 Views
0 Replies
02-25-2015, 01:02 PM
Nichiren

Theme © iAndrew 2016 - Forum software by © MyBB