felis8681 Posted May 18, 2011 Share Posted May 18, 2011 Thanks to the forum I read that I have to edit the admin/includes/configure.php if I want to change my folder name. So I changed my folder name from admin to test .... to see if it would work. Then I edit the following lines in configure.php: define('DIR_WS_TEST', '/catalog/test/'); define('DIR_FS_TEST', '/../../../../.../.../catalog/test/'); ........... but it do not work........... I got an Error: Server not found....... If I change it back to admin ... it works fine again I do hope anyone can assist me with that problem because I have no Idea what I did wrong - it sounds so easy.... Link to comment Share on other sites More sharing options...
Guest Posted May 18, 2011 Share Posted May 18, 2011 Sophie, You can't change the file definitions NAME, just the definition. So, your admin configure lines should appear like this: <?php define('HTTP_SERVER', 'https://www.yourdomain.com'); define('HTTP_CATALOG_SERVER', 'http://www.yourdomain.com'); define('HTTPS_CATALOG_SERVER', 'https://www.yourdomain.com'); define('ENABLE_SSL_CATALOG', 'true'); define('DIR_FS_DOCUMENT_ROOT', '/home/content/html/'); define('DIR_WS_ADMIN', '/changedadmin/'); define('DIR_FS_ADMIN', '/home/content/html/changedadmin/'); define('DIR_WS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/content/html/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Where is says changedadmin is the ONLY change you need to make in the /admin/includes/configure.php file. Chris Link to comment Share on other sites More sharing options...
felis8681 Posted May 19, 2011 Author Share Posted May 19, 2011 :blush: You saved my life :blush: Thank you so much! Link to comment Share on other sites More sharing options...
Guest Posted May 19, 2011 Share Posted May 19, 2011 You saved my life Well, I wouldn't go that far :lol: ......but, you're welcome. Chris Link to comment Share on other sites More sharing options...
apolyshow Posted June 1, 2011 Share Posted June 1, 2011 I' ve made a lot of times but never get worked.Any suggestions?I am following exactly the steps that you reffer One amateur made the Arc, 5.000 pro made the Titanic... Link to comment Share on other sites More sharing options...
multimixer Posted June 1, 2011 Share Posted June 1, 2011 I' ve made a lot of times but never get worked.Any suggestions?I am following exactly the steps that you reffer What exactly didn't work? There are 2 things to do 1) rename folder name via cpanel 2) update both configure.php files to reflect the changes as posted above My community profile | Template system for osCommerce - New: Responsive | Feedback channel Link to comment Share on other sites More sharing options...
apolyshow Posted June 3, 2011 Share Posted June 3, 2011 Yes ia am changing the admin folder insideo of the two configure files and then i am having error and i can't go in to the admin folder.Never did it.... One amateur made the Arc, 5.000 pro made the Titanic... Link to comment Share on other sites More sharing options...
pdcelec Posted June 3, 2011 Share Posted June 3, 2011 What exactly didn't work? There are 2 things to do 1) rename folder name via cpanel 2) update both configure.php files to reflect the changes as posted above Yes ia am changing the admin folder insideo of the two configure files and then i am having error and i can't go in to the admin folder.Never did it.... Link to comment Share on other sites More sharing options...
carlal19 Posted June 3, 2011 Share Posted June 3, 2011 Thanks for this code. This is a great help Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.