Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Migrate silverstripe site to an other server


Go to End


2 Posts   629 Views

Avatar
ramtamtam

Community Member, 7 Posts

8 March 2017 at 3:30am

Edited: 08/03/2017 3:32am

I migrated a site from a local server to a webhoster (shared host) and can not log into the backend anymore. i enter my userdata in login form and get to the page showing the silverstripe logo and the phrase "create the web". Then nothing happens.

All frontend pages work fine.

All server requirements are met by the shared hosting i am migrationg to.

Login might somehow have succeeded as I am allowed to do a ?flush=true.

I manually deleted all caches and cache dirs.

When i run the install.php the database connection is said to fail. No surprise! The script tries to use a user that is not defined in the _config.php. When i enter the ones it should use, it accepts them.

cheers

Avatar
ramtamtam

Community Member, 7 Posts

8 March 2017 at 5:46am

i checked the apache error log files and found an error saying
"/is/htdocs/wpXXXXXXXX_XXXXXXX/www/asdasdasd/assets/.htaccess: php_flag not allowed here"
I commented the line in the .htaccess file in assets folder and here we go, the admin page loads correctly.

The webhoster is hosteurope.de with package "webhosting basic".