Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Catch data from CSP: report-uri
Post: RE: Catch data from CSP: report-uri

Hi, thanks for your reply. I follow all your code but it still doesn't work. I got this error in my console but still, i don't see any log https://ibb.co/zHggzmt
1,613 Views
5 Replies
07-02-2022, 11:20 AM
Eko
    Thread: Can't write a log message.
Post: RE: Can't write a log message.

Never mind, when I take a look at common.php it said environment must be 'testing', I think you guys suppose to put that on documentation so a newcomer doesn't have to get into this trouble.
2,458 Views
4 Replies
06-19-2022, 11:05 AM
Eko
    Thread: Can't write a log message.
Post: RE: Can't write a log message.

I did already, I set it to 10 and it currently has 3 logs already, so I assume it's already writeable right? I'm really confused, I already read the docs and it said I just write log_message('error', ...
2,458 Views
4 Replies
06-18-2022, 07:21 AM
Eko
    Thread: Can't write a log message.
Post: Can't write a log message.

Hi, I try to write a log message like this:     PHP Code: -- public function test()     {         log_message('error', 'Some variable was correctly set');         echo 'test';     } -- Whe...
2,458 Views
4 Replies
06-18-2022, 02:15 AM
Eko
    Thread: ErrorException imagecreatefrompng()
Post: RE: ErrorException imagecreatefrompng()

Got the same problem. Is it any way to fix this?
2,602 Views
3 Replies
06-17-2022, 02:29 AM
Eko
    Thread: Catch data from CSP: report-uri
Post: RE: Catch data from CSP: report-uri

Yeah, I can give it try, but the problem is it doesn't even trigger although there's some CSP violation. Any idea what can cause it? thanks.
1,613 Views
5 Replies
06-16-2022, 08:37 PM
Eko
    Thread: Catch data from CSP: report-uri
Post: Catch data from CSP: report-uri

Hi guys how can I catch the data from CSP: report-uri? I already active it in the config App and set the report URL in ContentSecurityPolicy.php like this:   Code: -- public $reportURI = '/csp-vio...
1,613 Views
5 Replies
06-16-2022, 12:49 AM
Eko

Theme © iAndrew 2016 - Forum software by © MyBB