Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Output cache not deleting expired caches
Post: RE: Output cache not deleting expired caches

I do have cache_query_string set to true but maybe I need to look at my app not caching the page where query strings are used.
1,573 Views
2 Replies
07-04-2018, 04:38 PM
gdhnz
    Thread: Output cache not deleting expired caches
Post: Output cache not deleting expired caches

I've got an issue in that expired page caches are not being deleted. This is currently happening under v3.1.9 but I've also noticed on some of my old v3 applications it's doing it as well. On https...
1,573 Views
2 Replies
07-04-2018, 01:37 PM
gdhnz
    Thread: PHP 7.2 released
Post: RE: PHP 7.2 released

I've just hit https://github.com/bcit-ci/CodeIgniter/issues/5300. When's v3.1.7 going to be released?
59,567 Views
36 Replies
12-04-2017, 12:33 PM
gdhnz
    Thread: Session and match_ip ignore proxy
Post: RE: Session and match_ip ignore proxy

Our web setup uses docker containers behind some proxies. What I see when I use match_ip for sessions is the ip address of the proxies. All I've done is copy the system/libraries/Sessions/drivers/...
4,356 Views
8 Replies
03-14-2017, 12:14 PM
gdhnz
    Thread: Session and match_ip ignore proxy
Post: RE: Session and match_ip ignore proxy

If it makes any difference to the explanation, I'm on CI v3.1.3.
4,356 Views
8 Replies
03-13-2017, 04:18 PM
gdhnz
    Thread: Session and match_ip ignore proxy
Post: RE: Session and match_ip ignore proxy

If you don't want me to provide a PR then that's fine but I'm not going to revert my local changes with no explanation when it's doing what I require.
4,356 Views
8 Replies
03-13-2017, 03:29 PM
gdhnz
    Thread: Session and match_ip ignore proxy
Post: RE: Session and match_ip ignore proxy

I've overridden the relevant session driver to set the $CI->input->ip_address() value to a $this->ip_address class variable in the driver constructor and have replaced all instances of $_SERVER['REMOT...
4,356 Views
8 Replies
03-13-2017, 02:59 PM
gdhnz
    Thread: Session and match_ip ignore proxy
Post: Session and match_ip ignore proxy

Hi, I've got some proxy IPs set in my config but I've found out if you set $config['sess_match_ip'] = true, then the Session library will not take into account the proxies and will always use $_SERVE...
4,356 Views
8 Replies
03-13-2017, 01:39 PM
gdhnz
    Thread: Composer not loading from php include dir
Post: [Solved] Composer not loading from php include dir

What I've done is add the following to my config. PHP Code: -- $config['composer_autoload'] = stream_resolve_include_path("vendor/autoload.php"); -- stream_resolve_include_path returns false if ...
8,708 Views
9 Replies
06-18-2015, 08:28 PM
gdhnz
    Thread: Composer not loading from php include dir
Post: RE: Composer not loading from php include dir

kenjis Wrote: (06-16-2015, 07:08 PM) -- gdhnz Wrote: (06-16-2015, 12:57 PM) -- I work at a University and we do a lot of similar developments for departments, research groups, etc. For us, it's easi...
8,708 Views
9 Replies
06-16-2015, 07:55 PM
gdhnz
    Thread: Composer not loading from php include dir
Post: RE: Composer not loading from php include dir

Can system/core/CodeIgniter.php be overridden by adding a MY_CodeIgniter.php to application/core?
8,708 Views
9 Replies
06-16-2015, 01:02 PM
gdhnz
    Thread: Composer not loading from php include dir
Post: RE: Composer not loading from php include dir

I work at a University and we do a lot of similar developments for departments, research groups, etc. For us, it's easier to have a single vendor directory in an include path rather than duplicating t...
8,708 Views
9 Replies
06-16-2015, 12:57 PM
gdhnz
    Thread: Composer not loading from php include dir
Post: RE: Composer not loading from php include dir

Interesting wording using "should". Does that imply it has to be 5.2.4? Would it be ok to add a pull request like either of the following or are cross-version workarounds frowned upon? PHP Code...
8,708 Views
9 Replies
06-15-2015, 08:07 PM
gdhnz
    Thread: Composer not loading from php include dir
Post: Composer not loading from php include dir

Hi, I've discovered that composer is not loading when my vendor directory is in one my php.ini include_paths. On line 173 of system/core/CodeIgniter.php there's the following... PHP Code: --...
8,708 Views
9 Replies
06-15-2015, 05:35 PM
gdhnz
    Thread: CI3 routing on case-sensitive filesystem
Post: RE: CI3 routing on case-sensitive filesystem

Fixed my issue. I forgot I had overridden the CI_Router.php when I was using CI2. I just removed it and everything works as it should in CI3.
1,525 Views
1 Replies
05-21-2015, 04:49 PM
gdhnz
    Thread: CI3 routing on case-sensitive filesystem
Post: CI3 routing on case-sensitive filesystem

Hi, I've got a couple of issue regarding routing in CI3 for my app. Routing is not working as expected for my on a case-sensitive filesystem after the ucfirst changes to filenames for controllers....
1,525 Views
1 Replies
05-20-2015, 04:05 PM
gdhnz

Theme © iAndrew 2016 - Forum software by © MyBB