scotch-io / scotch-box

Scotch Box is a preconfigured Vagrant Box with a full array of LAMP Stack features to get you up and running with Vagrant in no time.
http://box.scotch.io
2.7k stars 547 forks source link

Error with Craft CMS on Installation #415

Open paallaire opened 4 years ago

paallaire commented 4 years ago

I follow this guide : https://craftquest.io/courses/localhosting-craft-cms/4312

I got this error just after i change 000-default.conf

sudo vim /etc/apache2/sites-enabled/000-default.conf

File :

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/web
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
        <Directory "/var/www/web">
            Options Indexes FollowSymLinks
            AllowOverride all
            Require all granted
        </Directory>
    </VirtualHost>

sudo apachectl restart
exit

When i go to http://192.168.33.10 or http://192.168.33.10/admin/install

I got this error:

Warning: Class 'Tightenco\Collect\Support\Arr' not found in /var/www/vendor/tightenco/collect/src/Collect/Support/alias.php on line 16

Parse error: syntax error, unexpected '=' in /var/www/vendor/tightenco/collect/src/Collect/Support/Arr.php on line 384