Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changed to root/ changed config - missed something?


Seola

Recommended Posts

K, I have GoDaddy, I did the instructions for the root, changed my config files, but there are two issues. One, my logo on my main page (which for the time being, I just renamed oscommerce.gif and over rode the file) now has a very bad and odd link on it - hover over and you'll see.

 

Second, my index page loads the css, everything is good for my files - except the text and info boxes are gone! A clue might be, when leaving the page, it changes from cormarcompany.com/ to cormarcompany.com// with two slashes.

 

www.cormarcompany.com is the site - here is the config, from admin/includes, which I suspect has an added or missing slash given the index error, and the logo url error, but no idea for sure.

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://cormarcompany.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.cormarcompany.com/');
 define('HTTPS_CATALOG_SERVER', '/');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/content/p/e/t/myname/html/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/content/p/e/t/myname/html/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/content/p/e/t/myname/html/'); // absolute path required
 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/');

 

IF someone could give a looksie, that'd be awesome, thanks!! I was contemplating a reinstall, but I really had to do that if I'm missing a single character or two.

Link to comment
Share on other sites

Changed the code, still broke - all links on the main page, if you hover over, still go to odd places (I do NOT have an SSL at this time, so nothing should be under secure):

 

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://cormarcompany.com'); // eg, [url="http://localhost"]http://localhost[/url] - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.cormarcompany.com');
 define('HTTPS_CATALOG_SERVER', '');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/home/content/p/e/t/myname/html/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/home/content/p/e/t/myname/html/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/'); // absolute path required
 define('DIR_FS_CATALOG', '/home/content/p/e/t/myname/html/'); // absolute path required
 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/');

 

Same issues as before - index loads but just the stylesheet - the links go to those odd places with code in the link, etc. Thank you for attempting though!

Link to comment
Share on other sites

As expected, it should.

 

There are 2 configure.php files, one for admin and one for catalog or main site.

You posted your admin config file which needed minor modifications. It was corrected.

 

You did not post the configure file for yor catalog or main site. I can only assist you with what you post.

 

Nonetheless, your configure.php file for your catalog should look like this.

  define('HTTP_SERVER', 'http://cormarcompany.com'); 
 define('HTTPS_SERVER', '');
 define('ENABLE_SSL', false); 
 define('HTTP_COOKIE_DOMAIN', '.cormarcompany.com');
 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/content/p/e/t/myname/html/');

Link to comment
Share on other sites

Hi, Some can help???

 

I modify boths Configure.PHP. The sites works fine, but I try to Logon on the Admin PAnel and de login Name And/or password dont recognise. What I need to do???

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...