mehnihma Posted March 6, 2013 Share Posted March 6, 2013 (edited) Hi I have big problem when I moved my server to another location, PS 1.5.1 I had domain.com/shop and changed everything to domain.com now in BO when I got to modules I get: Notice: Constant _MEDIA_SERVER_1_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 3 Notice: Constant _MEDIA_SERVER_2_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 4 Notice: Constant _MEDIA_SERVER_3_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 5 Notice: Constant _PS_CACHING_SYSTEM_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 6 Notice: Constant _PS_CACHE_ENABLED_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 7 Notice: Constant _DB_NAME_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 8 Notice: Constant _MYSQL_ENGINE_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 9 Notice: Constant _DB_SERVER_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 10 Notice: Constant _DB_USER_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 11 Notice: Constant _DB_PREFIX_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 12 Notice: Constant _DB_PASSWD_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 13 Notice: Constant _COOKIE_KEY_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 14 Notice: Constant _COOKIE_IV_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 15 Notice: Constant _RIJNDAEL_KEY_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 16 Notice: Constant _RIJNDAEL_IV_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 17 Notice: Constant _PS_VERSION_ already defined in /home/zvrko/public_html/config/settings.inc.php on line 18 I need help Edited March 6, 2013 by mehnihma (see edit history) Link to comment Share on other sites More sharing options...
tdr170 Posted March 6, 2013 Share Posted March 6, 2013 You will need to edit the settings.inc.php file and point the settings to the new location, you will also need to edit the DB and make changes to point to the new location. settings.inc.php is located in the config folder. edit ps_shop_url in the DB. Link to comment Share on other sites More sharing options...
mehnihma Posted March 6, 2013 Author Share Posted March 6, 2013 (edited) I did that Prestahop works and I get that error only in modules in BO this is setting: <?php define('_MEDIA_SERVER_1_', ''); define('_MEDIA_SERVER_2_', ''); define('_MEDIA_SERVER_3_', ''); define('_PS_CACHING_SYSTEM_', 'CacheMemcache'); define('_PS_CACHE_ENABLED_', '0'); define('_DB_NAME_', 'dtabas'); define('_MYSQL_ENGINE_', 'InnoDB'); define('_DB_SERVER_', 'localhost'); define('_DB_USER_', 'zuser'); define('_DB_PREFIX_', 'ps_'); define('_DB_PASSWD_', 'FHe234525'); define('_COOKIE_KEY_', 'MB0UzjwveB6sippYAw6FqFSC0bZeNao4VviYzrKem9XP3NyksJDeKDNj'); define('_COOKIE_IV_', 'J5ZXyKiS'); define('_RIJNDAEL_KEY_', 'kWdk7XuOYZDKsQfLEIRhMHFDSGv3jzSo'); define('_RIJNDAEL_IV_', 'mHM4trFkx+oTfR7OvxWkzQ=='); define('_PS_VERSION_', '1.5.1.0'); ?> Edited March 6, 2013 by mehnihma (see edit history) Link to comment Share on other sites More sharing options...
mehnihma Posted March 6, 2013 Author Share Posted March 6, 2013 anyone? Link to comment Share on other sites More sharing options...
mehnihma Posted March 7, 2013 Author Share Posted March 7, 2013 no one? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now