Jump to content

Benjjj6

Members
  • Content count

    472
  • Joined

  • Last visited

Everything posted by Benjjj6

  1. Hi, using the latest version I get this error: XML Parsing Error: XML or text declaration not at start of entity Location: https://www.mysite.com/rss.php?language=en Line Number 2, Column 1:<?xml version="1.0" encoding="UTF-8"?> ^ I have been through every file in catalog/ and every file in includes/ and includes/classes and includes/functions there is no whitespace after the ?> Did anyone have this problem and find a solution? or find a problematic file outside of those directories I checked?
  2. Benjjj6

    Ultimate Seo Urls 5 Pro

    Hi I am this contribution (latest version) with the Protx Direct contrib (http://addons.oscommerce.com/info/4026) I think SEO URLs 5 is causing problems with protx as it is filtering short words, despite only filtering words of length '1'. The problem only occurs when you reach the 3D secure popup window (I am currently using sagepay simulator) when you click 'authenticate' you get the error: The requested URL /protx_process.phpaction3Dreturnprotx_id87 was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. As you can see '?' are missing from the url. Is there a way to exclude pages from this contribution, like you can with FWR Security?
  3. Benjjj6

    SiteMonitor

    hi Jack After having problems with the script timing out after 30 seconds I contacted my host who informed me that: "we do not allow site monitor, as it causes high load on the server." So I was just wanted to make you aware of this, maybe in the future the script could be a little lighter as I am unable to benefit from it currently. Thanks
  4. Benjjj6

    Automatically send data feed to Froogle

    Ok, the problem is that the currency is set up in admin; when you're on my site you can easily change the currency to USD and it converts it correctly, so what would be the reason why this is not coming out in the feed file? Are those 4 settings that I posted set up correctly?
  5. Benjjj6

    Automatically send data feed to Froogle

    Sorry, I'm a bit confused as to what needs to be changed. Are you saying that I need to set the exchange rate in this file? Or that my settings are correct? and as long as there is an exchange rate set in admin > localization > currencies then it should work?
  6. Benjjj6

    Automatically send data feed to Froogle

    Here's how I've set the options, is this correct? The file does add ?currency=USD onto URL's but the prices for everything are 0.00 define('CONVERT_CURRENCY', '1'); define('CURRENCY_TYPE', 'USD'); define('OPTIONS_ENABLED_CURRENCY', 1); define('OPTIONS_DEFAULT_CURRENCY', 'GBP'); (My default currency in my shop is GBP and I want to create a file with USD and I checked that I have set up the currency in the admin section.
  7. Benjjj6

    Automatically send data feed to Froogle

    Thanks Jack, I've managed to do this with some success. All my prices in my shop are in GBP and I can't get the feeder to convert these to USD. What would be the correct combination of settings in the googlefeeder file. At the moment when I tell it to convert currency to USD the file contains 0.00 for all prices.
  8. Benjjj6

    Automatically send data feed to Froogle

    Nice up-to-date contribution, thankyou. How do I generate multiple feeds for different countries? For example, Google Product search can be targeted at UK or US shops, at the moment I can only seem generate one file which will be in only one currency (eg.GBP) if I want to also send a feed to target Google US which would need to be in USD how do I do this?
  9. Benjjj6

    Google XML Sitemap SEO

    Yes, permissions are 755 on the sitemap files, same as my image directory. I have enabled the diagnostic output in standard mode and after the FAILED messages this is still the information I get: Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => false [NUM_ROWS] => 0 ) [CATEOGRY] => Array ( [sTATUS] => false [NUM_ROWS] => 0 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /home/manicpan/public_html/sitemapindex.xml [status] => success [file_exists] => true ) ) )
  10. Benjjj6

    Google XML Sitemap SEO

    ERROR: Google Product Sitemap Generation FAILED! ERROR: Google Category Sitemap Generation FAILED! Generated Google Sitemap Index Successfully Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => false [NUM_ROWS] => 0 ) [CATEOGRY] => Array ( [sTATUS] => false [NUM_ROWS] => 0 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /home/manicpan/public_html/sitemapindex.xml [status] => success [file_exists] => true ) ) )
  11. Benjjj6

    Google XML Sitemap SEO

    Thanks, have corrected my configure.php Just confirming that I'm still getting the same error.
  12. Benjjj6

    Google XML Sitemap SEO

    My shop is currently just a test site, although everything else is working well at the moment. define('HTTP_SERVER', 'http://www.manicpanichairdye.com'); define('HTTPS_SERVER', 'https://www.manicpanichairdye.com'); define('ENABLE_SSL', true); define('HTTP_COOKIE_DOMAIN', '.manicpanichairdye.com'); define('HTTPS_COOKIE_DOMAIN', 'www.manicpanichairdye.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); 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_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/home/manicpan/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
  13. Benjjj6

    Google XML Sitemap SEO

    Hi Jack Have installed and run the contribution although get the following error: ERROR: Google Product Sitemap Generation FAILED! ERROR: Google Category Sitemap Generation FAILED! Generated Google Sitemap Index Successfully So I changed the settings to Alternate, but it still produced errors. I turned on diagnostic output and have pasted the contents below. Thanks, Opening /sitemapproducts.xml FS_CAT /home/manicpan/public_html/ Server http://www.manicpanichairdye.com Save Path / WS_CAT / Warning: fopen(/sitemapproducts.xml) [function.fopen]: failed to open stream: Permission denied in /home/manicpan/public_html/googlesitemap/sitemap.class_Alternate.php on line 354 ERROR: Google Product Sitemap Generation FAILED! Opening /sitemapcategories.xml FS_CAT /home/manicpan/public_html/ Server http://www.manicpanichairdye.com Save Path / WS_CAT / Warning: fopen(/sitemapcategories.xml) [function.fopen]: failed to open stream: Permission denied in /home/manicpan/public_html/googlesitemap/sitemap.class_Alternate.php on line 354 ERROR: Google Category Sitemap Generation FAILED! Opening /sitemapindex.xml FS_CAT /home/manicpan/public_html/ Server http://www.manicpanichairdye.com Save Path / WS_CAT / Warning: fopen(/sitemapindex.xml) [function.fopen]: failed to open stream: Permission denied in /home/manicpan/public_html/googlesitemap/sitemap.class_Alternate.php on line 354 ERROR: Google Sitemap Index Generation FAILED! Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 8 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 5 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /sitemapproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /sitemapcategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /sitemapindex.xml [status] => failure [file_exists] => false ) ) )
  14. Benjjj6

    SiteMonitor

    Jack, I upgraded from 2.2 to 2.3 today and am now having timeout problems when I try to create the reference file, I was not having this problem before the update. Here's the error message: Fatal error: Maximum execution time of 30 seconds exceeded in /home/myaccount/public_html/admin/includes/functions/sitemonitor_functions.php on line 463
  15. Benjjj6

    Fancier Invoice & Packingslip v1.0

    Thank you! It did work, however the top border on all the boxes is duplicated breaking the format of the box. When you tested your html_invoice did you find the all the boxes were perfect or was the top border slightly broken?
  16. Benjjj6

    Fancier Invoice & Packingslip v1.0

    Hi Could you post the contents of your catalog/includes/modules/email_invoice/templates/html_invoice.php so that I could compare it with mine? I think the problem must just be in that file.
  17. Benjjj6

    Fancier Invoice & Packingslip v1.0

    Thanks for your help anyway. In the code I posted I don't see anything about shipping, is that normal? What piece of code should display the shipping cost?
  18. Benjjj6

    Fancier Invoice & Packingslip v1.0

    Hi I'm running V2.2 RC2 and using contribution version 6.2 from 15 Sept 2009
  19. Benjjj6

    Fancier Invoice & Packingslip v1.0

    Hi Boriss Thanks for your help. You are correct. Here is the contents of that file: <?php /* $Id: html_invoice.php,v 6.1 2005/06/05 00:37:30 PopTheTop Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ class objectInfo { // class constructor function objectInfo($object_array) { reset($object_array); while (list($key, $value) = each($object_array)) { $this->$key = tep_db_prepare_input($value); } } } $order2 = new order($oID); ?> <html> <head> <title><?php echo STORE_NAME; ?>Order<?php echo INVOICE_TEXT_NUMBER_SIGN; ?><?php echo tep_trans_id($order2->info['date_purchased'], $oID); ?></title> <style type="text/css"> BODY { background: #ffffff; color: #000000; margin: 0px; } A { color: #000000; text-decoration: none; } A:hover { color: #AABBDD; text-decoration: underline; } A.headerNavigation { color: #FFFFFF; } A.headerNavigation:hover { color: #ffffff; } TD.main, P.main { font-family: Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.5; } TD.smallText, SPAN.smallText, P.smallText { font-family: Verdana, Arial, sans-serif; font-size: 10px; } .dataTableContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #000000; } .dataTableHeadingRow { background-color: #C9C9C9; } .dataTableHeadingContent { font-family: Verdana, Arial, sans-serif; font-size: 10px; color: #ffffff; font-weight: bold; } .dataTableRow { background-color: #F0F1F1; } </style> </head> <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" bgcolor="#FFFFFF"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td align="left"><?php echo '<img src="' . INVOICE_IMAGE . '" border="0" alt="' . INVOICE_IMAGE_ALT_TEXT . '" width="' . INVOICE_IMAGE_WIDTH . '" height="' . INVOICE_IMAGE_HEIGHT . '" hspace="10">'; ?></td> <TD ALIGN="right" VALIGN="top" NOWRAP><FONT FACE="Verdana" SIZE="2" COLOR="#006699"><strong> Order <?php echo INVOICE_TEXT_NUMBER_SIGN; ?><?php echo tep_trans_id($order2->info['date_purchased'], $oID); ?><BR> <?php echo $date; ?></strong></font><br> <br> <span class="pageHeadingSM"><FONT FACE="Verdana" SIZE="1" COLOR="#006699"><strong><?php echo nl2br(STORE_NAME_ADDRESS); ?></strong></font></span></TD> </tr> <tr> <td colspan="2"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <TD><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="10%"><hr size="2"></td> <td align="center" class="pageHeading" NOWRAP><em><b><?php echo INVOICE_TEXT_INVOICE; ?></b></em></td> <td width="100%"><hr size="2"></td> </tr> </table></td> </tr> <tr> <td colspan="4"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="100" height="5" alt=""></td> </tr> <tr> <td width="3"></td> <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"><table width="100%" border="0" cellspacing="0" cellpadding="0" class="main"> <tr> <td align="left" valign="top"><b><?php echo ENTRY_SHIP_TO; ?></b></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="5" alt=""></td> </tr> <tr> <td NOWRAP> <?php echo tep_address_format($order2->delivery['format_id'], $order2->delivery, 1, '', '<br> '); ?></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> <td width="45"></td> <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_02.gif" width="24" height="16" alt=""></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td align="left" valign="top"><b><?php echo ENTRY_SOLD_TO; ?></b></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="5" alt=""></td> </tr> <tr> <td NOWRAP> <?php echo tep_address_format($order2->customer['format_id'], $order2->customer, 1, '', '<br> '); ?></td> </tr> <tr> <td> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <td NOWRAP> <?php echo $order2->customer['telephone']; ?></td> </tr> <tr> <td NOWRAP> <?php echo $order2->customer['email_address']; ?></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/mainwhite_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/mainwhite_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> </tr> </table></TD> </tr> <tr> <TD COLSPAN="2"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="100" height="15" alt=""></td> </tr> <tr> <TD COLSPAN="2"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="9"></td> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="50%" NOWRAP> <b><?php echo INVOICE_TEXT_ORDER; ?> <?php echo INVOICE_TEXT_NUMBER_SIGN; ?><?php echo INVOICE_TEXT_COLON; ?></b> <?php echo tep_trans_id($order2->info['date_purchased'], $oID); ?></td> <?php if (tep_not_null($order2->info['cc_number'])) { $this->cc_card_number_less_middle_digits = substr($order2->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order2->info['cc_number']) - 8)) . substr($order2->info['cc_number'], -4); ?> <td width="50%" NOWRAP> <b><?php echo ENTRY_PAYMENT_METHOD; ?></b> <?php echo $order2->info['payment_method']; ?> (<?php echo $order2->info['cc_type']; ?>)<br> <img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="100%" height="6" alt=""><br> <b><?php echo ENTRY_PAYMENT_CC_NUMBER; ?></b> <?php echo $this->cc_card_number_less_middle_digits; ?></td> <?php } else { ?> <td width="50%" NOWRAP> <b><?php echo ENTRY_PAYMENT_METHOD; ?></b> <?php echo $order2->info['payment_method']; ?></td> <?php } ?> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <TD COLSPAN="2"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="15" alt=""></td> </tr> <tr> <TD COLSPAN="2"><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <table border="0" width="99%" cellspacing="0" cellpadding="2"> <tr bgcolor="#CCCCCC"> <td colspan="2" class="dataTableHeadingContent"> <font color="#000000"><?php echo TABLE_HEADING_PRODUCTS; ?></font></td> <td WIDTH="80" class="dataTableHeadingContent"><font color="#000000"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></font></span></td> <td WIDTH="80" align="right" class="dataTableHeadingContent"><font color="#000000"><?php echo TABLE_HEADING_UNIT_PRICE; ?></font></td> <TD WIDTH="80" ALIGN="right" CLASS="dataTableHeadingContent"><font color="#000000"><?php echo TABLE_HEADING_TOTAL; ?></font> </TD> </tr> <?php for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) { echo ' <tr class="dataTableRow">' . "\n" . ' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['name']; if (isset($order->products[$i]['attributes']) && (($k = sizeof($order->products[$i]['attributes'])) > 0)) { for ($j = 0; $j < $k; $j++) { echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value']; if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')'; echo '</i></small></nobr>'; } } echo ' </td>' . "\n" . ' <td WIDTH="80" class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n"; echo ' <td WIDTH="80" class="dataTableContent" align="right" valign="top">' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</td>' . "\n" . ' <td WIDTH="80" class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ' </b></td>' . "\n"; echo ' </tr>' . "\n"; } ?> <tr> <td align="right" colspan="5"> <table border="0" cellspacing="0" cellpadding="2"> <?php for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) { echo ' <tr>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['title'] . '</td>' . "\n" . ' <td align="right" class="smallText">' . $order->totals[$i]['text'] . '</td>' . "\n" . ' </tr>' . "\n"; } ?> </table></td> </tr> </table> </tr> </table> <?php $order2s_status_history_query = tep_db_query("select * from " . TABLE_ORDERS_STATUS_HISTORY . " where orders_id = '" . tep_db_input($oID) . "' order by date_added"); if (tep_db_num_rows($order2s_status_history_query)) { $has_comments = false; ?> <br> <br> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="9"></td> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="11"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_04.gif" width="11" height="21" alt=""></td> <td align="center" bgcolor="#F2F2F2"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="95%" NOWRAP> <b><?php echo TABLE_HEADING_COMMENTS; ?></b><br> <br></td> </tr> <?php while ($order2s_comments = tep_db_fetch_array($order2s_status_history_query)) { if (tep_not_null($order2s_comments['comments'])) { $has_comments = true; // Not Null = Has Comments if (tep_not_null($order2s_comments['comments'])) { $sInfo = new objectInfo($order2s_comments); ?> <tr> <td align="center" width="95%"><table width="95%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="95%" class="smallText"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="150" align="left" valign="top" class="smallText"><strong><u><?php echo TABLE_HEADING_DATE_ADDED; ?></u></strong></td> <td align="left" valign="top" class="smallText"><strong><u><?php echo TABLE_HEADING_COMMENT_LEFT; ?></u></strong></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td align="center" width="95%"><table width="95%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="95%" class="smallText"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="150" align="left" valign="top" class="smallText"><?php echo tep_date_short($sInfo->date_added); ?></td> <td align="left" valign="top" class="smallText"><?php echo nl2br(tep_db_output($order2s_comments['comments'])); ?><br> <br></td> </tr> </table></td> </tr> </table></td> </tr> <?php } } } if ($has_comments == false) { ?> <tr> <td align="center" width="95%"><table width="95%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="95%" class="smallText"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="main"> <tr> <td width="100%" align="left" valign="top" class="smallText"><?php echo INVOICE_TEXT_NO_COMMENT; ?></td> </tr> </table></td> </tr> </table></td> </tr> <?php } ?> <tr> <td><img src="<?php echo $ei_image_dir; ?>pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif"><img src="<?php echo $ei_image_dir; ?>borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="<?php echo $ei_image_dir; ?>borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table></td> </tr> </table> <?php } ?> <br> <CENTER> <span class="smallText"><FONT FACE="Verdana" COLOR="#006699"><strong><?php echo INVOICE_TEXT_THANK_YOU; ?><BR> <?php echo STORE_NAME; ?><BR> <?php echo STORE_URL_ADDRESS; ?></strong></font></span> </CENTER> </body> </html>
  20. Benjjj6

    Fancier Invoice & Packingslip v1.0

    Thanks for your reply. My configure settings are set the same as what you posted. I deliberately didn't install the print invoice function on the customer side as I didn't need it, so I doubt the filename edit will make any difference. However I did add it but no change. Is the html_invoice.php file in any way tied to the print invoice function in the customers account? Could it be that because I haven't added the 'print my invoice button' that the shipping is not showing up in the email. I guess it is very unlikely, but does anyone know if the two are linked in any way?
  21. Benjjj6

    Fancier Invoice & Packingslip v1.0

    Hi Has anyone figured out how to get the shipping cost and order total to show in the emailed html_invoice? It shows up on the admin invoice but not the invoice emailed to the customer.
  22. Benjjj6

    Sage Pay Server

    I've found a module seems to be a lot better supported here http://addons.oscommerce.com/info/4026 Although it implements SagePay 'direct' rather than 'server'. I'm not sure what implications this has for PCI compliance, but enough people seem to be using it.
  23. Benjjj6

    Protx Direct v2.22

    Hi Just installed the latest version 5.1 with and have a simulator account at SagePay. It seems to process transactions fine, but when I use 3D secure after clicking 'Authenticated' I get a Firefox can't find the file at https://test.sagepay.com/Simulator/httpswww.mywebsite.comprotx_process.phpaction3Dreturnprotx_id21. As you can see my URL is missing formatting, I have FWR Media's Ultimate SEO URL's 5 installed and can only think that this may be causing a problem? Does anyone have any ideas?
  24. Benjjj6

    Sage Pay Server

    I'm having the same problem. There seems to be very little support for this module. Surely you would have thought that SagePay would want us to use their services?
  25. Are you saying that when you select different countries the postcode field will visibly be moved on the page? Or just the address formatting will change on invoices etc? Looks like I have it working but only when in admin -> Locations/Taxes -> Countries I choose address format '2' for the country. Is this how it is meant to work?
×