Moving site from Windows to Ubuntu
Permalink
First, let me say that I've been struggling for weeks to move two sites. Apache seems so primitive and takes a lot of configuration I've found.
1) I've followed tons of documentation - I get close, something doesn't work, and then I take 10 steps back and get stuck on a different issue, trying to start over.
2) I've exported database via PHPMyAdmin from live site, and imported into empty identical database on new ubuntu site. No errors. I've made sure the user is created and has the same permissions, and is set to that database. No errors.
3) I then load the home page (or preview the custom theme via the themes manager in the dashboard) and I get an error.
This is the error I see with debuging (show errors) on:
I've tried so many things and am getting to the "give-up" stage.
1) I've followed tons of documentation - I get close, something doesn't work, and then I take 10 steps back and get stuck on a different issue, trying to start over.
2) I've exported database via PHPMyAdmin from live site, and imported into empty identical database on new ubuntu site. No errors. I've made sure the user is created and has the same permissions, and is set to that database. No errors.
3) I then load the home page (or preview the custom theme via the themes manager in the dashboard) and I get an error.
This is the error I see with debuging (show errors) on:
File /opt/bitnami/apache2/htdocs/SITE/concrete/themes/SITE/default.php not found. All themes need default.php and view.php files in them. Consult concrete5 documentation on how to create these files.
I've tried so many things and am getting to the "give-up" stage.
Thanks for the reply. I've removed cache before moving the site.
In that case, I suspect that the theme files are not in the correct place.
/opt/bitnami/apache2/htdocs/SITE/concrete/themes/SITE/default.php
What folders do you see in /opt/bitnami/apache2/htdocs/?
It would appear that there should be a folder called "SITE" - although I'm suspicious that this is the result of an undefined constant being interpreted as a literal value
What version of Concrete5 are you using?
/opt/bitnami/apache2/htdocs/SITE/concrete/themes/SITE/default.php
What folders do you see in /opt/bitnami/apache2/htdocs/?
It would appear that there should be a folder called "SITE" - although I'm suspicious that this is the result of an undefined constant being interpreted as a literal value
What version of Concrete5 are you using?
My guess is that you've copied the cache files, including those that know where the theme files are located. If so, your new server will be looking in the wrong place.