Reputation: 2388
I am up with drupal
development in a localhost
environment. I am using Acquia Drupal Stack
. Now I want to export it to my domain. When I try to export it as an archive from Export
functionality in the Acquia Drupal Stack
, I get an error :
Please help!
Upvotes: 2
Views: 59
Reputation: 1414
Moving it manually is quite easy. This is how I'd do it when i only have simple FTP/phpMyAdmin access:
Deactivate bandwidth optimization and caching (in Menu Configuration/Development/Performance), run Cron ('Configuration/System/Cron'), run Update ('/update.php'), clear all caches (Switching the site to maintenance mode might be a good idea as well).
Export your database (via Terminal/mysqldump
, phpMyAdmin or the Backup and Migrate Module), preferably in zip format.
Import the database to your new server.
FTP all files to your server (Set default permissions to 550
for folders, 440
for files). Only sites/default/files and its contents need write permission (775
)
Adjust settings.php
(Base URL, DB Login) and maybe .htaccess
(eg. RewriteBase) for your new server.
If you get a white screen instead of your homepage, try the user login page (/user/login
). Logging in and clearing caches again fixes this for me most of the time.
Upvotes: 1