Welcome Guest, Not a member yet? Register   Sign In
Search Results
  Question Thread: $allowedHostnames only half-useful (?)
Post: $allowedHostnames only half-useful (?)

Since v4.3.0, Config\App::$allowedHostnames has permitted one to add multiple host URLs to be returned as though they were the base_url(), which is great! However, having had a look at SiteURIFactory...
206 Views
0 Replies
07-02-2024, 08:00 AM
Gary
    Thread: Exception thrown in Security.php not caught
Post: RE: Exception thrown in Security.php not caught

It's taken me a while to stumble across the reply, sorry!... I'm not a regular here, so sometimes bits are missed. Thanks for the feedback Kenjis... and for the pointer on exceptions in general. ...
3,616 Views
6 Replies
06-18-2024, 08:44 AM
Gary
    Thread: Cannot access protected property CodeIgniter\HTTP\IncomingRequest::$uri
Post: RE: Cannot access protected property CodeIgniter\H...

In this business it helps if one is a masochist.  :) Consider minor syntactical changes that do result in breakages as hors d'oeuvres... it's the more subtle changes that don't cause outright breakag...
3,159 Views
11 Replies
05-03-2024, 01:57 AM
Gary
  Question Thread: MaintenanceFilter vs JavaScript
Post: MaintenanceFilter vs JavaScript

With all the changes to CI's routing, I'm wondering if there is a clever trick to be able to bypass the Maintenance filter on a (in my case necessary) second entry? In order to refresh the page (wi...
219 Views
0 Replies
05-03-2024, 01:19 AM
Gary
    Thread: Validation | trim causes 500: Internal Server Error
Post: RE: Validation | trim causes 500: Internal Server ...

kenjis Wrote: (04-27-2024, 04:34 AM) --   The validation rule trim does not exist from the beginning. But you can use any native PHP functions that return boolean and permit at least one parameter. ...
1,745 Views
2 Replies
04-27-2024, 03:24 PM
Gary
  Question Thread: Validation | trim causes 500: Internal Server Error
Post: Validation | trim causes 500: Internal Server Erro...

Having recently upgraded from v4.4.4 to v4.5.1, I'm finding that the trim "rule" in Validation is behaving differently. The particular problem I've experienced is, under certain conditions (when Va...
1,745 Views
2 Replies
04-26-2024, 05:09 AM
Gary
    Thread: Unecessary Log File Entries?
Post: RE: Unecessary Log File Entries?

kenjis Wrote: (01-26-2024, 06:26 PM) -- They are INFO level logs. See https://codeigniter4.github.io/CodeIgniter4/general/logging.html#log-levels You can modify which levels are actually logged. ...
679 Views
2 Replies
02-09-2024, 02:33 PM
Gary
    Thread: codeigniter 4.1.8 - Session: Initialization under CLI aborted.
Post: RE: codeigniter 4.1.8 - Session: Initialization un...

engel Wrote: (11-30-2023, 04:14 AM) -- Maybe this is too late but in case anyone might come across to this problem, "Session: Initialization under CLI aborted." implies that your application is  auto...
1,891 Views
3 Replies
01-24-2024, 03:02 PM
Gary
  Question Thread: Unecessary Log File Entries?
Post: Unecessary Log File Entries?

So far I've come across these log file entries that appear to document normal operation of the code (vs warnings or errors)... which means they are probably only cluttering log files (and don't seem t...
679 Views
2 Replies
01-22-2024, 04:58 PM
Gary
    Thread: Email Timeout
Post: RE: Email Timeout

InsiteFX Wrote: (01-21-2024, 10:27 AM) -- Sorry I meant PHPMailer which is an Email Library that a lot of use in CodeIgniter. -- Thanks for the links InsiteFX. No, I've not tried PHPMailer yet.....
1,230 Views
4 Replies
01-21-2024, 11:16 AM
Gary
    Thread: Email Timeout
Post: RE: Email Timeout

InsiteFXDid you try using PHPMail to see if it times out? Thanks InsiteFX. This would mean setting $protocol = 'mail'... vs 'smtp' that I've had it on? I've not been able to find any details ...
1,230 Views
4 Replies
01-21-2024, 09:13 AM
Gary
  Question Thread: Email Timeout
Post: Email Timeout

I've recently happened across a situation with Email Timeouts that appears to have no simple work-around. Although the Email setup I have generally works well, in certain situations I've found that...
1,230 Views
4 Replies
01-21-2024, 07:31 AM
Gary
  Question Thread: Noncense?
Post: RE: Noncense?

Thanks for the explanation Kenjis... .and sorry for the delayed response- this one seemed to drop off my radar... and only since I've now had more problems with this same issue and did an Internet sea...
1,105 Views
3 Replies
01-17-2024, 03:37 AM
Gary
    Thread: Is there a good reason CI is slipping behind the times?
Post: RE: Is there a good reason CI is slipping behind t...

Great, thank you Kilishan. It's already in the latest revision code?!... nice! Thanks Kenjis.
1,321 Views
4 Replies
03-29-2023, 04:41 AM
Gary
  Question Thread: Is there a good reason CI is slipping behind the times?
Post: Is there a good reason CI is slipping behind the t...

Having recently rebuilt my email server, I've found that all my CI-based applications that make use of this service started having their attempts to authenticate rejected. The fix was pretty simple.....
1,321 Views
4 Replies
03-23-2023, 05:41 AM
Gary
    Thread: v4.3.2 released
Post: RE: v4.3.2 released

Why so many major bugs?
4,381 Views
7 Replies
02-26-2023, 12:15 PM
Gary
    Thread: Critical error in system/Common.php - realpath
Post: RE: Critical error in system/Common.php - realpath

Yes... it looks like it can't understand some of your path. What is the "base" directory you have CI running out of? ... the *** part of "/***/codeigniter4/..."?
1,964 Views
5 Replies
02-26-2023, 11:09 AM
Gary
    Thread: getting $host from $_SERVER
Post: RE: getting $host from $_SERVER

Question: If HTTPS is forced, then why bother about a fallback... or isset($_SERVER['HTTPS']? The automatic redirection can be easily done in Apache, before it even gets to the CI code... this would...
1,594 Views
4 Replies
02-26-2023, 11:02 AM
Gary
    Thread: Critical error in system/Common.php - realpath
Post: RE: Critical error in system/Common.php - realpath

Possibly a null byte in your path? It looks like you may be running CI from in a directory that has a path that has some characters in it that are not vaxxed (?).
1,964 Views
5 Replies
02-26-2023, 10:35 AM
Gary
    Thread: CSRF regenerate with AJAX
Post: RE: CSRF regenerate with AJAX

I'd suggest looking into the original security concept behind CSRF... I suspect accepting a request from any "used" token (when requesting the 2nd, 3rd, ... nth "fresh version" / new token) will compr...
14,069 Views
11 Replies
02-26-2023, 10:27 AM
Gary

Theme © iAndrew 2016 - Forum software by © MyBB