Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Multiple App with .env
Post: RE: Multiple App with .env

Thanks for your response But I have an error : PHP Fatal error: Uncaught Error: Class "CodeIgniter\\Boot" not found in /var/www/vhosts/domain.com/app.domain.com/app/Boot.php:16
1,361 Views
7 Replies
04-30-2024, 02:35 AM
piieerre
    Thread: Multiple App with .env
Post: RE: Multiple App with .env

Thank you for your reply Can you tell me how to proceed? How to extend the Boot class and where to place this file? Thanks in advance
1,361 Views
7 Replies
04-30-2024, 12:50 AM
piieerre
    Thread: Multiple App with .env
Post: RE: Multiple App with .env

Hello and thank you for your answer In fact, the idea was not to touch the files contained in the Config folder, because they are often updated. In previous versions, it was possible to choose a .en...
1,361 Views
7 Replies
04-29-2024, 10:47 PM
piieerre
  Question Thread: Multiple App with .env
Post: Multiple App with .env

Hello everyone I am looking to use .env environment files with an instance composed of several applications. For example, I want to have several applications on the same CodeIgniter instance but wit...
1,361 Views
7 Replies
04-29-2024, 07:36 AM
piieerre
    Thread: TypeError after POST
Post: RE: TypeError after POST

Some news I just ran some tests and here are my results: - the problem appears when I submit a form with a form rule with "is_image" and there is no file uploaded (desired behavior, file upload ...
6,981 Views
14 Replies
02-01-2023, 05:32 AM
piieerre
    Thread: TypeError after POST
Post: RE: TypeError after POST

Hello Here is a sample code. The problem only appears when I submit the form Code: -- public function edit($id_product) { helper('form'); $productModel = new \App\Models\ProductModel; $...
6,981 Views
14 Replies
02-01-2023, 12:25 AM
piieerre
    Thread: TypeError after POST
Post: RE: TypeError after POST

Yes I understand the error. The problem is that it comes from a Codeigniter library and I don't see why...
6,981 Views
14 Replies
01-31-2023, 08:41 AM
piieerre
    Thread: TypeError after POST
Post: TypeError after POST

Hello everyone I encounter an error after submitting a form (POST). My CI version: 4.3.1 PHP version: 8.2.1 Here is the error: TypeError date(): Argument #2 ($timestamp) must be of typ...
6,981 Views
14 Replies
01-31-2023, 07:16 AM
piieerre
    Thread: Error after rename app direcory
Post: Error after rename app direcory

Hello everyone. After days of searching for a problem, I need your help! I'm trying to rename the "app" directory to "myapp" but I get this error: Code: -- Fatal error: Uncaught TypeError: A...
2,882 Views
2 Replies
01-28-2022, 06:38 AM
piieerre
    Thread: Share models,libraries,helpers multi applications
Post: RE: Share models,libraries,helpers multi applicati...

Thank you for your reply Sorry I do not really understand do. I tried to do this but it doesn't work: namespace App\Controllers; class Home extends BaseController { public function index() ...
4,477 Views
4 Replies
12-24-2020, 05:05 AM
piieerre
    Thread: Share models,libraries,helpers multi applications
Post: Share models,libraries,helpers multi applications

Good morning all I am in the process of migrating all my applications from CI 3 to CI 4. However, I encounter a small difficulty. Indeed, on some projects, I have several applications on the same...
4,477 Views
4 Replies
12-24-2020, 01:31 AM
piieerre

Theme © iAndrew 2016 - Forum software by © MyBB