![]() |
bootstrap.php not found in index.php - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: bootstrap.php not found in index.php (/showthread.php?tid=76184) |
bootstrap.php not found in index.php - abualk - 04-20-2020 Greetings, I downloaded a very fine update on the script from : https://github.com/codeigniter4projects/website2 when I put in localhost , I got this message: PHP Code: Fatal error: require(): Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/CI/app/Config/../../vendor/codeigniter4/framework/system/bootstrap.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php') in /Applications/XAMPP/xamppfiles/htdocs/CI/public/index.php on line 36 I wonder how to fix it? RE: bootstrap.php not found in index.php - 5flex - 04-20-2020 (04-20-2020, 04:24 AM)abualk Wrote: Greetings, Show us please a directory structure? AND you must execute in your root folder the next commands: PHP Code: composer require codeigniter4/framework Most likely the problem is that you do not have the vendor folder. RE: bootstrap.php not found in index.php - abualk - 04-20-2020 thank you so much for your kind reply. I dont know how to use composer as when I run the command I got this -bash: composer: command not found as for the structure -app -public -system -tests -writable I wonder if this is enough info or not. as I said I'm new to all of this and I'm trying to catch up with you guys RE: bootstrap.php not found in index.php - jreklund - 04-20-2020 You will need to install Composer first: https://getcomposer.org/ RE: bootstrap.php not found in index.php - abualk - 04-20-2020 thank you so much. I managed to install the composer and I'm getting this error message: Your requirements could not be resolved to an installable set of packages. Can't download the software because of a network problem RE: bootstrap.php not found in index.php - jreklund - 04-20-2020 You can force an install with: Code: composer install --ignore-platform-reqs RE: bootstrap.php not found in index.php - abualk - 04-30-2020 Many thanks guys. worked .. thanks to you. yet I noticed the resp has db structs, I wonder why it's not attached to GitHub. thanks again |