Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HTTP 404 Error due to MIGRATION


fdlazarte

Recommended Posts

Posted

I just migrated my site thru the following method:

 

1. backup the entire database, then transfer to the NEW URL thru phpMyAdmin (thru SQL copy-paste) - ok

2. copy all the files and folders thru FTP (\includes \images \admin \download \pub folders)

3. modify configure.php (\includes and \admin\includes)

 

Did I miss something to copy or to modify? I dont have SSL yet

 

The database works fine, but my dynamic pages are missing...

 

I can access my admin page. The first page comes up, but when you click on the Categories (dynamic pages), it shows 404 HTTP Error!

 

 

Please Help... I have a deadline till tomorrow!

 

Thanks

Posted

Can you give us the URL, as an example? It's probably a typo in the configure.php.

 

-jared

Posted
Can you give us the URL, as an example? It's probably a typo in the configure.php.

 

-jared

 

 

i checked configure.php and i got the right info. thanks

 

Are you using ultimate URLs - you need to make sure the .htaccess entries are copied across, if you are.

 

there's no .htaccess on previous site

Posted

do us all a favor, post the configure.php files, removing ONLY THE DATABASE INFO

Posted
do us all a favor, post the configure.php files, removing ONLY THE DATABASE INFO

 

 

 

 

<?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://www.MYSITE.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.MYSITE.com'); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'www.MYSITE.com');

define('HTTPS_COOKIE_DOMAIN', 'www.MYSITE.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '/');

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/MYSITE/public_html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

 

* The problem is when I click on the dynamic sites like the CATEGORIES section, I know it shows .html link, it has a 404 ERROR

 

 

 

 

Thanks

Archived

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

×
×
  • Create New...