Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: working with apache2 mpm_event
Post: working with apache2 mpm_event

Hi Team, My research suggests I need to move away from mpm_prefork to mpm_event for my site. This must be something done by many of you. Alas my CI 3.1.16 (php7.4) config is broken when I go for mp...
2,158 Views
1 Replies
11-21-2021, 02:01 AM
PaulC
    Thread: Implementing apache fpm has broken my app
Post: Implementing apache fpm has broken my app

Hi Team, I was reviewing my server config and decided to try and implement php fpm/fastcgi in anticipation of lots of concurrent sessions. Software: apache 2.4.41 (ubuntu); php 7.4; CI 3.1.16 Now w...
1,252 Views
1 Replies
11-12-2021, 03:08 AM
PaulC
    Thread: Headless rendering on LAMP server
Post: RE: Headless rendering on LAMP server

Thanks ojmichael. I have actually built a similar node script, and have had some partial success. However its not stable yet and I have open queries on the puppeteer github issues list. I'm still ho...
2,673 Views
5 Replies
05-14-2021, 02:14 AM
PaulC
    Thread: Headless rendering on LAMP server
Post: RE: Headless rendering on LAMP server

Gents I like brevity! I have grown up with unix cli. But Please expand a bit. I have installed puppeteer but cannot get any screenshot of the bootstrap modal as yet. As for migrating to ci4 how...
2,673 Views
5 Replies
04-24-2021, 09:22 AM
PaulC
    Thread: Headless rendering on LAMP server
Post: Headless rendering on LAMP server

Hi Helpers, I am using CI v3.1.6 with php7.4 on ubuntu 20.04 LAMP. We generate a complex bootstrap modal, and I want to render this modal on my server so that I can use a JS library called html2ca...
2,673 Views
5 Replies
04-20-2021, 11:51 AM
PaulC
    Thread: How to send flashdata to a different session
Post: RE: How to send flashdata to a different session

Well clearly no one has tried it or I am stupid to ask! For info if anyone faces same problem my own efforts were as follows: 1) I did try writing the __ci_vars structure into the required session fi...
2,901 Views
3 Replies
04-08-2019, 02:37 AM
PaulC
    Thread: How to send flashdata to a different session
Post: RE: How to send flashdata to a different session

Is their any mileage in saving the users instance and posting flash data to it from the new controller session?
2,901 Views
3 Replies
04-03-2019, 11:30 PM
PaulC
    Thread: How to send flashdata to a different session
Post: How to send flashdata to a different session

Hi Team, We are using CI v3 with a file based session management scheme. We have a situation where a user initiates a web transaction which results in a callback to our ubuntu apache2 web server...
2,901 Views
3 Replies
04-02-2019, 12:41 PM
PaulC
    Thread: Memory management
Post: RE: Memory management

Hmm, thanks once again. Your last point is interesting. Yes we are running Apache and Mysql 5.7 on same machine and I have already reviewed some of the db transactions because they are returning silly...
4,457 Views
4 Replies
08-16-2018, 08:41 AM
PaulC
    Thread: Memory management
Post: RE: Memory management

Hi Pertti, thanks for that. We are currently running 5.6 but I can see going to 7 might be a good move. Can I ask you what you mean by request please? For example, if in our code we direct to anoth...
4,457 Views
4 Replies
08-15-2018, 12:58 PM
PaulC
    Thread: Memory management
Post: Memory management

Hi Team, I am working on a CI project LAMP on Ubuntu. I only have a dev site currently but am concerned about the memory being used by my site, and in particular whether I am sensibly closing ci...
4,457 Views
4 Replies
08-15-2018, 04:53 AM
PaulC
    Thread: sessions managment
Post: RE: sessions managment

What an excellent article! I shall be taking the advice asap :-) Thanks for your patience.
5,991 Views
6 Replies
05-17-2018, 05:16 AM
PaulC
    Thread: sessions managment
Post: RE: sessions managment

ok thanks for all that - appreciated. One further query if I may please? Your point 4 - How would having a unique cookie help say 3 user sessions which each (presumably) have their own unique se...
5,991 Views
6 Replies
05-17-2018, 02:44 AM
PaulC
    Thread: sessions managment
Post: RE: sessions managment

Thanks jreklund- Could you clarify a bit further please as I don't understand some of your comments. 1) The CI notes talk about GC as though it was something CI controls. Am I right in understandin...
5,991 Views
6 Replies
05-16-2018, 11:15 AM
PaulC
    Thread: sessions managment
Post: sessions managment

Hi Team, We autoload session library and make good use of the cross page storage mechanism. (file based). My config is as follows: $config['sess_driver'] = 'files'; $config['sess_cookie_name'] =...
5,991 Views
6 Replies
05-14-2018, 10:01 AM
PaulC
    Thread: complex query failing
Post: RE: complex query failing

Some more magic! It works now. Looks like the embedded single quotes was the problem. I didnt use the compiled select, but added the 3rd parameter, and changed the quoting of the user_id as sugge...
2,649 Views
2 Replies
05-05-2018, 03:38 AM
PaulC
    Thread: complex query failing
Post: complex query failing

Hi Team, This query worked on CI v2 but fails on latest v3.            $this->db                 ->select('`friends`.*,                           `user_to`.`id` AS `to_id`,                 ...
2,649 Views
2 Replies
05-05-2018, 01:59 AM
PaulC
    Thread: cli cron job fails to see controller
Post: RE: cli cron job fails to see controller

Sorry - I'm an idiot! The message is because my code is spitting out 404 error hence this exception. I hope I havent wasted anyones time :-(
4,214 Views
2 Replies
04-25-2018, 01:47 PM
PaulC
    Thread: cli cron job fails to see controller
Post: cli cron job fails to see controller

Hi Team, The docs seem a little terse to say the least, but I have a problem running my cron job which ran successfully on a similar site. The site I am having the problem with is up to date with la...
4,214 Views
2 Replies
04-25-2018, 09:50 AM
PaulC
    Thread: How to exchange user data with the same class instance
Post: RE: How to exchange user data with the same class ...

Ok just seen other comments thx very much I guess our original design is pretty much what you described pauld thx again for you patience!
5,401 Views
5 Replies
11-27-2017, 02:10 PM
PaulC

Theme © iAndrew 2016 - Forum software by © MyBB