Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: URI - Routing
Post: URI - Routing

Hi,  for example let's say we have a static page: site.com/contact and our Controller should look like: PHP Code: --
1,622 Views
1 Replies
06-01-2017, 04:20 AM
consigliere
    Thread: Cart Library & Smiley Helper Spun Off
Post: RE: Cart Library & Smiley Helper Spun Off

ciadmin Wrote: (12-14-2016, 09:57 PM) -- @yudikondo The code is there, but won't be updated. Seriously, there are many better alternatives. -- Which one?
41,277 Views
24 Replies
12-19-2016, 10:02 PM
consigliere
    Thread: CI Redis cache driver
Post: RE: CI Redis cache driver

that is stupid... and probably the reason why CI is losing developers if you are doing something do it all the way and not just half way
7,893 Views
9 Replies
09-10-2016, 05:40 AM
consigliere
    Thread: CI Redis cache driver
Post: RE: CI Redis cache driver

and will be added more functionality to redis library in the future?
7,893 Views
9 Replies
09-09-2016, 04:24 PM
consigliere
    Thread: CI Redis cache driver
Post: RE: CI Redis cache driver

that is just great
7,893 Views
9 Replies
08-19-2016, 05:08 AM
consigliere
    Thread: CI Redis cache driver
Post: RE: CI Redis cache driver

And why we do not have additional methods? What's the point to disable hmaps in redis in CI library? :S
7,893 Views
9 Replies
08-17-2016, 06:07 AM
consigliere
    Thread: CI Redis cache driver
Post: CI Redis cache driver

Hi,  In CI version 3.x we have Redis support. Official documentation for 'more information' points to https://github.com/phpredis/phpredis But if I user for example: Code: -- $this->cache->re...
7,893 Views
9 Replies
08-16-2016, 07:52 AM
consigliere
    Thread: Translations - Additional Languages
Post: RE: Translations - Additional Languages

Hi I am from Serbia. I can transalate to Serbian
79,921 Views
0 Replies
05-30-2016, 07:36 AM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

I finally managed to solve the issue by switching to redis driver! The code is same just the driver is different! So, conclusion is this: somewhere in memcached driver is bug with locking mechanis...
44,458 Views
51 Replies
05-26-2016, 06:58 AM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

Well yes. But for now I have to believe that everything will work :) I do not believe that this is on my side problem. As I mentioned: Quote: -- When user logs in app I store his data in sess...
44,458 Views
51 Replies
05-25-2016, 01:05 PM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

@spjonez because ELB will stick with one EC2 instance for single user as long as session is live. In highly load apps that could be a problem. I will try for sure. But what to put in CI Session ...
44,458 Views
51 Replies
05-25-2016, 12:38 PM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

This is seriously ridiculous. No one here reported any solution for my problem. I did everything as it should be with session_write_close() but just don't work. Maybe creators will do something in fut...
44,458 Views
51 Replies
05-25-2016, 11:53 AM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

API is not using sessions, on website in Session is saved api_key for authorization. API is rest service (POST and GET), which is on another ELB. On AWS we are using their ELB, how can I setup there...
44,458 Views
51 Replies
05-25-2016, 11:06 AM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

@narf what about API calls and storing data to Session? When user logs in app I store his data in session. Because I do not want to call API to fetch user data on every single request specially becau...
44,458 Views
51 Replies
05-25-2016, 10:37 AM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

Ok, I will refactor my code to use session_write_close(); after $this->session->set_userdata($data, $value); If this is the reason why is working so slow? What about reading the session, does it do...
44,458 Views
51 Replies
05-25-2016, 03:56 AM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

So like this: PHP Code: -- $this->session->set_userdata("notifications", $notifacations); session_write_close(); //this is ok to do? echo $this->session->userdata["lang"]; -- Basically after every c...
44,458 Views
51 Replies
05-24-2016, 07:44 PM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

Thanks spjonez, but I don get it, where to call session_write_close() ? For example I am having this in MY_Controller in __construct: PHP Code: -- if(isset($this->session->userdata["user_id"]...
44,458 Views
51 Replies
05-24-2016, 01:33 PM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

@spojoneze, maybe someone will eventually provide solution or creators will make this work in next version(s). This is ridiculous, response time with memcached is 5s - 6s, when move to files (php...
44,458 Views
51 Replies
05-24-2016, 07:11 AM
consigliere
    Thread: Session: Error while trying to free lock for ci_session
Post: RE: Session: Error while trying to free lock for c...

Someone?
44,458 Views
51 Replies
05-24-2016, 02:04 AM
consigliere
    Thread: Redis/db session drivers causing deadlocks (MySQL 5.6, CI 3.0.6)
Post: RE: Redis/db session drivers causing deadlocks (My...

I have pretty same problem but with memcached, check my question here http://forum.codeigniter.com/thread-65249.html Maybe will someone provide right answer  :s
4,720 Views
3 Replies
05-20-2016, 06:22 PM
consigliere

Theme © iAndrew 2016 - Forum software by © MyBB