-
- 3 Posts
Beste,
Weet iemand hoe ik het volgende probleem kan oplossen?
Begin dit jaar had de opdrachtgever besloten de projectwebsite stop te zetten.
Ik op een gegeven moment de installatie verwijderd waarbij ik nog een backup heb gemaakt.
Nu wordt het project toch weer onverwachts voortgezet.
Ik heb modx opnieuw geïnstalleerd en de backup teruggeplaatst.
De oude website krijg ik in beeld en werkt goed alleen werkt de login niet om in de backend te komen waar ik wijzigingen moet doorvoeren.
Iemand een idee hoe ik dit kan oplossen?
Mvg
Henk Jan
Check and follow the instructions here:
http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server
Updating your Config Files
Once you've deployed files to the new server, you need to update the main configuration file: core/config/config.inc.php. You have to update paths to 6 different resources. Open the file and update the values for the following variables doing a find and replace:
/* PATHS */
$modx_core_path= '/path/to/modx_doc_root/core/';
$modx_processors_path= '/path/to/modx_doc_root/core/model/modx/processors/';
$modx_connectors_path= '/path/to/modx_doc_root/connectors/';
$modx_manager_path= '/path/to/modx_doc_root/manager/';
$modx_base_path= '/path/to/modx_doc_root/';
$modx_assets_path= '/path/to/modx_doc_root/assets/';
/* HOST (used for command-line PHP stuff) */
$http_host='yoursite.com';
If you are also moving your site into or out of a subfolder, be sure to update the variables such as $modx_connectors_url, $modx_manager_url, and $modx_base_url. They should generally
end with a slash (e.g., $modx_base_url='/' for a site not in a subfolder).
Permissions
Before you can edit your config file, you may need to loosen up the permissions. After you've edited it, be sure you restore the read-only permissions on the file.
There are also 3 additional configuration files that contain two PHP constants:
define('MODX_CORE_PATH', '/path/to/modx_doc_root/core/');
define('MODX_CONFIG_KEY', 'config');
/config.core.php
/connectors/config.core.php
/manager/config.core.php
Make sure you update the paths in these files as well.
Hi Henk Jan,
Als je de migratie instructies die frogabog linkte gevolgd heb, kun je proberen om handmatig je login te resetten via de database:
http://rtfm.modx.com/display/revolution20/Resetting+a+User+Password+Manually
Als dat ook niet helpt, kan je dan even laten weten wat er precies gebeurd als je probeert in te loggen?