Welcome Guest, Not a member yet? Register   Sign In
Multiple Applications
#9

(04-13-2022, 05:10 AM)kenjis Wrote: Okay, the first thing you do is to check the path is correct.

ROOTPATH . '../vendor/autoload.php'

Is that really correct?
The instruction in the user guide is an example. If you have different folder structure, it is not correct to you.

With clean installation, the line 26 of the "Constants.php" looks like this:
PHP Code:
/*
 | --------------------------------------------------------------------------
 | Composer Path
 | --------------------------------------------------------------------------
 |
 | The path that Composer's autoload file is expected to live. By default,
 | the vendor folder is in the Root directory, but you can customize that here.
 */
defined('COMPOSER_PATH') || define('COMPOSER_PATH'ROOTPATH 'vendor/autoload.php'); 
... and the app works...
But if I change the path to
PHP Code:
ROOTPATH '../vendor/autoload.php'); 
... I get the error I posted in the initial post of this thread.

I want to install "Tatter Lightweight settings", but nothing happend. Composer said "installed" but if I followed the rest of installation the files were not there, where they should be.
In this case,  the guide of multiple application says that I have to modify the "Constants.php" ... and after that the app was not working with the error above...
Reply


Messages In This Thread
Multiple Applications - by Codinglander - 04-10-2022, 05:59 PM
RE: Multiple Applications - by kenjis - 04-12-2022, 06:21 PM
RE: Multiple Applications - by Codinglander - 04-12-2022, 10:26 PM
RE: Multiple Applications - by kenjis - 04-12-2022, 11:09 PM
RE: Multiple Applications - by Codinglander - 04-13-2022, 01:45 AM
RE: Multiple Applications - by kenjis - 04-13-2022, 02:06 AM
RE: Multiple Applications - by Codinglander - 04-13-2022, 04:56 AM
RE: Multiple Applications - by kenjis - 04-13-2022, 05:10 AM
RE: Multiple Applications - by Codinglander - 04-13-2022, 11:08 AM
RE: Multiple Applications - by kenjis - 04-13-2022, 04:29 PM
RE: Multiple Applications - by Codinglander - 04-13-2022, 10:32 PM
RE: Multiple Applications - by kenjis - 04-14-2022, 07:11 PM
RE: Multiple Applications - by kenjis - 04-13-2022, 05:45 PM
RE: Multiple Applications - by kenjis - 04-15-2022, 02:56 PM



Theme © iAndrew 2016 - Forum software by © MyBB