Concrete 5.7

Permalink 1 user found helpful
Hello the Forum,

I am having trouble installing Conrete5.7 for a new project on my development server.

It gets past the installing dashboard part and then throws this error:

{"error":{"message":"Concrete\\Controller\\Install::run_routine(): Failed opening required '\/var\/www\/vhosts\/*\/*\/src\/application\/config\/site_install.php' (include_path='\/var\/www\/vhosts\/*\/*\/src\/concrete\/vendor:.:\/usr\/share\/pear:\/usr\/share\/php')"},"errors":["Concrete\\Controller\\Install::run_routine(): Failed opening required '\/var\/www\/vhosts\/*\/*\/src\/application\/config\/site_install.php' (include_path='\/var\/www\/vhosts\/*\/*\/src\/concrete\/vendor:.:\/usr\/share\/pear:\/usr\/share\/php')"]}


I replaced website name with * in the paths in the error.

The root folder it paths to exists, however the web root folder is called 'web' not 'src' so this is obviously why it cannot find the file. My question is, why is it trying to look that that folder?

Version 5.3.7.1

Thanks,
Adam

 
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
It sounds like you're installing the Github version since you mentioned the 'web' directory.

Make sure you have followed the installation steps outlined on the Github page: https://github.com/concrete5/concrete5-5.7.0...

Specifically the installing Composer dependencies and compiling the Grunt build files.
WAI replied on at Permalink Reply
I am not installing the github version, It is the version from the download page.

I have the development version installed on a different virtual host on the same web server, but I am just about to start a production website.

The web folder is just what my Apache DocumentRoot is set to, so I have the following folders:

site/logs
site/conf (vhost conf)
site/web (Web Root, this is where C5 has been extracted)

Thanks
WAI replied on at Permalink Reply
As a follow up.

I have just moved my site folder to a different directory on the server. I have deleted all the C5 files and all of the database tables.

I then proceeded to run the install again and I got the same error, however the interesting thing here is that it is looking for the site_install.php in the old folder structure, not where the site has been moved too.

Seems to me like there is some caching of the settings, however I cannot work out how it is retaining this information even after deleting the whole directory the site was installed to.

Thanks again.
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Double check your application/config directory has write permissions.
WAI replied on at Permalink Reply
No idea what happened here.

After I moved the site and it retained the old directory paths, I decided to step through it bit at a time.

I opened up concrete/bootstrap/configure.php and echo'ed and exited after each of the defines. These had the values I expected them to have and so I decided to allow to installation to progress normally again.

And it worked. Totally stumped. 15 times I have tried to install it today.
WAI replied on at Permalink Reply
It was not write permissions I had the whoel directory all sub folders and files owned by apache and set to 777 while I was having issues.

Now that it is working I have reset all the permissions, except application/files, application/config, updates and packages.

Thanks,
Adam
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Glad you got it working.
Ta2Ta2 replied on at Permalink Reply
That worked for me too!