Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Disable debug output in view for error messages
Post: RE: Disable debug output in view for error message...

An additional info: I have enabled the debug toolbar and by clicking on the view tab you can enable / disable the debug output
932 Views
5 Replies
04-25-2024, 02:26 AM
groovebird
    Thread: Using of redirect returns no RedirectResponse
Post: Using of redirect returns no RedirectResponse

Hi, i want to use the redirect function, but there is no instance of RedirectResponse returned. I cannot use redirect()->to() What i am doing wrong?
325 Views
1 Replies
02-29-2024, 08:20 AM
groovebird
    Thread: Use HTML in error message
Post: RE: Use HTML in error message

Ok, i understand. I thought there is only the {field} placeholder which is no user input
955 Views
8 Replies
02-29-2024, 08:18 AM
groovebird
    Thread: Use HTML in error message
Post: RE: Use HTML in error message

Hi, could you test it with a validation file? Your solution is working, but i have to adjust all my templates. If it is working with a regular language file why not with with validation?
955 Views
8 Replies
02-29-2024, 02:24 AM
groovebird
    Thread: Use HTML in error message
Post: RE: Use HTML in error message

I wonder why it is working on your installation and not in my installation. Are the validation language files handled different than other language files? btw: your solution is working
955 Views
8 Replies
02-28-2024, 07:09 AM
groovebird
    Thread: Use HTML in error message
Post: RE: Use HTML in error message

Hi, in my template i use echo $validation->showError('field'). Where should i place the htm_entity_decode?
955 Views
8 Replies
02-28-2024, 04:10 AM
groovebird
    Thread: Use HTML in error message
Post: Use HTML in error message

Hi, i define my error messages in a language file: PHP Code: -- return [ 'required' => 'Please fill in the {field} field', ]; -- Is it possible to use HTML in this message PHP Code: -- re...
955 Views
8 Replies
02-28-2024, 03:32 AM
groovebird
    Thread: Disable debug output in view for error messages
Post: RE: Disable debug output in view for error message...

Thank you. Some days ago it was working without all the adjustment and from today i always got this debug output. I will try it.
932 Views
5 Replies
02-06-2024, 03:59 PM
groovebird
    Thread: Disable debug output in view for error messages
Post: RE: Disable debug output in view for error message...

Ah this sounds good. Can i set this option for the view i defined in the validation config? Do you know where the view is called? I did it this way: https://codeigniter.com/user_guide/libraries/valid...
932 Views
5 Replies
02-06-2024, 03:18 PM
groovebird
    Thread: Disable debug output in view for error messages
Post: Disable debug output in view for error messages

Hi, if there is an validation error, i use my template for the error message. The output contains such a comment: DEBUG-VIEW START 1 APPPATH/Validation/Views/error.php. Can i disable the output fo...
932 Views
5 Replies
02-06-2024, 07:43 AM
groovebird
    Thread: Critical error in system/Common.php - realpath
Post: RE: Critical error in system/Common.php - realpath

Gary Wrote: (02-26-2023, 11:09 AM) -- Yes... it looks like it can't understand some of your path. What is the "base" directory you have CI running out of? ... the *** part of "/***/codeigniter4...
2,098 Views
5 Replies
02-26-2023, 01:14 PM
groovebird
    Thread: Critical error in system/Common.php - realpath
Post: RE: Critical error in system/Common.php - realpath

What i don't understand, the parameter should be a string with a path name, but in the error log a serialized string is shown
2,098 Views
5 Replies
02-26-2023, 10:43 AM
groovebird
    Thread: Critical error in system/Common.php - realpath
Post: Critical error in system/Common.php - realpath

Hi, after loading the homepage i got an 500 error with the following error message in the logfile. Code: -- CRITICAL - 2023-02-24 14:26:45 --> Uncaught ValueError: realpath(): Argument #1 ($path) ...
2,098 Views
5 Replies
02-26-2023, 05:17 AM
groovebird
    Thread: Customize the redirect if not logged in
Post: Customize the redirect if not logged in

Hi, if the user is not logged in and calls a protected route then the redirect goes to the /login route. How can i change this route to a custom url? Doing a check with PHP Code: -- if au...
2,240 Views
1 Replies
01-25-2023, 07:26 AM
groovebird
    Thread: Form reload - post array is empty
Post: Form reload - post array is empty

Hi, if the form was submitted and i reload the form then i get the message that all post data are sent again. this is the normal behaviour. If i reload the form again, then codeigniter redirects to...
3,674 Views
2 Replies
01-24-2023, 10:00 AM
groovebird
    Thread: Shield table auth_identities - fill column name
Post: RE: Shield table auth_identities - fill column nam...

@kenjis ah ok. Does it mean this is not really the column i can use for a name if not using the tokens? Do i have to add another column as you recommended in your first post? EDIT: now i see you alr...
4,148 Views
7 Replies
01-19-2023, 01:56 AM
groovebird
    Thread: Shield table auth_identities - fill column name
Post: RE: Shield table auth_identities - fill column nam...

InsiteFX Wrote: (01-19-2023, 12:23 AM) -- @"kenjis", I think he needs to add the name field he added to the $allowedFields[] array. -- @InsiteFX, the field is already there. This is the code from t...
4,148 Views
7 Replies
01-19-2023, 12:45 AM
groovebird
    Thread: Shield table auth_identities - fill column name
Post: RE: Shield table auth_identities - fill column nam...

kenjis Wrote: (01-18-2023, 06:01 PM) -- Do you mean you want to add column "name" in the user table? See https://github.com/codeigniter4/shield/discussions/333 -- No. The table auth_identites alre...
4,148 Views
7 Replies
01-19-2023, 12:08 AM
groovebird
    Thread: Shield table auth_identities - fill column name
Post: Shield table auth_identities - fill column name

Hi, how can i fill the column "name" if a new user will be registered or updated? I added the column in the array of user data but the column will not be filled. How can i solve this?
4,148 Views
7 Replies
01-18-2023, 01:13 PM
groovebird
    Thread: Shield: access of a page for one user
Post: RE: Shield: access of a page for one user

InsiteFX Wrote: (12-30-2022, 12:17 AM) -- No you can create Groups and give the Groups Permission access rules. -- Yes, but a "group" only consists of one user, because only one user has access to ...
7,652 Views
10 Replies
12-30-2022, 06:02 AM
groovebird

Theme © iAndrew 2016 - Forum software by © MyBB