I am having a FuelPHP project running successfully, I need to do setup on my local machine but not able to do it and getting following errors.
<!---- Command liner output starts ---> D:\projects\campaygn\src>composer update Loading composer repositories with package information Updating dependencies (including require-dev) Nothing to install or update Generating autoload files
D:\projects\campaygn\src>composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files > php oil r install
Fatal error: Class 'Config' not found in D:\projects\campaygn\src\fuel\core\classes\error.php on line 146
Fatal error: Class 'Config' not found in D:\projects\campaygn\src\fuel\core\bootstrap.php on line 47 Script php oil r install handling the post-install-cmd event returned with an error
The problem is that composer doesn't install the dependencies. I see it has a composer.lock file, can you remove that, and run "composer install" again?
I don't know what you installed, and why it doesn't work, I can't guess from the little information you give me.
The root of the installation should have a composer.json file, and it should contain: https://github.com/fuel/fuel/blob/1.7/master/composer.json (assuming you have installed the latest release version). If it doesn't you need to update your project first.
When you run "composer install" in that directory, it should load this json file, and download all dependencies in it. If it doesn't do so, either the file is missing or empty, or you have a local composer issue you need to address.