Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: how to get ID's after insertBatch()?
Post: RE: how to get ID's after insertBatch()?

This gets asked for a lot and to be honest, I've wished for it myself too. The issue is not just that 'CI does not provide this method', it's that the concept is flawed on the DB side. If another set ...
evansharp CodeIgniter 4 Support 2 304 04-30-2021, 08:50 AM
    Thread: CI in apache userdirs (domain.com/~user/public/ci)
Post: RE: CI in apache userdirs (domain.com/~user/public...

(03-22-2021, 03:46 PM)John_Betong Wrote: My CI4 knowledge only stretches as far as simple web sites. I have no experience of having multiple users accessing the same web site. I've noticed you rai...
evansharp Installation & Setup 18 2,082 03-23-2021, 11:05 AM
    Thread: CI in apache userdirs (domain.com/~user/public/ci)
Post: RE: CI in apache userdirs (domain.com/~user/public...

I did a level 6 trace on apache's rewrite for one request to the baseUrl. Everything looks correct and the passthrough path is what it should be for CI to work. So the duplication of the userdir url...
evansharp Installation & Setup 18 2,082 03-22-2021, 01:36 PM
    Thread: CI in apache userdirs (domain.com/~user/public/ci)
Post: RE: CI in apache userdirs (domain.com/~user/public...

I tried looking at what the Request object was providing to the router. I added this to the top of Router.php: PHP Code:$request = \Config\Services::request();$uri =&...
evansharp Installation & Setup 18 2,082 03-22-2021, 10:16 AM
    Thread: CI in apache userdirs (domain.com/~user/public/ci)
Post: RE: CI in apache userdirs (domain.com/~user/public...

Hi John,  I don't think it's good progress at all, it just confirms the issue I suspected in the first place: mod_userdir urls are choking the router. I am not suggesting to modify system files? I w...
evansharp Installation & Setup 18 2,082 03-22-2021, 09:09 AM
    Thread: CI in apache userdirs (domain.com/~user/public/ci)
Post: RE: CI in apache userdirs (domain.com/~user/public...

The router is first breakpoint hit: Quote:/home/kaimartin/www/hiperplanner/app/Config/Routes.php If I match any url to the stock Home controller ($routes->get('/(:any)', 'Home::index'); ), I ...
evansharp Installation & Setup 18 2,082 03-21-2021, 02:26 PM
    Thread: CI in apache userdirs (domain.com/~user/public/ci)
Post: RE: CI in apache userdirs (domain.com/~user/public...

These paths have been correct and I had already set the permissions on writable/ Code:[email protected]:/home/kaimartin/www/hiperplanner# ls total 164 drwxrwxr-x  8 kaimartin kaimartin  4096 Mar 18 14:2...
evansharp Installation & Setup 18 2,082 03-20-2021, 11:23 AM
    Thread: CI in apache userdirs (domain.com/~user/public/ci)
Post: RE: CI in apache userdirs (domain.com/~user/public...

Paths.php is unmodified. Quote:index.php ==> /home/kaimartin/www/hiperplanner/public/index.php FCPATH ==> /home/kaimartin/www/hiperplanner/public/ $paths  ==> Config\Paths Object (     ...
evansharp Installation & Setup 18 2,082 03-19-2021, 09:05 PM
    Thread: CI in apache userdirs (domain.com/~user/public/ci)
Post: RE: CI in apache userdirs (domain.com/~user/public...

I appreciate you continuing to look at my question John. By "base" do you mean the web root being served by apache? If you take a closer look at the the system paths I listed, there are two "public"...
evansharp Installation & Setup 18 2,082 03-19-2021, 05:47 PM
    Thread: CI in apache userdirs (domain.com/~user/public/ci)
Post: RE: CI in apache userdirs (domain.com/~user/public...

(03-18-2021, 04:05 PM)John_Betong Wrote: The “public/index.php” has a path set to “app/Config/Paths.php”. Try making the relevant path adjustments in Paths.php Hi John, Thanks for the quick reply! ...
evansharp Installation & Setup 18 2,082 03-19-2021, 02:20 PM
    Thread: CI in apache userdirs (domain.com/~user/public/ci)
Post: CI in apache userdirs (domain.com/~user/public/ci)

Hello, I operate a shared hosting environment on Ubunutu 20 for a course I teach. Each student of the course is allocated a user account with a ~/public/ directory for development. I am having diffi...
evansharp Installation & Setup 18 2,082 03-18-2021, 03:02 PM
    Thread: mysqli with SSL via .env file settings
Post: RE: mysqli with SSL via .env file settings

I got it. Posting for others: 1) Paths to cert files in `.env` do not need quotes! They're not parsed correctly with quotes, removing them allowed the values to be stored. 2) Increasing my logging th...
evansharp CodeIgniter 4 Support 1 276 01-29-2021, 10:13 AM
    Thread: mysqli with SSL via .env file settings
Post: mysqli with SSL via .env file settings

Hello, After reading the relevant docs, I am still having difficulty getting CI to connect to my mysql database with SSL enabled. Does this have to do with my .env formatting? Code:#-----------------...
evansharp CodeIgniter 4 Support 1 276 01-28-2021, 04:09 PM
    Thread: Possible to load and use helper function in controller filter?
Post: RE: Possible to load and use helper function in co...

I implemented a shared service, which is working so far.
evansharp CodeIgniter 4 Support 1 281 12-31-2020, 02:31 AM
    Thread: Possible to load and use helper function in controller filter?
Post: Possible to load and use helper function in contro...

Hello, Should it be possible to load and use a custom helper function from within a controller filter? I want to shortcut creating a Google API client object, the class for which is being auto-loade...
evansharp CodeIgniter 4 Support 1 281 12-31-2020, 02:20 AM
    Thread: Classmap not loaded?
Post: RE: Classmap not loaded?

(02-13-2020, 10:56 AM)ajmeireles Wrote: Hey, you is able to understand how it work now? I have same issue!Nope, I'm still using namespaces.
evansharp Libraries & Helpers 3 2,199 02-13-2020, 07:21 PM
    Thread: Classmap not loaded?
Post: Classmap not loaded?

Hi board! I am trying to locate a custom library out of `ThirdParty/` using the classmap instead of PSR-4.  I have been successful using the PSR-4 namespace autoloader, but as this is my auth librar...
evansharp Libraries & Helpers 3 2,199 01-25-2020, 02:35 PM

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