Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Run seed command in module
Post: RE: Run seed command in module

Thanks a lot for all your support InsiteFX. Me too, I noticed the weird mixed slashes in the error message ...and you are right...better stay away from using spaces in file and folder names they can ...
559 Views
8 Replies
01-06-2025, 06:22 AM
Vespa
    Thread: Run seed command in module
Post: RE: Run seed command in module

Thanks for feedback InsiteFX. I knew about spark list command...in this case the level of info details in that command is useless to fix my issue, even the php spark db seed --help command doesn't pr...
559 Views
8 Replies
01-06-2025, 01:15 AM
Vespa
    Thread: Set username procedurally in SHIELD
Post: RE: Set username procedurally in SHIELD

Thanks for hints guys, helped me a lot.
270 Views
3 Replies
01-05-2025, 08:03 AM
Vespa
    Thread: Class PageNotFoundException not found
Post: RE: Class PageNotFoundException not found

Thanks for your time InsiteFX. I got the following error trying to execute the spark routes command  :huh: (  The words in italian: "il filtro deve avere un alias di riferimento definito" could be t...
292 Views
3 Replies
01-05-2025, 08:01 AM
Vespa
    Thread: Run seed command in module
Post: Run seed command in module

I have create an Admin module, to add an Admin user into the db I created a seed file into the Admin\Database\Seeds path, below the code of the seeder Code: -- namespace Admin\Database\Seeds; use...
559 Views
8 Replies
01-05-2025, 07:47 AM
Vespa
    Thread: Class PageNotFoundException not found
Post: Class PageNotFoundException not found

Sometimes weird issues arise...at least until I won't understand how CI4 works. When I call the Show method in following controller: Code: -- namespace Admin\Controllers; use App\Controllers\Bas...
292 Views
3 Replies
01-04-2025, 09:15 AM
Vespa
    Thread: Set username procedurally in SHIELD
Post: Set username procedurally in SHIELD

I'd like to add custom First name and Last name to the registration form and don't allow user to set his own username, I'd like to set this field procedurally... for example combining First Name and L...
270 Views
3 Replies
01-04-2025, 07:08 AM
Vespa
    Thread: Creation of dynamic property DEPRECATED
Post: RE: Creation of dynamic property DEPRECATED

Thanks a lot for feedback guys...still lots to learn about CI4....
541 Views
5 Replies
12-26-2024, 02:41 AM
Vespa
    Thread: Creation of dynamic property DEPRECATED
Post: Creation of dynamic property DEPRECATED

To create a multilanguages web site I've added into the initController method in BaseController file the following code that causes a warning in log : Severity Message info Session: Class initialize...
541 Views
5 Replies
12-25-2024, 11:09 AM
Vespa
    Thread: Protected method in controller
Post: Protected method in controller

In CI3 I was able to set private o protected method in controller, for example: Code: --     private function _human_filesize($bytes, $decimals = 2)     {         $factor = floor((strlen($byte...
208 Views
1 Replies
12-21-2024, 07:36 AM
Vespa
    Thread: Request getPost error
Post: RE: Request getPost error

Thanks InsiteFx...you are right. My fault...I followed a wrong tutorial available on the net.
243 Views
2 Replies
12-21-2024, 07:25 AM
Vespa
    Thread: Links not working
Post: RE: Links not working

Thanks a lot for feedback ozornick ... silly me. Fixed thanks to your hint.
405 Views
2 Replies
12-21-2024, 03:40 AM
Vespa
    Thread: Request getPost error
Post: Request getPost error

I'm struggling trying to make Ajax Datatable working fine in CI4 ...and honestly I'm a bit lost. The Javascript code call the method getRegister in Civils controller, the method starts with: Code: ...
243 Views
2 Replies
12-21-2024, 03:32 AM
Vespa
    Thread: Links not working
Post: Links not working

I'm facing a weird issue with links in web page, you can see the test web page here: https://test.aeroclubbelluno.org/ (https://test.aeroclubbelluno.org/) In my project links in the main page don't w...
405 Views
2 Replies
12-01-2024, 01:55 AM
Vespa
    Thread: How to work with auto routing and languages in CI4?
Post: RE: How to work with auto routing and languages in...

Thanks a lot InsiteFX...so many things to learn on my side....
5,685 Views
11 Replies
11-24-2024, 09:54 AM
Vespa
    Thread: How to work with auto routing and languages in CI4?
Post: RE: How to work with auto routing and languages in...

Really interesting and useful, thanks for sharing this code. InsiteFX, using the following code in BaseController: Code: -- if (session_status() == PHP_SESSION_NONE) {           $this->session =...
5,685 Views
11 Replies
11-16-2024, 02:49 AM
Vespa
    Thread: Input validation return empty array
Post: RE: Input validation return empty array

Ah, now I see...thanks a lot for the invaluable help ozornick...I didn't realize that.
562 Views
4 Replies
11-05-2024, 02:15 PM
Vespa
    Thread: Input validation return empty array
Post: RE: Input validation return empty array

Hi ozornick, thanks a lot for taking time to check the code and for your feedback. It's really weird...since I cannot get the validated data...if I edit the code using the getPost() I can see the in...
562 Views
4 Replies
11-04-2024, 07:58 AM
Vespa
    Thread: Input validation return empty array
Post: Input validation return empty array

I'm facing a weird issue trying to validate post input. Following the userguide I set a controller to validate few POST input sent using a form. The controller is the following: Code: -- public fu...
562 Views
4 Replies
11-02-2024, 02:36 AM
Vespa

Theme © iAndrew 2016 - Forum software by © MyBB