Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CI4 latest verion, installation, Error 500!
Post: RE: CI4 latest verion, installation, Error 500!

spreaderman Wrote: (07-25-2023, 04:20 AM) -- I do not know what I am doing wrong but for 2 days I have been trying to install Ci4.  It is very stange as I have a perfectly running CI4 4.1.9 and repli...
372 Views
1 Replies
07-25-2023, 05:58 PM
spreaderman
    Thread: CI4 latest verion, installation, Error 500!
Post: CI4 latest verion, installation, Error 500!

I do not know what I am doing wrong but for 2 days I have been trying to install Ci4.  It is very stange as I have a perfectly running CI4 4.1.9 and replicated everything for a new domain but is just ...
372 Views
1 Replies
07-25-2023, 04:20 AM
spreaderman
    Thread: Error at Login - "The action you requested is not allowed
Post: RE: Error at Login - "The action you requested is ...

I very much appreciate additional comments from luckmoshy and InsiteFX. I think I isolated the problem.  It was difficult to find.  Sometimes I could log in and sometime log in would not work.  It ...
3,525 Views
17 Replies
02-13-2023, 03:50 AM
spreaderman
    Thread: Error at Login - "The action you requested is not allowed
Post: RE: Error at Login - "The action you requested is ...

I think I found the error. In the initial domain, I set env as development. On the new domain, I set it to production, however, in the production env I had commented out the csfr security. :(
3,525 Views
17 Replies
02-10-2023, 06:47 PM
spreaderman
    Thread: Error at Login - "The action you requested is not allowed
Post: RE: Error at Login - "The action you requested is ...

InsiteFX, many thanks for your suggestion. I also saw your comments to others with similar issues. I wonder why the site works completely fine on one domain but won’t work on a new domain. Big puzz...
3,525 Views
17 Replies
02-09-2023, 04:32 AM
spreaderman
    Thread: Error at Login - "The action you requested is not allowed
Post: RE: Error at Login - "The action you requested is ...

The problem is back so clearing the cache was not the issue, it appears. Am not seeing this in the console; Access to XMLHttpRequest at 'https://www.example.com/?debugbar_time=1675914178' from origi...
3,525 Views
17 Replies
02-08-2023, 08:29 PM
spreaderman
    Thread: Error at Login - "The action you requested is not allowed
Post: RE: Error at Login - "The action you requested is ...

Many thanks for your suggestions luckmoshy. This worked!! :-) php spark cache: clear It is stange because sometimes login and sometimes now. As the above command worked, will monitor it to s...
3,525 Views
17 Replies
02-06-2023, 03:22 AM
spreaderman
    Thread: Error at Login - "The action you requested is not allowed
Post: RE: Error at Login - "The action you requested is ...

Here is my filter: Code: -- namespace Config; use CodeIgniter\Config\BaseConfig; use CodeIgniter\Filters\CSRF; use CodeIgniter\Filters\DebugToolbar; use CodeIgniter\Filters\Honeypot; clas...
3,525 Views
17 Replies
02-02-2023, 11:18 PM
spreaderman
    Thread: Error at Login - "The action you requested is not allowed
Post: RE: Error at Login - "The action you requested is ...

kenjis Wrote: (02-02-2023, 03:20 AM) -- When you try to login, what happens? Unfortunately I cannot see your screen, so "login does work anymore" shows nothing to me. -- Here is my login form; ...
3,525 Views
17 Replies
02-02-2023, 09:16 PM
spreaderman
    Thread: Error at Login - "The action you requested is not allowed
Post: RE: Error at Login - "The action you requested is ...

kenjis Wrote: (01-31-2023, 09:16 PM) -- It is the error message when CSRF token check fails. See https://codeigniter4.github.io/CodeIgniter4/libraries/security.html#cross-site-request-forgery-csrf -...
3,525 Views
17 Replies
02-02-2023, 03:14 AM
spreaderman
    Thread: Error at Login - "The action you requested is not allowed
Post: Error at Login - "The action you requested is not ...

I recently copied my website from one domain to another. Unfortunatley, login does work anymore. In the session dir, I can see this the ci_session txt file: __ci_last_regenerate|i:[snip number];err...
3,525 Views
17 Replies
01-31-2023, 08:51 PM
spreaderman
    Thread: crud operations within datatables
Post: RE: crud operations within datatables

Ahmed Haroon Wrote: (06-30-2022, 04:01 AM) -- we are using Pik admin panel, and want to write a page which will contains only Datatable for CRUD operations, please help with a Link to step by step gu...
2,903 Views
9 Replies
07-02-2022, 01:29 AM
spreaderman
    Thread: AJAX / Post / delete record not working
Post: RE: AJAX / Post / delete record not working

@gary thanks for your comment. I have rewritten the jquery ajax per below and I can now getVar!!! The only problem now is getting the 'id' to my model. Here is my jquery ajax: $(document)....
4,319 Views
16 Replies
06-25-2022, 05:36 PM
spreaderman
    Thread: AJAX / Post / delete record not working
Post: RE: AJAX / Post / delete record not working

It seems I was posting a JSON object.  Almost there but not. Here is the revised javascript: Code: -- $(document).on('click', '.delete-task', function(event){     // id comes from data-id    ...
4,319 Views
16 Replies
06-24-2022, 11:50 PM
spreaderman
    Thread: AJAX / Post / delete record not working
Post: RE: AJAX / Post / delete record not working

spreaderman Wrote: (06-23-2022, 08:00 PM) -- Gary Wrote: (06-23-2022, 11:14 AM) -- Without having looked at all the detail you've pasted, I've had some similar sounding problems with my ajax crud si...
4,319 Views
16 Replies
06-24-2022, 10:14 PM
spreaderman
    Thread: AJAX / Post / delete record not working
Post: RE: AJAX / Post / delete record not working

Gary Wrote: (06-23-2022, 11:14 AM) -- Without having looked at all the detail you've pasted, I've had some similar sounding problems with my ajax crud since I've upgraded from 4.1.8 to 4.2.1...  perh...
4,319 Views
16 Replies
06-23-2022, 08:00 PM
spreaderman
    Thread: AJAX / Post / delete record not working
Post: RE: AJAX / Post / delete record not working

InsiteFX Wrote: (06-22-2022, 06:36 AM) -- You may need to add the header shown below. Code: -- $.ajax({     url: "your url",     headers: {'X-Requested-With': 'XMLHttpRequest'} }); -- -- Tha...
4,319 Views
16 Replies
06-22-2022, 04:31 PM
spreaderman
    Thread: AJAX / Post / delete record not working
Post: RE: AJAX / Post / delete record not working

maulahaz Wrote: (06-21-2022, 11:34 AM) -- Did you try : Code: -- if($id == ""){             $response = [                 'success' => 0,                 'msg' => "No Task To Delete",        ...
4,319 Views
16 Replies
06-21-2022, 06:48 PM
spreaderman
    Thread: AJAX / Post / delete record not working
Post: RE: AJAX / Post / delete record not working

@seunex what do you mean? The path is not the problem as stated above.
4,319 Views
16 Replies
06-21-2022, 09:22 AM
spreaderman
    Thread: AJAX / Post / delete record not working
Post: AJAX / Post / delete record not working

Still having some problems with AJAX crud. For delete, I have the following controller; PHP Code: -- public function task_delete(){ log_message('error', var_dump($_POST)); $id = $thi...
4,319 Views
16 Replies
06-20-2022, 10:42 PM
spreaderman

Theme © iAndrew 2016 - Forum software by © MyBB