Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Transferring servers, config issues?


ichini

Recommended Posts

Hoping I might find some suggestions here, before I try a complete reinstall...

 

I installed and set up my oscommerce store on a test server and am now trying to transfer it to a new server. I've reuploaded all the files, uploaded the mysql databases, and changed the configure.php and admin/configure.php files to the new server information.

 

However it's still acting as if its not connecting to something somewhere. Loading my main page usually brings up my header and left column or part of the left column. Randomly clicking around will sometimes bring up the page correctly but most often only loads it partway. See what I'm talking about here ->> http://www.gesshoku.org

 

Are there any other files I need to change for the new configuration, or does anyone have any other suggestions as to why the store is doing that?

 

Here's what my configure.php looks like, if that helps:

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 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.gesshoku.org'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTPS_SERVER', ''); // eg, [url="https://localhost"]https://localhost[/url] - should not be empty for productive servers
 define('ENABLE_SSL', false); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'gesshoku.org');
 define('HTTPS_COOKIE_DOMAIN', '');
 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/gesshoku/public_html/');
 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', '****');
 define('DB_SERVER_PASSWORD', '****');
 define('DB_DATABASE', 'gesshoku_store');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'
?>

Link to comment
Share on other sites

Thanks for the reply.

 

Then... what would I have to change to get it to construct the links right? It worked on the test server and I haven't changed anything but the congif file since.. or is this something to do with settings on the server? o_.

Link to comment
Share on other sites

Hmm... I looked at the installation on the test server and its running fine with the links like that. The only difference I can see right now is that the old server was running PHP 4.4.6 and this one is 4.4.4.

 

I'm not sure what could have changed the links... I have two contributions installed - the catalog design pack and the multi-geo zone shipping pack. Otherwise I haven't messed with it other than some stylesheet changes and such..

Link to comment
Share on other sites

This is bizarre. I have never seen a site with pages that half load and if you click refresh enough times, the page loads entirely. When malfunctioning, the code is arrested just below your What's New Box. Can you post your includes/column_left.php? I love a good mystery :)

 

jon

It's all just ones and zeros....

Link to comment
Share on other sites

Sure, but I don't think I've ever changed this file:

 

<?php
/*
 $Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 [url="http://www.oscommerce.com"]http://www.oscommerce.com[/url]

 Copyright © 2003 osCommerce

 Released under the GNU General Public License
*/

 if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_categories_box();
 } else {
   include(DIR_WS_BOXES . 'categories.php');
 }

 require(DIR_WS_BOXES . 'whats_new.php');
 require(DIR_WS_BOXES . 'search.php');
 require(DIR_WS_BOXES . 'information.php');
?>

Link to comment
Share on other sites

After tapping out a lengthy post to you, I visited your site. Now fully functioning, I now ask what you did to resolve this problem! Post the fix so someone can learn!

 

jon

It's all just ones and zeros....

Link to comment
Share on other sites

Actually, it's still not fully functioning. I reinstalled from scratch and imported the old database with my catalog and settings, and that seemed to work. But now, whenever I add a new product the same problem appears again. The front page loads halfway and all the other pages will work except the category the new product was added to.

 

Any suggestions on this now? I appreciate the help.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...