Jump to content

Archived

This topic is now archived and is closed to further replies.

atjhza

Urgent Help Please!

Recommended Posts

Hi there.

 

This is probably a basis schoolboy error but it's driving me nuts!!

 

I developed a shop on my sons site. When I was nearly finished, I ftp-ed the files from that site upto the correct site address but apart from the index page, evey other link takes me back to my sons site.

 

How do I stop this!!!

 

Thanks. :( :blink:

Share this post


Link to post
Share on other sites

Your includes/configure.php file is probably not set up correctly. You can post it here, minus the sensitive data, if you would like someone to look at it.

 

Jack

Share this post


Link to post
Share on other sites
Hi there.

 

This is probably a basis schoolboy error but it's driving me nuts!!

 

I developed a shop on my sons site.  When I was nearly finished, I ftp-ed the files from that site upto the correct site address but apart from the index page, evey other link takes me back to my sons site.

 

How do I stop this!!!

 

Thanks. :(  :blink:

Are you refering to images links, page links or what?

 

If you uploaded everything to your sons site and have now put them onto your own servers folder as files the links for images etc will be as they are typed/entered in the file so go into each file and physically change the path or in the case of images just re-upload them through your osC Administration panel > Catalog / Catergories - Products choose the product click browse reload image from your PC.

 

Good Luck.

 

Kind Regards,

Michelle.

Share this post


Link to post
Share on other sites

[colour=green]Just a thought did you build with php or HTML cause if you used php the script for the images will take you there no matter what site address you changed too, but anyway just reload them take a bit of time but less stressful.

 

Good Luck again.

 

Kind Regards,

Michelle.[/color]

Share this post


Link to post
Share on other sites

Thanks everyone.

 

Here's the config file as it stands at the moment.

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 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://old site'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://old site'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', false); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'old site');

define('HTTPS_COOKIE_DOMAIN', 'old site');

define('HTTP_COOKIE_PATH', '/new site/');

define('HTTPS_COOKIE_PATH', '/new site/');

define('DIR_WS_HTTP_CATALOG', '/new site/');

define('DIR_WS_HTTPS_CATALOG', '/new site/');

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/old site/public_html/new site/');

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 NULL for productive servers

define('DB_SERVER_USERNAME', 'old site_osc2');

define('DB_SERVER_PASSWORD', '************');

define('DB_DATABASE', 'old site_osc2');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

 

I assume that i should change 'old site' to 'new site'.

 

Is that correct? I assume that then I'll have to export the database to the new site mySQL. IS that right?

 

Thanks again.

 

:)

Share this post


Link to post
Share on other sites

Assuming old site and new site are legitimate domain names, the entries should be changed to one of them, not both.

 

Jack

Share this post


Link to post
Share on other sites

×