joomanji Posted August 18, 2005 Share Posted August 18, 2005 Hi, i have install the osCommerce and everything seems fine. But i noticed one thing that give some headache. When i update my customer's process, the automated generate email will end up with broken links. It will miss the domain part of the links. e.g Detailed Invoice: /shop/account_history_info.php?order_id=6. This is a broken link and my customer can direct link it to the page. Is there anybody else facing the same problem? Where to tweak so that i can rectify this problem? Your help is highly appreciated! Link to comment Share on other sites More sharing options...
bluevogue Posted August 18, 2005 Share Posted August 18, 2005 I have got the same problem and it looks like this. ********************************* store name ------------------------------------------------------ Order Number: 3 Detailed Invoice: /catalog/account_history_info.php?order_id=3 Date Ordered: Tuesday 12 July, 2005 The comments for your order are.... ********************************* The info comes from /admin/orders.php and the tep_catalog_href_link In the first order email the link is working but not in the order update emails. I don't know if it has to do with the info in headers.php as well? Mine looks like this: | <?php echo '<a href="' . tep_catalog_href_link() . '" class="headerLink">';?>Catalog</a> | <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a>';?> | <?php echo '<a href="' . tep_href_link(FILENAME_LOGOFF, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_LOGOFF . '</a>';?> Where tep_catalog_href_link seems empty.. Not sure what to edit though.. Thanks Link to comment Share on other sites More sharing options...
joomanji Posted August 18, 2005 Author Share Posted August 18, 2005 Do you have SSL for your website? For my case, i don't have SSL setup, might it be the problem? But not supposingly to cause problem just b because of the SSL thingy. Link to comment Share on other sites More sharing options...
bluevogue Posted August 18, 2005 Share Posted August 18, 2005 No, not using SSL Link to comment Share on other sites More sharing options...
bluevogue Posted August 18, 2005 Share Posted August 18, 2005 bump Link to comment Share on other sites More sharing options...
bluevogue Posted August 19, 2005 Share Posted August 19, 2005 After 10 hours of searching on the forum I managed to find the solution. The search function is not the best here... Anyway, this is what I did: In /admin/includes/configure.php make sure you have the following define('HTTP_CATALOG_SERVER', 'http://www.mydoamin.com'); Mine was empty and looked like this: define('HTTP_CATALOG_SERVER', ''); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.