xtcsoft Posted August 10, 2006 Share Posted August 10, 2006 Hello. Maby something wrong into my site. Manufacturer link to homepage not working. The problem is about the link of new page to manufacturer. The address into new window is like http://www.mysite.com/catalog/www.manufacturer.com. Any help? Thanx!!!! Link to comment Share on other sites More sharing options...
taree Posted August 10, 2006 Share Posted August 10, 2006 Can you be a bit more specific please. Where is the link? Do you mean the links from the drop-down menu in the manufacturers info box? Or have you created a link yourself on one of your pages to the site of the manufacturer? Link to comment Share on other sites More sharing options...
xtcsoft Posted August 12, 2006 Author Share Posted August 12, 2006 This is an live exmple: http://operacd.gr/catalog/product_info.php?products_id=600 Please try to click the link "Brilliant Classics Homepage" The new window link is http://operacd.gr/catalog/www.joanrecords.com , but the good is the www.joanrecords.com Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted August 12, 2006 Share Posted August 12, 2006 This is an live exmple: http://operacd.gr/catalog/product_info.php?products_id=600 Please try to click the link "Brilliant Classics Homepage" The new window link is http://operacd.gr/catalog/www.joanrecords.com , but the good is the www.joanrecords.com have you changed the relevant code in the box? if not, the part in your cinfigure.php could be incorrect I tried to click on that manufacturer's homepage but got a page not found on redirect. :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Guest Posted August 13, 2006 Share Posted August 13, 2006 although this may not be the solution to this particular problem the catalog\redirect.php has a problem not using the language_id to filter the result from the query. $check_query = tep_db_query("select products_url from " . TABLE_PRODUCTS_DESCRIPTION . " where products_url = '" . tep_db_input($HTTP_GET_VARS['goto']) . "' limit 1"); Should been $check_query = tep_db_query("select products_url from " . TABLE_PRODUCTS_DESCRIPTION . " where language_id = '" . (int)$languages_id . "' and products_url = '" . tep_db_input($HTTP_GET_VARS['goto']) . "' limit 1"); Without the filtering it can cause problems not picking up the correct url from the products_description table Link to comment Share on other sites More sharing options...
Guest Posted August 13, 2006 Share Posted August 13, 2006 actually I take that back it's irrelevant. Seems the url for the manufacturer is missing the http:// part on the osc admin. Link to comment Share on other sites More sharing options...
♥14steve14 Posted August 13, 2006 Share Posted August 13, 2006 You must use the full url of the location that you wish to redirect to, as enigma1 says. Ensure that you have included the http:/ part. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
xtcsoft Posted August 14, 2006 Author Share Posted August 14, 2006 Thanx a lot!!! Http:/ part was the problrm. Thanx :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.