Kjolebutikken Posted September 30, 2006 Posted September 30, 2006 Hi, I have done something that have changed it but I have no clue what it could be. Its supposed to go to index.php page and in includes/filenames.php I have: define('FILENAME_DEFAULT', 'index.php'); But still it links to a page called oscdemo1.html I have no such page, but my shop is not in the root but in a directory called oscdemo1. Can anyone help me to change the url for this catalog link? Thank you so much :-) Kjolebutikken Best regards Kjolebutikken
Kjolebutikken Posted September 30, 2006 Author Posted September 30, 2006 Hi, I have done something that have changed it but I have no clue what it could be. Its supposed to go to index.php page and in includes/filenames.php I have: define('FILENAME_DEFAULT', 'index.php'); But still it links to a page called oscdemo1.html I have no such page, but my shop is not in the root but in a directory called oscdemo1. Can anyone help me to change the url for this catalog link? Thank you so much :-) Kjolebutikken This is really bad. Just discovered that no links to FILENAME_DEFAULT is working. This means that all my back buttons on every page is not working. They all has url to www.kjolebutikken.com /oscdemo1.html, when it should be www.kjolebutikken.com/oscdemo1/index.php, since my shop is not in the root . All other links in the breadcrumb is correct, with the path /oscdemo1/filename...... I have a index.htm file in the root of my site, and I have been working on both this file and the oscdemo1/index.php file, but I cannot find anything wrong. Please help ! Thanks Kjolebutikken Best regards Kjolebutikken
stevel Posted October 1, 2006 Posted October 1, 2006 Look at includes/filenames.php - what is the definition of FILENAME_DEFAULT? Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Kjolebutikken Posted October 1, 2006 Author Posted October 1, 2006 Look at includes/filenames.php - what is the definition of FILENAME_DEFAULT? In includes/filenames.php: define('FILENAME_DEFAULT', 'index.php'); in includes/application_top.php: $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); In includes/configure.php: define('DIR_WS_HTTP_CATALOG', '/oscdemo1/'); define('DIR_WS_HTTPS_CATALOG', '/oscdemo1/'); Is there somtething wrong with the FILENAME_DEFAUL in another of the files ? Thanks Best regards Kjolebutikken
stevel Posted October 1, 2006 Posted October 1, 2006 It looks as if you have some sort of SEO URL contribution. It will change the results of a tep_href_link call and it seems to getting it wrong. You're not using the one I am so I can't help more. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Kjolebutikken Posted October 1, 2006 Author Posted October 1, 2006 It looks as if you have some sort of SEO URL contribution. It will change the results of a tep_href_link call and it seems to getting it wrong. You're not using the one I am so I can't help more. ok, thanks, maybe I should deinstall it ? I use "search engine friendly url v.1.10". And then try to install another? Can you reccommend one? Thanks:-) Kjolebutikken Best regards Kjolebutikken
tapuahk Posted October 1, 2006 Posted October 1, 2006 ok, thanks, maybe I should deinstall it ? I use "search engine friendly url v.1.10". And then try to install another? Can you reccommend one? Thanks:-) Kjolebutikken You may be able to continue to use "search engine friendly url v.1.10" you should go to the following http://www.oscommerce.com/forums/index.php?showtopic=129041 And present your problem so that contrib might be updated to correct your problem or they can help you with your re-install of it, which ever is needed. Tapuahk
Kjolebutikken Posted October 1, 2006 Author Posted October 1, 2006 You may be able to continue to use "search engine friendly url v.1.10" you should go to the following http://www.oscommerce.com/forums/index.php?showtopic=129041 And present your problem so that contrib might be updated to correct your problem or they can help you with your re-install of it, which ever is needed. Tapuahk OK, thanks. I'm not sure it's the SEF that causes the problem. I have had it installed for weeks and the link have worked fine. I think it is something that happened today with working with the index files, but I can't figure out what. Thanks for your advice :-) Best regards Kjolebutikken
nvedia Posted October 1, 2006 Posted October 1, 2006 What happens when you directly call the index.php filie from the browser?
Kjolebutikken Posted October 1, 2006 Author Posted October 1, 2006 What happens when you directly call the index.php filie from the browser? I get the white http 4040 error page. Best regards Kjolebutikken
stevel Posted October 1, 2006 Posted October 1, 2006 I could open the index.php page without problems. Steve Contributions: Country-State Selector Login Page a la Amazon Protection of Configuration Updated spiders.txt Embed Links with SID in Description
Kjolebutikken Posted October 1, 2006 Author Posted October 1, 2006 I could open the index.php page without problems. Hi, tried again, and yes, it opens fine now in the browser, when you enter the index.php page from there directly. Best regards Kjolebutikken
Recommended Posts
Archived
This topic is now archived and is closed to further replies.