Migrated hosts - now getting a php message - require dispatcher.php
Permalink
I had Concrete5 installed by Softaculous (I think) on one hosting service. I've loaded a complete cpanel backup on a new hosting service. When I attempt to access my C5 website, I'm getting a file downloaded with the following text:
<?php require('concrete/dispatcher.php');
I don't know what version of C5 I have. Softaculous on the new host doesn't think that C5 is installed. I no longer have access to the previous host.
What is the best way to fix this?
<?php require('concrete/dispatcher.php');
I don't know what version of C5 I have. Softaculous on the new host doesn't think that C5 is installed. I no longer have access to the previous host.
What is the best way to fix this?

That is the content of the index.php file, if the file is being downloaded by your browser instead of executed I bet that your server doesn't have PHP installed.
OK, it looks like my backup is missing files from public_html/concrete/ - specifically, the log is reporting that there is a fatal error attempting to open .../concrete/config/base_pre.php.
Is it possible to manually recreate the contents of base_pre.php? I don't know of any way to get back to the files on my prior host.
The whole config folder is empty - are there other files that need to be there?
Is it possible to manually recreate the contents of base_pre.php? I don't know of any way to get back to the files on my prior host.
The whole config folder is empty - are there other files that need to be there?