kowpatt Posted December 5, 2013 Posted December 5, 2013 Hey guys, please don't call me a noob, its already fairly obvious. I've got a massive site that i don't want to reinstall, but i cant hyperlink to any products professionally because the IP shows up as the URL. I installed it before the domain was ready, because i had the spare time and wanted to get it done... surely there is a way to fix this? www.battlesoftnz.co.nz/shop My programming knowledge is limited but i can follow instructions. I tried changing the /includes/configure.php but that just made the stylesheets not work? Please help, i need to promote my business and sell some stock :( Thank you all in advance! :)
Jack_mcs Posted December 5, 2013 Posted December 5, 2013 Changing the includes/configure.php file is the usual correct way to change this. But if you have a configure file in the includes/local/ directory, it could be overriding the main one. The latter should be deleted, if present. If that is not it, then please post your configure file here without the database entries at the bottom of it so someone can take a look at it. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
kowpatt Posted December 6, 2013 Author Posted December 6, 2013 The following fixed it, i also copied the config file to the local folder. Many thanks! <?php define('HTTP_SERVER', 'http://www.battlesoftnz.co.nz'); define('HTTPS_SERVER', 'http://www.battlesoftnz.co.nz'); define('ENABLE_SSL', false); define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/shop/'); define('HTTPS_COOKIE_PATH', '/shop/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_INCLUDES', 'includes/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/shop/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
Jack_mcs Posted December 6, 2013 Posted December 6, 2013 You're welcome but you shouldn't copy the configure file into the local directory. It will work that way but can cause confusion down the road if you forget about it. Also, the DIR_FS_CATALOG entry should be the full path on the server. You can find that by looking in admin->modules->Payment. It is displayed on the page. Just use the part up to and including shop/. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.