Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: How to make email notifications for errors and exceptions?
Post: RE: How to make email notifications for errors and...

So no one was able to send notifications to email without editing files in the system directory?
5,038 Views
12 Replies
04-28-2023, 12:03 PM
krotovroman
  Question Thread: Log db requests
Post: Log db requests

I want to optimize the site for CI4, how to output all requests to the log file that are made when the site is opened?
942 Views
2 Replies
03-31-2023, 10:21 AM
krotovroman
    Thread: How to make email notifications for errors and exceptions?
Post: RE: How to make email notifications for errors and...

kenjis Wrote: (01-31-2023, 05:14 PM) -- See https://codeigniter4.github.io/CodeIgniter4/extending/core_classes.html -- kenjis Wrote: (02-19-2023, 07:18 PM) -- I think "class Exceptions extends Exc...
5,038 Views
12 Replies
02-20-2023, 01:08 AM
krotovroman
    Thread: How to make email notifications for errors and exceptions?
Post: RE: How to make email notifications for errors and...

I try it, but this is not work. What is wrong? https://i.vgy.me/LEWuPY.jpg PHP Code: --
5,038 Views
12 Replies
02-19-2023, 12:47 AM
krotovroman
  Question Thread: How to make email notifications for errors and exceptions?
Post: RE: How to make email notifications for errors and...

kenjis Wrote: (01-30-2023, 06:36 PM) -- You can't now. You need to replace Exceptions. -- That is, without files in the system folder, is this impossible? [hr] superior Wrote: (01-30-2023, 05:51 AM...
5,038 Views
12 Replies
01-31-2023, 02:24 AM
krotovroman
  Question Thread: How to make email notifications for errors and exceptions?
Post: How to make email notifications for errors and exc...

How to make email notifications for errors and exceptions without changing the file /system/Debug/Exceptions.php? I want to change error handling without changing engine code!
5,038 Views
12 Replies
01-30-2023, 04:30 AM
krotovroman
    Thread: Can't get data from sessions CI4
Post: RE: Can't get data from sessions CI4

no error table is correctly after every request session id is new! may be is reason this problem. I do not know how fix it(
1,856 Views
4 Replies
01-09-2023, 03:19 AM
krotovroman
    Thread: Can't get data from sessions CI4
Post: Can't get data from sessions CI4

I use this config in .env: app.sessionDriver = 'CodeIgniter\Session\Handlers\DatabaseHandler' app.sessionSavePath = 'ci_sessions' I record data in session this code: Code: -- $ses = []; $ses['...
1,856 Views
4 Replies
01-08-2023, 11:05 AM
krotovroman
    Thread: After update 4.0 => 4.1.5, ERROR : Session: Initialization under CLI aborted.
Post: RE: After update 4.0 => 4.1.5, ERROR : Session: In...

kenjis Wrote: (11-16-2021, 01:29 AM) -- It seems you don't have $_SERVER['HTTP_USER_AGENT']. Workaround: 1. Copy the function is_cli() in system/Common.php to app/Common.php 2. Modify the functi...
6,496 Views
11 Replies
11-16-2021, 01:49 AM
krotovroman
    Thread: After update 4.0 => 4.1.5, ERROR : Session: Initialization under CLI aborted.
Post: RE: After update 4.0 => 4.1.5, ERROR : Session: In...

kenjis Wrote: (11-15-2021, 06:48 PM) -- Don't you have $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_USER_AGENT']? What's your Server API when you run phpinfo(INFO_GENERAL); ? -- var_dump($_SERVER)...
6,496 Views
11 Replies
11-15-2021, 10:49 PM
krotovroman
    Thread: After update 4.0 => 4.1.5, ERROR : Session: Initialization under CLI aborted.
Post: RE: After update 4.0 => 4.1.5, ERROR : Session: In...

kenjis Wrote: (11-15-2021, 06:48 PM) -- Don't you have $_SERVER['REMOTE_ADDR'] and $_SERVER['HTTP_USER_AGENT']? What's your Server API when you run phpinfo(INFO_GENERAL); ? -- https://i.vgy.me/7Y5...
6,496 Views
11 Replies
11-15-2021, 10:47 PM
krotovroman
    Thread: After update 4.0 => 4.1.5, ERROR : Session: Initialization under CLI aborted.
Post: RE: After update 4.0 => 4.1.5, ERROR : Session: In...

kenjis Wrote: (11-14-2021, 09:00 PM) -- It seems strange. Please debug why the is_cli() function returns true. https://github.com/codeigniter4/CodeIgniter4/blob/5508ef45b606d724789e9e0e3cc1747761...
6,496 Views
11 Replies
11-15-2021, 06:19 AM
krotovroman
    Thread: After update 4.0 => 4.1.5, ERROR : Session: Initialization under CLI aborted.
Post: RE: After update 4.0 => 4.1.5, ERROR : Session: In...

Yes. When i was open url http://site.ru/telegram i can read this error in log. This is code in controller:
6,496 Views
11 Replies
11-14-2021, 09:45 AM
krotovroman
    Thread: After update 4.0 => 4.1.5, ERROR : Session: Initialization under CLI aborted.
Post: After update 4.0 => 4.1.5, ERROR : Session: Initia...

After update 4.0 => 4.1.5 i have error:  Session: Initialization under CLI aborted. How i can fixed it? In 4.0 i not have this error)
6,496 Views
11 Replies
11-12-2021, 03:36 AM
krotovroman
    Thread: CodeIgniter 4.1.5
Post: RE: CodeIgniter 4.1.5

After update i have error: Session: Initialization under CLI aborted. How i can fixed it? In 4.0 i not have this error)
15,175 Views
18 Replies
11-11-2021, 02:05 AM
krotovroman

Theme © iAndrew 2016 - Forum software by © MyBB