Okay I tried that and now I got an error-message like this:
Fejl
SQL-forespørgsel:
#
# Moustache Database Dump
#
#
# Host: localhost
# Generation Time: Aug 31, 2010 am31 07:13
# Server version: 5.1.36-community-log
# PHP Version: 5.3.0
# Database : `modx`
#
# --------------------------------------------------------
#
# Table structure for table `modx_active_users`
#
CREATE TABLE `modx_active_users` (
`internalKey` int( 9 ) NOT NULL DEFAULT ’0’,
`username` varchar( 50 ) NOT NULL DEFAULT ’’,
`lasthit` int( 20 ) NOT NULL DEFAULT ’0’,
`id` int( 10 ) DEFAULT NULL ,
`action` varchar( 10 ) NOT NULL DEFAULT ’’,
`ip` varchar( 20 ) NOT NULL DEFAULT ’’,
PRIMARY KEY ( `internalKey` ) ) ENGINE = MYISAM DEFAULT CHARSET = latin1 COMMENT = ’Contains data about active users.’;
MySQL returnerede:
#1050 - Table ’modx_active_users’ already exists
I think I got something wrong in the first steps. I will try to explain:
1. First I made an install on the remote server with same installation package as I used on my wamp.
2. Under the installation the database name was predefined as moustache_dk (with another name and password than on my local database, here the name is modx), this I couldn’t change.
3. So as I understood, I changed the ht.access file to .htaccess and made also a .htaccess.local-file. I now think it is here I got confused.I have attached the 3 htacces files I have on my remote server. The file ht.access is the same as the file I now have om my local wamp, (I had to change this back to be able to login on my local modx manager, when I what to save the sql-backup)
4. Then I changed the config.inc files 2 lines:
$database_user = ’moustace_dk’;
$database_password = ’remote db password’;
and made an config.local.inc-file with the original lines from the original config.inc file om my wamp modxcms
5. Then I upload the files and directories as described in point 5. of the toturial
6. Last I changed the permissions on the files an directories as described under point 6.
I hope my explanation can give someone a hint about where I got lost. I really appreciate the quick and nice answer on my first post here. Thansk at lot, so far