Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Rate Limit when they throw exception?
Post: RE: Rate Limit when they throw exception?

kenjis Wrote: (08-09-2024, 06:58 PM) -- Customize CSRF filter: https://github.com/codeigniter4/CodeIgniter4/blob/5a340d01298505bbb22efd52bf231ab64a8c23bb/system/Filters/CSRF.php#L48-L65 See also ...
405 Views
4 Replies
08-10-2024, 05:47 AM
CIDave
    Thread: Rate Limit when they throw exception?
Post: RE: Rate Limit when they throw exception?

Anyway to trigger the throttle when the exception happens? I can see the filter can hook into POST requests but not sure if it can hook into exceptions?
405 Views
4 Replies
08-09-2024, 07:21 AM
CIDave
    Thread: Rate Limit when they throw exception?
Post: Rate Limit when they throw exception?

Hi! I have an annoying spammer who will occasionally trigger lots of error logs for bad CSRF tokens. Basically they keep throwing the throw SecurityException::forDisallowedAction(); action from syst...
405 Views
4 Replies
08-08-2024, 03:59 PM
CIDave
    Thread: Oauth SMTP authentication support?
Post: Oauth SMTP authentication support?

hi! Google is removing the ability for Google Workspace users to use their SMTP service using just Username and Password. Instead, they will be requiring Oauth to sign in and authenticate using their...
1,019 Views
5 Replies
04-09-2024, 02:15 AM
CIDave
    Thread: Codeigniter Memcached support for SASL?
Post: RE: Codeigniter Memcached support for SASL?

kenjis Wrote: (03-11-2024, 05:43 PM) -- CIDave Wrote: (03-11-2024, 12:26 PM) -- Hi! Does CodeIgniter support SASL for Memcache? -- No, not yet. See https://codeigniter4.github.io/CodeIgniter4/li...
500 Views
2 Replies
03-12-2024, 03:28 AM
CIDave
    Thread: Codeigniter Memcached support for SASL?
Post: Codeigniter Memcached support for SASL?

Hi! I'm looking to lock down my memcache server using SASL. Does CodeIgniter support SASL for Memcache? I saw this in PHP https://www.php.net/manual/en/memcached.setsaslauthdata.php but it doesn't ...
500 Views
2 Replies
03-11-2024, 12:26 PM
CIDave
    Thread: Cache best practice?
Post: Cache best practice?

Hello all! I am currently implementing caching to my site. I'm using Memcached with a fallback to files. I wanted to know what is the best practice for caching in terms of validating user input. I am ...
1,044 Views
1 Replies
02-27-2024, 03:27 AM
CIDave
    Thread: CodeIgniter: the last year
Post: RE: CodeIgniter: the last year

Keep up the great work guys! I know my business owes a lot to your framework and the countless hours you guys put in.
7,450 Views
12 Replies
01-09-2024, 07:42 AM
CIDave
    Thread: InvalidChars Filter - turn off logging?
Post: RE: InvalidChars Filter - turn off logging?

kenjis Wrote: (12-03-2023, 07:19 PM) -- Extend the InvalidChars filter, and customize it. -- Hmm, so something like this? PHP Code: -- class FixInvalidChars extends InvalidChars { protected ...
1,096 Views
5 Replies
12-04-2023, 05:00 AM
CIDave
    Thread: InvalidChars Filter - turn off logging?
Post: RE: InvalidChars Filter - turn off logging?

captain-sensible Wrote: (11-30-2023, 08:25 AM) -- i did my own simple class to remove chars and if they put a http link in the form it normally means their trying to sell something so i brush that of...
1,096 Views
5 Replies
12-01-2023, 02:59 AM
CIDave
    Thread: InvalidChars Filter - turn off logging?
Post: InvalidChars Filter - turn off logging?

Hi! I am currently using the InvalidChars Filter to help prevent spam on my site. However, every time it seems to work, it also puts a log in the error log file. Is there anyway to remove this? I do...
1,096 Views
5 Replies
11-30-2023, 02:56 AM
CIDave
    Thread: DB increment method accept array/multiple columns?
Post: DB increment method accept array/multiple columns?

I want to increment two columns in one query. Currently: PHP Code: -- $this->db->table("my_table")->where("ID", 1)->increment("col1", 1); -- But ideally I'd like to be able to do: PHP Code: -- $t...
408 Views
1 Replies
11-03-2023, 08:47 AM
CIDave
    Thread: Exception details in log
Post: RE: Exception details in log

kenjis Wrote: (10-27-2023, 02:25 PM) -- @"CIDave" It is easy to answer the question. It is because nobody sent a Pull Request like that. I sent a PR: https://github.com/codeigniter4/CodeIgniter4/p...
3,136 Views
16 Replies
10-28-2023, 12:54 AM
CIDave
    Thread: Russia seems to be taking an interest in CI4 CMS
Post: RE: Russia seems to be taking an interest in CI4 ...

And aussies simply do not care x.x
705 Views
2 Replies
10-27-2023, 04:51 AM
CIDave
    Thread: Exception details in log
Post: RE: Exception details in log

kenjis Wrote: (10-27-2023, 01:05 AM) -- Why don't you check Apache's access log? -- It's one way to do it, sure. But when you have 20k+ pageviews per day, narrowing down an apache access log for an...
3,136 Views
16 Replies
10-27-2023, 01:50 AM
CIDave
    Thread: Exception details in log
Post: RE: Exception details in log

InsiteFX Wrote: (10-26-2023, 09:31 PM) -- The correct way is to edit your php.ini file. Edit memory_limit to your desire value. As from your question, 128M (which is the default limit) has been ex...
3,136 Views
16 Replies
10-27-2023, 12:20 AM
CIDave
    Thread: CI4 support MariaDB?
Post: RE: CI4 support MariaDB?

Yes it does.
3,930 Views
11 Replies
10-26-2023, 07:27 AM
CIDave
    Thread: Exception details in log
Post: RE: Exception details in log

captain-sensible Wrote: (10-26-2023, 02:09 AM) -- what is on line  197 of Language.php  ? -- https://github.com/codeigniter4/CodeIgniter4/blob/develop/system/Language/Language.php Quote: -- $...
3,136 Views
16 Replies
10-26-2023, 02:22 AM
CIDave
    Thread: Exception details in log
Post: RE: Exception details in log

captain-sensible Wrote: (10-26-2023, 01:51 AM) -- i would be tempted to "rsync "  the whole  production CI4 directory which you can do remote to local . Your server is linux looks like. So install sa...
3,136 Views
16 Replies
10-26-2023, 01:54 AM
CIDave
    Thread: Exception details in log
Post: RE: Exception details in log

I found the error in my apache log: Quote: -- [Wed Oct 25 05:17:38.520100 2023] [php:error] [pid 1171112] [client ***] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried t...
3,136 Views
16 Replies
10-26-2023, 01:10 AM
CIDave

Theme © iAndrew 2016 - Forum software by © MyBB