Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP! Going to Default.php instead index.php


fan4chevy

Recommended Posts

Posted

Please Help,

 

For some reason when I click on a categorie the link has default.php in it causing an error page. However, if I take out the default.php in the link it goes to the right area without a problem.

 

Example:

http://www.domain.com/catalog/default.php/cPath/21_22 (default.php causing problem).

 

http://www.domain.com/catalog/index.php/cPath/21_22

 

What might be the problem here and how do I get it to direct to index.php rather than default.php in the url?

 

Thanks so much for you help in getting my catalog up and running.

 

Charles

Posted
Please Help,

 

For some reason when I click on a categorie the link has default.php in it causing an error page. However, if I take out the default.php in the link it goes to the right area without a problem.

 

Example:

http://www.domain.com/catalog/default.php/cPath/21_22 (default.php causing problem).

 

http://www.domain.com/catalog/index.php/cPath/21_22

 

What might be the problem here and how do I get it to direct to index.php rather than default.php in the url?

 

Thanks so much for you help in getting my catalog up and running.

 

Charles

In your includes/filenames.php file make sure it says

 

define('FILENAME_DEFAULT', 'index.php');

 

and not this

 

define('FILENAME_DEFAULT', 'default.php');

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

If you're getting default.php you've got an old version of osC or some mixture of versions.

 

If this is a new install (sounds like it is) start fresh with a new download from http://www.oscommerce.com/solutions/downloads and reinstall.

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Archived

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

×
×
  • Create New...