Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Getting supportedLocales after upgrade to 4.5.1
Post: RE: Getting supportedLocales after upgrade to 4.5....

config("App")->supportedLocales ?
37 Views
2 Replies
9 hours ago
ozornick
    Thread: Random 403 in Checkout with CI3
Post: RE: Random 403 in Checkout with CI3

Yes, probably. 1. The token expires while the user is viewing the page. 2. The user opened two pages and the token was overwritten 3. Problems with the session or cookies.
145 Views
2 Replies
04-19-2024, 10:28 PM
ozornick
    Thread: Depractaion request warning
Post: RE: Depractaion request warning

You can't do that. Use sessions, cookies. Strangely, it seems that the request cannot store parameters. kenjis will complete the information
213 Views
2 Replies
04-19-2024, 10:21 PM
ozornick
    Thread: [4.5.1] Disabling the debug toolbar on certain pages
Post: RE: [4.5.1] Disabling the debug toolbar on certain...

Try 'filter system'. Create new filter, test URL from request and disable Toolbar filter. Or set except. See https://codeigniter.com/user_guide/incoming/filters.html#except-for-a-few-uris
210 Views
4 Replies
04-15-2024, 08:02 AM
ozornick
    Thread: ExeptionHandler use API trait
Post: RE: ExeptionHandler use API trait

Problem solved: Code: -- --
242 Views
3 Replies
04-08-2024, 10:52 PM
ozornick
    Thread: ExeptionHandler use API trait
Post: RE: ExeptionHandler use API trait

But in normal mode, HTMX always sends */* and we return HTML to it from the controller
242 Views
3 Replies
04-08-2024, 03:05 AM
ozornick
    Thread: ExeptionHandler use API trait
Post: ExeptionHandler use API trait

When using an HTMX query, I create a 404 error from PageNotFoundException. At the same time, instead of an HTML response, I get JSON. Is this how it's planned or am I doing something wrong? PHP C...
242 Views
3 Replies
04-07-2024, 09:37 PM
ozornick
    Thread: v4.4.8 Bug Fix Released
Post: RE: v4.4.8 Bug Fix Released

I don't know if this is a bug. The situation is simple: I send an HTMX POST request with Accept "form data"(Not html). For a 404 error, it produces a JSON response along with tracing. I assumed ...
556 Views
7 Replies
04-07-2024, 06:10 AM
ozornick
    Thread: v4.4.8 Bug Fix Released
Post: RE: v4.4.8 Bug Fix Released

I use PageNotFound for HTMX. HTML is cirrect response
556 Views
7 Replies
04-07-2024, 02:39 AM
ozornick
    Thread: v4.4.8 Bug Fix Released
Post: RE: v4.4.8 Bug Fix Released

Thank you, kenjis. I just have a question about exceptions. Why do I need a separate CodeIgniter\API\ResponseTrait? I see that it is needed for the API (json, xml) But it is also used for PageNotFound...
556 Views
7 Replies
04-06-2024, 11:14 PM
ozornick
    Thread: Error Passing 32 Bit Integer in URL
Post: RE: Error Passing 32 Bit Integer in URL

This is a GET parameter and should not affect CI. How do you accept it in the controller? intval() ?
445 Views
15 Replies
04-04-2024, 09:13 PM
ozornick
    Thread: Enforce the Where parameter for Query Builder
Post: RE: Enforce the Where parameter for Query Builder

maybe try event beforeDelete, beforeUpdate?
139 Views
4 Replies
04-04-2024, 09:09 PM
ozornick
    Thread: Associate one element with another
Post: RE: Associate one element with another

Didn't use it. I think you are in the right direction. Don't bother checking the received values in the controller, don't trust JS
331 Views
5 Replies
04-04-2024, 05:29 PM
ozornick
    Thread: Enforce the Where parameter for Query Builder
Post: RE: Enforce the Where parameter for Query Builder

Check the builder's result to see if it is true or false (or null).. Do you need it?
139 Views
4 Replies
04-04-2024, 05:20 PM
ozornick
    Thread: Cache-Control header always prepend "no-store, no-cache, must-revalidate"
Post: RE: Cache-Control header always prepend "no-store,...

I write code in app/Common.php Before init CI
1,248 Views
8 Replies
03-01-2024, 10:25 PM
ozornick
    Thread: Add change view folder for VIew
Post: RE: Add change view folder for VIew

Fine. then let's not waste time on this. I have nothing to add except what I have said.
1,113 Views
14 Replies
02-14-2024, 11:58 PM
ozornick
    Thread: Add change view folder for VIew
Post: RE: Add change view folder for VIew

That's what I want to change. I think the variable in the name is superfluous. This means that it is preferable to change this value somewhere in one place.
1,113 Views
14 Replies
02-14-2024, 09:26 PM
ozornick
    Thread: Add change view folder for VIew
Post: RE: Add change view folder for VIew

I wanted to change the theme for the user. The standard replacement in the controller method looks like a repeat. There is no other way to change the subject. To put it more simply, we need dynamic pa...
1,113 Views
14 Replies
02-12-2024, 01:31 PM
ozornick
    Thread: array_duplicate_by() helper to get duplicate array by column
Post: RE: array_duplicate_by() helper to get duplicate a...

I've never had to look for duplicates
501 Views
4 Replies
02-04-2024, 12:23 AM
ozornick
    Thread: v4.4.4 download not working, v4.1.1 does work
Post: RE: v4.4.4 download not working, v4.1.1 does work

Errors in apache logs or writable/logs?
216 Views
2 Replies
01-30-2024, 12:53 PM
ozornick

Theme © iAndrew 2016 - Forum software by © MyBB