Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Problem with redirect and routes
Post: RE: Problem with redirect and routes

In the problem reported by @madsex we have the following: There are two views. In the second view from the appearance of a certain condition the user must be redirected to the first view: redirect()...
wdeda CodeIgniter 4 Support 7 374 03-27-2021, 09:03 PM
    Thread: "Class 'App\Models\UserModel' not found"
Post: RE: "Class 'App\Models\UserModel' not found"

use App\Models\UserModel; must be defined before class Auth { PHP Code:<?phpnamespace App\Libraries;use App\Models\UserModel;class Auth {       &n...
wdeda CodeIgniter 4 Support 3 477 03-01-2021, 07:03 PM
    Thread: Pagination don't work
Post: RE: Pagination don't work

Simple things work better. Less is more. Of course, simple sugestions. Model: PHP Code:<?php<?phpnamespace App\Models;use CodeIgniter\Model;class UserModel extends&...
wdeda CodeIgniter 4 Support 4 1,594 02-18-2021, 02:35 PM
    Thread: Upgrade Model CI3 to CI4
Post: RE: Upgrade Model CI3 to CI4

Just a Model sample PHP Code:<?phpnamespace App\Models;use CodeIgniter\Model;class SampleModel extends Model{    protected $table  = ...
wdeda General Help 3 363 02-14-2021, 09:43 AM
    Thread: Pagination
Post: RE: Pagination

Try this: PHP Code:$model = new SomeModel();$data = [            'users' => $model->where('active', '1')->pag...
wdeda CodeIgniter 4 Support 3 463 02-09-2021, 01:34 PM
    Thread: Model refusing to insert data
Post: RE: Model refusing to insert data

I suggest that you check in the Model, protected $allowed Fields = [], if the names are correct with those in the $data array. If the name in the Model is different, wrong, the system does not...
wdeda CodeIgniter 4 Support 10 1,158 01-09-2021, 08:00 AM
    Thread: Our reasons to stay away from CodeIgniter 4
Post: RE: Our reasons to stay away from CodeIgniter 4

1. Non-compatibility with CI3 whatsoever The world turns, CI4 runs! 2. Less stability / less php compatibility then CI3 It is a matter of vision and, mainly, of direction. CI aims at the future, I do...
wdeda CodeIgniter 4 Discussion 15 3,004 01-05-2021, 03:49 PM
    Thread: CI4 on localhost using XAMPP on windows
Post: RE: CI4 on localhost using XAMPP on windows

In Apache in conf/extra the file httpd-vhosts.conf should have the configuration as below: <VirtualHost *:80>     DocumentRoot "C:/xampp/htdocs/ci4/public"     ServerName localhost     ErrorLog...
wdeda CodeIgniter 4 Support 3 1,199 12-23-2020, 05:46 PM
    Thread: 404 - File Not Found Controller or its method is not found: \App\Controllers\Home::
Post: RE: 404 - File Not Found Controller or its method...

You should check if in App\Controllers there is the file Home.php, exactly like this, starting with a capital letter. This refers to Controller in the error message. If the file exists, in its conten...
wdeda General Help 4 532 11-25-2020, 04:31 AM
    Thread: Sql in Model - Undefined variable: db
Post: RE: Sql in Model - Undefined variable: db

Inside the Model: PHP Code:$db = $this->db;  Outside: PHP Code:$db = db_connect(); 
wdeda CodeIgniter 4 Support 2 389 11-23-2020, 06:05 PM
    Thread: How to watch iTunes movies on Windows player
Post: RE: How to watch iTunes movies on Windows player

I allow myself to suggest to you the use of the package of formats, codecs, K-Lite, if possible in the mega version. It covers virtually all audio/video formats and comes with a player, the media play...
wdeda Lounge 26 19,263 11-16-2020, 11:22 AM
    Thread: Incrementing DB values
Post: RE: Incrementing DB values

I am not a professional and, therefore, sometimes when I need to execute something related to DBs that is not within my knowledge, I first try to find the solution in phpMyAdmin, in most cases I have ...
wdeda CodeIgniter 4 Support 2 392 11-13-2020, 03:20 PM
    Thread: Insert batch didn't update the created_at field?
Post: RE: Insert batch didn't update the created_at fiel...

I had the same problem, which is intermittent, because it occurs in certain processes and not in others, without any indication of why. I also noticed that when there are no problems it updates both t...
wdeda Best Practices 6 1,512 11-01-2020, 01:09 PM
    Thread: guidance on a GUI
Post: RE: guidance on a GUI

Allow me to suggest the w3schools website with the bootstrap tutorial: https://www.w3schools.com/bootstrap4/
wdeda General Help 6 882 09-27-2020, 09:54 AM
    Thread: 4.0.3 works but 4.0.4 is broken for me
Post: RE: 4.0.3 works but 4.0.4 is broken for me

(07-17-2020, 08:17 PM)John_Betong Wrote: (07-17-2020, 05:37 PM)Sepharad Wrote: Auto-respone: if anyone is using xampp the quick way to fix this is open php.ini and uncomment: extension=intl :) M...
wdeda CodeIgniter 4 Support 13 28,845 07-18-2020, 12:22 PM
    Thread: Application broken after upgrading from v4.03 to v4.0.4
Post: RE: Application broken after upgrading from v4.03 ...

(07-16-2020, 02:13 AM)InsiteFX Wrote: It was in the change log: Added $arguments parameter to after() and before() in FilterInterface. This is a breaking change, so all code implementing the Fi...
wdeda CodeIgniter 4 Support 7 4,245 07-16-2020, 06:26 AM
    Thread: set 404 custom error
Post: RE: set 404 custom error

(07-04-2020, 08:41 PM)ajayamagar Wrote: This line of code worked for me. $routes->set404Override('App\Controllers\Errors::show404'); I did a little bit different ... Route: PHP Code:<?php...
wdeda General Help 3 885 07-05-2020, 02:41 PM
    Thread: Pagination in descending order
Post: RE: Pagination in descending order

(06-27-2020, 08:15 AM)mohs3n Wrote: Hi In my controller I have this : Code:$article = new Article(); $data = [             'articles' => $article->paginate(5),             'pager...
wdeda CodeIgniter 4 Support 2 819 06-27-2020, 02:31 PM
    Thread: How to use $request->uri->getSegment() inside view?
Post: RE: How to use $request->uri->getSegment() inside...

(06-20-2020, 11:02 AM)0x0undefined Wrote: I'm trying to use `$ request-> uri-> getSegment (1)` in the view but I get an error saying "Undefined variable: request", what should I do to disp...
wdeda Libraries & Helpers 2 1,309 06-20-2020, 11:20 PM
    Thread: DB Using CodeIgniter’s Model - $afterFind
Post: RE: DB Using CodeIgniter’s Model - $afterFind

(06-18-2020, 11:47 AM)midav Wrote: Hi everyone, I’m doing my own project and I have a couple of tables and I want to make a connection between them through $afterFind, but in the documentation, ...
wdeda CodeIgniter 4 Discussion 5 1,550 06-18-2020, 06:01 PM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.