![]() |
upgrade issues - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: upgrade issues (/showthread.php?tid=88778) |
upgrade issues - MarcoB - 11-05-2023 After upgrading to version 4.4.3. non of my projects are working any longer. Trying to rebuild a project from srcatch I got the following error: Warning: require(C:\xampp\htdocs\ci4-news\app\Config/../../vendor/codeigniter4/codeigniter4/system\bootstrap.php): failed to open stream: No such file or directory in C:\xampp\htdocs\ci4-news\spark on line 75 PHP Fatal error: require(): Failed opening required 'C:\xampp\htdocs\ci4-news\app\Config/../../vendor/codeigniter4/codeigniter4/system\bootstrap.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\ci4-news\spark on line 75 Anybody an idea why this happens and how to solve this? Thanks! RE: upgrade issues - ozornick - 11-05-2023 Check upagrade history https://codeigniter4.github.io/userguide/installation/upgrading.html After run "composer update" RE: upgrade issues - MarcoB - 11-05-2023 I have found out that my virtual host set up (Xampp) is not working as expected: <VirtualHost *:80> ServerName ciapp.localhost ServerAlias ciapp.localhost DocumentRoot "c:/xampp/htdocs/ciapp/public" <Directory "c:/xampp/htdocs/ciapp/public"> Require all granted AllowOverride all </Directory> </VirtualHost> <VirtualHost *:80> ServerName ci4_news.localhost ServerAlias ci4_news.localhost DocumentRoot "c:/xampp/htdocs/ci4_news/public" <Directory "c:/xampp/htdocs/ci4_news/public"> Require all granted AllowOverride all </Directory> the ci4_news proiect is picking up the settings from ciapp.localhost. How can I solve this issue ? what value/parameter in codeigniter correspondents with servername in httpd-vhosts.config? RE: upgrade issues - ozornick - 11-05-2023 Try <VirtualHost ci4_news.localhost:80> RE: upgrade issues - captain-sensible - 11-05-2023 try something along the lines of : Code: <VirtualHost *:80> Note caps and order that i have put |