Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Paginate Processor Load
Post: RE: Paginate Processor Load

InsiteFX Wrote: (05-29-2021, 05:17 AM) -- CodeIgniter's caching may help in this matter. -- Thanks for the suggestion InsiteFX.  So far I've mostly ignored CI caching, having left it on a list of t...
372 Views
4 Replies
05-30-2021, 03:22 PM
Gary
    Thread: Paginate Processor Load
Post: Paginate Processor Load

Having recently moved a development from a Windows-based to a Linux-based Apache (MPM) platform, I find that the pagination function appears to cause a particularly heavy load on the processor - and t...
372 Views
4 Replies
05-29-2021, 05:15 AM
Gary
    Thread: Free to rheme
Post: RE: Free to rheme

I have had a look at what you suggested, thanks InsiteFX... it is an implementation of a similar concept to what I've used for the images on my site. My headache is that my site is largely JavaScript...
329 Views
2 Replies
11-27-2020, 07:29 AM
Gary
    Thread: Session lost after refresh page!
Post: RE: Session lost after refresh page!

In the 'receiving' controller, try inserting this somewhere at the top: Code: -- $this->session = \Config\Services::session(); --
997 Views
4 Replies
11-26-2020, 09:18 AM
Gary
  Question Thread: Free to rheme
Post: Free to rheme

There are a lot of discussions, examples, plug-ins, libraries, and suchlike on the topic of User Authentication... the problem that I have is that, for many of them, it's very much along the lines of:...
329 Views
2 Replies
11-26-2020, 07:00 AM
Gary
  Question Thread: Displaying Validation errors - with more than a single {parm}
Post: Displaying Validation errors - with more than a si...

Here’s an easy one, to which I suspect the answer is “No”: Is there a way that custom validation error messages can be customised to have MORE than a single {parm} injected into it? The examples...
273 Views
0 Replies
11-24-2020, 08:04 AM
Gary
    Thread: Just when I thought I had Pagination put to bed...
Post: RE: Just when I thought I had Pagination put to be...

There is an index on the date field, though for obvious reasons it is not unique. It is part of an index: name|status|date. id, which is the primary key in the table IS unique, and will have it's ...
853 Views
8 Replies
11-06-2020, 03:39 AM
Gary
    Thread: Just when I thought I had Pagination put to bed...
Post: RE: Just when I thought I had Pagination put to be...

Thanks for the suggestions... however: 1) The storage engine is already InnoDB. 2) whereIn() is necessary because STATUS_ARRAY is an array of acceptable statuses, not a single value (and using where...
853 Views
8 Replies
11-04-2020, 06:07 AM
Gary
  Question Thread: Just when I thought I had Pagination put to bed...
Post: Just when I thought I had Pagination put to bed...

I've experienced a hiccup with pagination... this time when it comes to the sort order of results. If I do this: Code: -- $model->select('name, status, date, timezone, .....')->where('name', $name...
853 Views
8 Replies
11-03-2020, 11:43 AM
Gary
    Thread: [SOLVED] - Show or Hide Debug Bar
Post: RE: Show or Hide Debug Bar

There is also the possibility of removing it (whilst still in the development environment, and on-the-fly in one's active code, if that floats your boat) using settings in \Config\Filters.php: Cod...
1,076 Views
7 Replies
10-02-2020, 05:25 AM
Gary
    Thread: Pagination Problems
Post: RE: Pagination Problems

Ok, the example code makes it clearer, thank you InsiteFX. It would appear that we're talking about different aspects of the pagination functionality... displaying an array of material from the Co...
1,032 Views
10 Replies
10-02-2020, 02:45 AM
Gary
    Thread: Pagination Problems
Post: RE: Pagination Problems

nc03061981 Wrote: (09-30-2020, 06:13 PM) -- Code: -- $data['query'] = $model->myQuery()->paginate(10); $data['result_process'] = $model->processResult($data['query']); -- Write a function proces...
1,032 Views
10 Replies
10-01-2020, 04:01 PM
Gary
    Thread: Codeigniter 4 in intranet
Post: RE: Codeigniter 4 in intranet

Intranet/Extranet/Internet from a networking perspective are essentially all different portions of the same network nowadays (where an Intranet or Extranet is simply 'dark' (hidden) to most global use...
1,121 Views
7 Replies
09-30-2020, 05:31 AM
Gary
    Thread: Pagination Problems
Post: RE: Pagination Problems

Thanks... though this is how I have all of my (long-time already) operational Pagination working, and as mentioned, it works great. The problem I have is that, to save on a stupid amount of mostly un...
1,032 Views
10 Replies
09-30-2020, 04:24 AM
Gary
  Question Thread: Pagination Problems
Post: Pagination Problems

I have a (reasonably) 'standard' incarnation of the manual pagination working well, however, in an attempt to maximize MySQL's index use, whilst not generating an excessively burdensome load on MySQL ...
1,032 Views
10 Replies
09-29-2020, 11:36 AM
Gary
    Thread: Languages - guidances,ways to learn.
Post: RE: Languages - guidances,ways to learn.

My 2-cents worth of observations on the topic: 1) Chinese (any of the several dialects) is nothing like what a Westerner understands as a language... the 'data' is mostly encoded in the the tone CHAN...
3,054 Views
7 Replies
09-16-2020, 12:32 PM
Gary
    Thread: Timestamp Inconsistency
Post: RE: Timestamp Inconsistency

tgix Wrote: (09-12-2020, 10:39 AM) -- As pointed out - the database may also be in another timezone. For MySQL I always do a "SET time_zone='+00:00'" after connecting to the database and then make su...
1,749 Views
4 Replies
09-14-2020, 05:45 AM
Gary
    Thread: How to translate url
Post: RE: How to translate url

I've not spent a lot of time contemplating it... and there may well be some sense in doing it how you propose... maybe... under some fringe cases (?). To me, your comment about it being "long and ted...
1,013 Views
3 Replies
09-13-2020, 01:42 PM
Gary
    Thread: Timestamp Inconsistency
Post: RE: Timestamp Inconsistency

Great!... does that mean this will be pushed into one of the upcoming revisions? :)
1,749 Views
4 Replies
09-12-2020, 08:44 AM
Gary
    Thread: How to translate url
Post: RE: How to translate url

I've never played with language variants, but, if it's only text that's changing per page, then it may be more sensible to keep the same URL and simply replace the bits of text within the page as appr...
1,013 Views
3 Replies
09-12-2020, 08:42 AM
Gary

Theme © iAndrew 2016 - Forum software by © MyBB