Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Moving OS commerce

Featured Replies

My shop was previously located at custombats.co.uk/shop - this worked fine.

I want the shop at www.ianwills.co.uk/shop - I transfered the files over onto this domains folder as both domains are on the same hosting account, but the shop appears incorrectly. Some of the paths appear to be wrong.

 

I believe i need to change some of the things in the following file but Im not sure what?

configure.php

It looks to me like the old domain customabats.co.uk is appearing when the new domain ianwills.co.uk should be?

 

Thanks

 

<?php
 define('HTTP_SERVER', 'http://custombats.co.uk');
 define('HTTP_CATALOG_SERVER', 'http://custombats.co.uk');
 define('HTTPS_CATALOG_SERVER', 'http://custombats.co.uk');
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', '/home/customb3/public_html/shop/');
 define('DIR_WS_ADMIN', '/shop/admin/');
 define('DIR_FS_ADMIN', '/home/customb3/public_html/shop/admin/');
 define('DIR_WS_CATALOG', '/shop/');
 define('DIR_FS_CATALOG', '/home/customb3/public_html/shop/');
 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/');

 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'xxxx');
 define('DB_SERVER_PASSWORD', 'xxxxx');
 define('DB_DATABASE', 'xxxx');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

  • 5 weeks later...

hiya, i have marked the things you need to change,

you need to change them with your new site settings and locations,

also is your new site on the same host? as when migrating some of my clients sites to different hosts,

things could get problematic due to different PHP and Mysql versions

hope this helps

Syrus

 

<?php
 define('HTTP_SERVER', 'http://custombats.co.uk');    <--//change this-->
 define('HTTP_CATALOG_SERVER', 'http://custombats.co.uk');   <--//change this-->
 define('HTTPS_CATALOG_SERVER', 'http://custombats.co.uk');  <--//change this-->
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', '/home/customb3/public_html/shop/');   <--//change this-->
 define('DIR_WS_ADMIN', '/shop/admin/');
 define('DIR_FS_ADMIN', '/home/customb3/public_html/shop/admin/'); <--//change this-->
 define('DIR_WS_CATALOG', '/shop/');
 define('DIR_FS_CATALOG', '/home/customb3/public_html/shop/');   <--//change this-->
 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/');

 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'xxxx');
 define('DB_SERVER_PASSWORD', 'xxxxx');
 define('DB_DATABASE', 'xxxx');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.