Moving D7 from Dev Server to Live

Hello everyone...

 

I have a dev server (Windows) using Uwamp server where I installed D7 and it runs fine.

 

I backed up the DB structure and content from the admin panel and created a new DB on my live server (CentOS) using PHPmyadmin, created the DB user and provided the proper priviledges. I then imported the DB i exported from my dev box and it went fine.

 

I copied the file structure from my dev box to the live server and then edited the header.inc.php to set the correct domain name, and paths, db user, password & db name.

 

$site['url'] = http://dev.XXXXX.com/;

$dir['root']               = "/var/www/vhosts/dev.XXXXX.com/httpdocs/";

 

$PHPBIN = "/usr/local/bin/php";

$db['host'] = 'localhost';

$db['sock'] = '';

$db['port'] = '';

$db['user'] = '*****';

$db['passwd'] = '*****';

$db['db'] = '*****';

 

 

Now from reading all the post here regarding moving servers, I gather the above is all I need to do to transfer from Dev to Live, but when I try to access either the the main URL or the domain/administration directory I get "HTTP 500 Internal Server Error"

So I go to the error log and find the following entries:

[Thu Apr 29 20:53:33 2010] [error] [client 202.69.188.12] PHP Fatal error: Uncaught exception 'Exception' with message 'Make sure all files in /var/www/vhosts/dev.XXXXX.com/httpdocs/plugins/phpids/IDS/../../../tmp/default_filter.cacheare writeable!' in /var/www/vhosts/dev.XXXXX.com/httpdocs/plugins/phpids/IDS/Caching/File.php:99\nStack trace:\n#0 /var/www/vhosts/dev.XXXXX.com/httpdocs/plugins/phpids/IDS/Caching/File.php(116): IDS_Caching_File->__construct('storage', Object(IDS_Init))\n#1 [internal function]: IDS_Caching_File::getInstance('storage', Object(IDS_Init))\n#2 /var/www/vhosts/dev.XXXXX.com/httpdocs/plugins/phpids/IDS/Caching/Factory.php(80): call_user_func(Array, 'storage', Object(IDS_Init))\n#3 /var/www/vhosts/dev.XXXXX.com/httpdocs/plugins/phpids/IDS/Filter/Storage.php(106): IDS_Caching::factory(Object(IDS_Init), 'storage')\n#4 /var/www/vhosts/dev.XXXXX.com/httpdocs/plugins/phpids/IDS/Monitor.php(189): IDS_Filter_Storage->__construct(Object(IDS_Init))\n#5 /var/www/vhosts/dev.XXXXX.com/httpdocs/i in /var/www/vhosts/dev.XXXXX.com/httpdocs/plugins/phpids/IDS/Caching/File.php on line 99

 

Any idea what is going on?

Quote · 29 Apr 2010

Permissions issue.

You must make sure all of the permissions for directories and files as set like they were when dolphin was first installed.

This page lists the permissions for both D6 and D7. unfortunately it does not cover the D7 module permissions.

http://www.boonex.com/trac/dolphin/wiki/DetailedInstall

Once permissions are set, remove the files in the cache, cache_public and tmp folders on the new server except for any .htaccess file that might be in them.


Untill all the permissions are properly set, the site will not run correctly.

https://www.deanbassett.com
Quote · 29 Apr 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.