Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Broken Links on Main Page


ny10021

Recommended Posts

I just installed osCommerce and wow! What a great site. I am looking forward to building my site up and contributing to the mix as well.

 

The install went very smooth - but I just noticed that the categories links and the ones in the manufacturers drop down box are broken.

 

see at -->> http://www.ixiim.com

 

However, all the other links work fine. Also, if I click on the specials box (for the mouse), I can easily navigate trhough to the Categories page.

 

Any ideas where I might look to find the problem?

 

Thanks,

Chris

 

:blink:

Link to comment
Share on other sites

I have look your site. I found this is a oddity problem. For only top level index have catalog problem. When you go into the second level page. the catalog link all right there. But the manufactory like is wrong in all level. :(

 

So I guess there are two point may be gen that problem :

 

1. In your configure.php. Check the define "HTTP_SERVER" should be define ('HTTP_SERVER', 'http://www.ixiim.com'), the value not "http://www.ixiim.com/catalog".

 

2. In your filenames.php. The define "FILENAME_DEFAULT" should be define('FILENAME_DEFAULT', 'index.php'); the value not 'catalog/index.php'

 

Hope can help you. :)

Fan of OSC system.................

Comming From China.............

Link to comment
Share on other sites

I was just wondering are you using another software also, like estore builder or some other program, as your website is small Centered, look at some other oscommerce websites they fill the whole page.

 

I would just install the Oscommerce again but if using another program I would not bother using it, I mean the other program.

Link to comment
Share on other sites

TO SunYe:

 

Hmmm... Thanks for the suggestion. I checked both the configure.php and the filenames.php files.

 

Unfortunately, both have the correct values. In addition, I did a text search on both files for the word 'catalog' to make sure it wasn't hiding somewhere else...it's not.

 

Any other suggestions? Could the catalog path be hidden somewhere else?

 

:unsure:

 

 

TO Mocc:

 

I used the center shop contribution - very small addition, but very useful. You can get it here:

 

http://www.oscommerce.com/community/contributions,266

Link to comment
Share on other sites

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

define('HTTP_CATALOG_SERVER', 'http://www.ixiim.com');

define('HTTPS_CATALOG_SERVER', 'https://www.ixiim.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/'); // where the pages are located on the server

define('DIR_WS_ADMIN', '/admin/'); // absolute path required

define('DIR_FS_ADMIN', '/var/www/html/admin/'); // absolute pate required

define('DIR_WS_CATALOG', '/'); // absolute path required

define('DIR_FS_CATALOG', '/var/www/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/');

 

// define our database connection

define('DB_SERVER', 'ixiim.com'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '****');

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

define('DB_DATABASE', '****');

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

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

?>

Link to comment
Share on other sites

have you tried deleting the cache in the admin?

 

I used to have some issuse with the categories box and it would allways be fixed when I emptied the cache.

 

Other than that,,, definatley a strange problem.

Link to comment
Share on other sites

You got it! I just cleared the cache and the problem is solved! What a relief...I was sure I had inadvertently messed something up. AND -- I was about to reinstall.

 

Thanks so much!! Now I can go to bed without tossing and turning - it's 2:40am here!

 

Good night...

 

Chris :D

Link to comment
Share on other sites

  • 3 months later...

Hi,

 

I have a problem similar to this. I have been using osCommerce for some

time (It's great!), and there is a problem I can't seem to get past. I can't seem

to edit the index.php or default.php pages in any way and keep the Categories

links intact. If I do manage to keep the links working at all, the Categories links won't update when Categories are added or deleted in the admin section.

The rest of the info box links work fine, it?s only the Categories links that are the problem.

I have tried many different ways of downloading the files; ( right click, view souce, save as or downloading thru the admin, file manager or downloading thru ftp ) and many different ways of editing the files; ( frontpage, editing the html code in notepad, editing the html code in the admin section, file manager.)

I have also checked my configure.php and filename.php files like the suggestion above and they are correct. I have also emptied the cache in the admin tools cache control, this hasn't helped. I have a original download of the osCommerce store and if I take those index.php and default.php file and upload them to the site and then make edites to those the Categories will be updated ( there are less Categories in the admin section than what are showing up in my infobox. ) But that doesn?t really solve the problem, its just a work around.

First of all I should have asked; What is the best way to edit the index.php and default.php files?

 

Thanks for any help you can give me.

Lisa

 

PS. I also tried turning on and off the search engine friendly option according to other similar topics on this forum, but that didn?t help.

 

www.englishscountrycorner.com

choose products

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...