Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: beta 2 - base_url() inconsistent in namespaces
Post: RE: beta 2 - base_url() inconsistent in namespaces

Thanks!    I agree that navigation is controller only.  I was just attempting shortcuts in development/test.
1,323 Views
2 Replies
04-12-2019, 12:45 PM
devops
    Thread: beta 2 - base_url() inconsistent in namespaces
Post: beta 2 - base_url() inconsistent in namespaces

Greetings.  Is this a bug or am I missing something basic? base_url() is correct when referenced in the app namespace, but is incorrect in other namespaces (i.e. modules).   site_url() is correct ...
1,323 Views
2 Replies
04-12-2019, 10:23 AM
devops
    Thread: beta 2: filter files missing in composer install
Post: beta 2: filter files missing in composer install

Hi, I just did a new Composer appstarter install and I moved the directories around for a shared system (as usual). Just running the canned welcome message and I got ERROR: codeigniter4\framework\sys...
2,212 Views
5 Replies
04-04-2019, 11:46 AM
devops
    Thread: How to setup a route for an optional second param?
Post: RE: How to setup a route for an optional second pa...

Have you tried: $routes->add('show-list/(:any)', 'Home::index'/$1);
2,009 Views
3 Replies
03-13-2019, 01:08 PM
devops
    Thread: controller redirect to method fails
Post: RE: controller redirect to method fails

Following up: Full code examples below of what worked and didn't... Thanks for all the suggestions.  Most failures end with a CI4 code exception: SYSTEMPATH/HTTP\Exceptions\HTTPException.php at lin...
4,690 Views
5 Replies
03-13-2019, 01:00 PM
devops
    Thread: Error in the CodeIgniter 4 Tutorial
Post: RE: Error in the CodeIgniter 4 Tutorial

Also in Accessing Config Files: Code: -- // Creating new class by hand $config = new \Config\Pager(); // Creating new class with config function $config = config( 'Pager', false ); // Get sh...
1,568 Views
2 Replies
03-13-2019, 12:23 PM
devops
    Thread: controller redirect to method fails
Post: RE: controller redirect to method fails

donpwinston Wrote: (03-12-2019, 10:41 AM) -- Try redirect('/dummy'); -- Thanks, I did that and all variations of locations and namespaces, etc. It seems the correct answer is:   return redirect...
4,690 Views
5 Replies
03-12-2019, 11:29 AM
devops
    Thread: controller redirect to method fails
Post: controller redirect to method fails

Greetings,  So far I like the concepts and implementation of CI4 - great job!   However, I can't get the CI3 redirect equivalents to work in CI4.  I'm using the CI4 Beta 4.0.0 - 1, composer installed...
4,690 Views
5 Replies
03-12-2019, 08:25 AM
devops

Theme © iAndrew 2016 - Forum software by © MyBB