Guest Posted October 24, 2007 Posted October 24, 2007 Hi, Not sure whats going on, but when I update the conditions page it doesnt appear on the site Best way to explain the problem is to show you these: 1. from home page http://livefoodsforgood.co.uk/index.php click on terms and conditions 2. go to http://livefoodsforgood.co.uk/conditions.php direct using 1. you are taken to the old version of the Ts and Cs, using 2. you are taken to the new version Anyone know why and how to fix this?
germ Posted October 24, 2007 Posted October 24, 2007 Most of the links on the page on the 1st link you gave point to files in a /lfg folder... The second link points to a totally different file.... :blink: Probably need some tweaking in your configure.php file(s). :huh: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted October 24, 2007 Posted October 24, 2007 hmm.. yeah. the LFG folder. it's a nightmare... the host folk made a mess of things when they 'helped' me move. I dont speak php or much else for that matter, could you be a little more specific as to what I need to change?
germ Posted October 24, 2007 Posted October 24, 2007 Just so we're both on the same page... :lol: Is your shop going to reside in the /lfg folder, or the root (/) folder? :unsure: If I was betting, I'd bet on the root folder.... ;) If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Guest Posted October 29, 2007 Posted October 29, 2007 It's meant to be on the root folder. At the moment I have been copying all updates to both versions of the site - root and root/lfg If you type the address of the site into a browser, it takes you yo the index page on the route folder. If you then click on any of the oscom links (terms, any of the products, the header image, etc etc) it takes you to /lfg/ and leaves you there. If anyone can tell me how to make it so that the links on the site dont point to the copy, please let me know. I have spoken to bluehost 'support' (who screwed it up in the first place) and all they will do is link me to the oscommerce site and say its an oscom issue.
Guest Posted October 29, 2007 Posted October 29, 2007 This is configure.php (from includes folder... took me a while to find that one) <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.livefoodsforgood.co.uk'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'healthcare-basics.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/lfg/'); define('HTTPS_COOKIE_PATH', '/lfg/'); define('DIR_WS_HTTP_CATALOG', '/lfg/'); define('DIR_WS_HTTPS_CATALOG', '/lfg/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/healthd5/public_html/lfg/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'healthd5_osc3'); define('DB_SERVER_PASSWORD', 'SinKqF1Lt[51'); define('DB_DATABASE', 'healthd5_osc3'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?>
Nullachtfuffzehn Posted October 29, 2007 Posted October 29, 2007 As you might see yourself, there are several places in your configure.php that point to the lfg folder. Remove them and you should be good to go. To make them point to the root there needs to be a / only except for the DIR_FS_CATALOG which needs to be /home/healthd5/public_html/
germ Posted October 29, 2007 Posted October 29, 2007 MAKE A BACKUP BEFORE MAKING ANY EDITS. These are what I see that needs changed: define('HTTP_COOKIE_DOMAIN', '.livefoodsforgood.co.uk'); define('HTTPS_COOKIE_DOMAIN', '/'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_FS_CATALOG', '/home/healthd5/public_html/'); And now that you've exposed your username and password for your database access, they'll need changed as well. :blush: If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.