upgrade issues |
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!
Check upagrade history https://codeigniter4.github.io/userguide...ading.html
After run "composer update"
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?
Try <VirtualHost ci4_news.localhost:80>
11-05-2023, 10:41 AM
(This post was last modified: 11-05-2023, 10:41 AM by captain-sensible. Edit Reason: caps wrong )
try something along the lines of :
Code: <VirtualHost *:80> Note caps and order that i have put |
Welcome Guest, Not a member yet? Register Sign In |