narcolepticdriver Posted September 4, 2007 Share Posted September 4, 2007 RESOLVED This applies when using Fancier Packing Slip and Invoice v6.2 and osCommerce PayPal IPN Module v1.3 For 2.2MS2 contributions together. Regarding the error message in emailed invoices at the beginning of the SOLD TO section: Warning: htmlspecialchars() expects parameter 1 to be string, array given in [your path]/catalog/includes/functions/general.php on line 46 D11on provided the answer in an earlier post and I read right past it the first time. "..correction to catalog\includes\functions\general.php that fixes a general bug" find in tep_address_format: elseif (isset($address['country']) && tep_not_null($address['country'])) { $country = tep_output_string_protected($address['country']); and replace with: elseif (isset($address['country']) && tep_not_null($address['country'])) { $country = tep_output_string_protected($address['country']['title']); Thanks to d11on for this fix (reference Posts # 751, 752, 753, 754) I had this problem, consulted the fix, and the problem is basically the same. On the checkout_confirmation.php page of my site this is what displays under Billing Address: Billing Address (Edit) Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/content/s/t/r/strollerroller/html/includes/functions/general.php on line 46 ----------------- If I've changed the code provided by D11on, why would this problem still exist? Quote Link to comment Share on other sites More sharing options...
Sou do Sul Posted September 12, 2007 Share Posted September 12, 2007 (edited) Hi All This is an excellent contribution, i have been using it for a while now on my other site and all's OK. I now have a small problem. I have copied my site over to a new domain and configured to localhost ( http://127.0.0.1), but now get the following error at checkout_success. Warning: require(/home/YOUR_DOMAIN/public_html/catalog/admin/includes/languages/english/invoice.php) [function.require]: failed to open stream: No such file or directory in C:\program files\VertrigoServ\www\includes\modules\email_invoice\email_invoice.php on line 30 Fatal error: require() [function.require]: Failed opening required '/home/YOUR_DOMAIN/public_html/catalog/admin/includes/languages/english/invoice.php' (include_path='.;C:\php5\pear') in C:\program files\VertrigoServ\www\includes\modules\email_invoice\email_invoice.php on line 30 I believe that the problem is in the file configure.php, see down: define('DIR_FS_ADMIN', 'http://localhost/admin/'); // absolute path required (that configuration maintain the error) Please, as I should write the line of programming for a servant in localhost??? define('DIR_FS_ADMIN', 'http://127.0.0.1/admin/'); // absolute path required (that configuration maintain the error) define('DIR_FS_ADMIN', '127.0.0.1'); // absolute path required (that configuration maintain the error) Any help appreciated. Sou do Sul / Brazil :'( :'( Edited September 12, 2007 by Sou do Sul Quote Link to comment Share on other sites More sharing options...
Guest Posted September 12, 2007 Share Posted September 12, 2007 Firstly, let me say that I am not willing to stay up for days and read all 1200 threads in this post to find my answer. I downloaded this contrib not too long ago, only to be hit with a warning that: This is not compatible with any PayPal IPN contribution. So, there it went. IS this now compatible with PayPal IPN? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 12, 2007 Share Posted September 12, 2007 (edited) Hi, Please can anybody just take 5 minutes to answer my post, I have tried literally everything and I still cannot get the email to display my logo, i always get the box with the red cross. // Image Info define('INVOICE_IMAGE', '/images/topbar.jpg'); //Change this to match your logo image and foler it is in define('INVOICE_IMAGE_WIDTH', '180'); // Change this to your logo's width define('INVOICE_IMAGE_HEIGHT', '85'); // Change this to your logo's height define('INVOICE_IMAGE_ALT_TEXT', STORE_NAME); // Change this to your logo's ALT text or leave blank I've copied topbar.jpg into /images and /admin/images it displays in the admin screen but not when a customer receives an email here is the html source output of the email I really don't understand why my posts are being persistantly ignored, I've read this whole topic and nobody has posted a solution so please, just take 5 minutes of your time to help me. > Invoice #07-76</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"><img src="/images/topbar.jpg" border="0" alt="Click HERE toDisplay or Hidethe Order Comments box below for printing" width="180" height="85" hspace="10"></td> <TD ALIGN="right" VALIGN="top" NOWRAP><FONT FACE="Verdana" SIZE="2" COLOR="#006699"><strong>Invoice # 07-76<BR>Sep 05, 2007</strong></font><br><br><span class="pageHeadingSM"><FONT FACE="Verdana" SIZE="1" COLOR="#006699"><strong>Tel: 01582<br /><br /> Ltd<br />arm<br />Pipe<br />ate<br />Herire<br />F</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>Invoice</b></em></td> <td width="100%"><hr size="2"></td> </tr> </table> </td> </tr> <tr> <td colspan="4"><img src="http://www.mywebsite.co.uk/images/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="http://www.mywebsite.co.uk/images/borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="http://www.mywebsite.co.uk/images/borders/maingrey_02.gif" > ><img src="http://www.mywebsite.co.uk/images/borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="http://www.mywebsite.co.uk/images/borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="http://www.mywebsite.co.uk/images/borders/maingrey_04.gif" > ><img src="http://www.mywebsite.co.uk/images/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>SOLD TO:</b></td> </tr> <tr> <td> <img src="http://www.mywebsite.co.uk/images/pixel_trans.gif" width="1" height="5" alt=""></td> </tr> <tr> <td NOWRAP> S.A Ewers <br> 48 Rokeby Street<br> Rugby, CV21 3RH<br> WARWICKSHIRE, United Kingdom</td> </tr> <tr> <td> <img src="http://www.mywebsite.co.uk/images/pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <td NOWRAP> 07742531948</td> </tr> <tr> <td NOWRAP> Sally@quantum-e.co.uk</td> </tr> <tr> <td><img src="http://www.mywebsite.co.uk/images/pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table> </td> <td background="http://www.mywebsite.co.uk/images/borders/maingrey_06.gif" > ><img src="http://www.mywebsite.co.uk/images/borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="http://www.mywebsite.co.uk/images/borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="http://www.mywebsite.co.uk/images/borders/maingrey_08.gif" > ><img src="http://www.mywebsite.co.uk/images/borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="http://www.mywebsite.co.uk/images/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="http://www.mywebsite.co.uk/images/borders/mainwhite_01.gif" width="11" height="16" alt=""></td> <td background="http://www.mywebsite.co.uk/images/borders/mainwhite_02.gif "><img src="http://www.mywebsite.co.uk/images/borders/mainwhite_02.gif" width="24" height="16" alt=""></td> <td width="19"><img src="http://www.mywebsite.co.uk/images/borders/mainwhite_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="http://www.mywebsite.co.uk/images/borders/mainwhite_04.gif "><img src="http://www.mywebsite.co.uk/images/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>SHIP TO:</b></td> </tr> <tr> <td> <img src="http://www.mywebsite.co.uk/images/pixel_trans.gif" width="1" height="5" alt=""></td> </tr> <tr> <td NOWRAP> S.A Ewers <br> 48 Rokeby Street<br> Rugby, CV21 3RH<br> WARWICKSHIRE, United Kingdom</td> </tr> <tr> <td> <img src="http://www.mywebsite.co.uk/images/pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td><img src="http://www.mywebsite.co.uk/images/pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table> </td> <td background="http://www.mywebsite.co.uk/images/borders/mainwhite_06.gif "><img src="http://www.mywebsite.co.uk/images/borders/mainwhite_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="http://www.mywebsite.co.uk/images/borders/mainwhite_07.gif" width="11" height="18" alt=""></td> <td background="http://www.mywebsite.co.uk/images/borders/mainwhite_08.gif "><img src="http://www.mywebsite.co.uk/images/borders/mainwhite_08.gif" width="24" height="18" alt=""></td> <td><img src="http://www.mywebsite.co.uk/images/borders/mainwhite_09.gif" width="19" height="18" alt=""></td> </tr> </table> </td> </tr> </table> </TD> </tr> <tr> <TD COLSPAN="2"><img src="http://www.mywebsite.co.uk/images/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="http://www.mywebsite.co.uk/images/borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="http://www.mywebsite.co.uk/images/borders/maingrey_02.gif" > ><img src="http://www.mywebsite.co.uk/images/borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="http://www.mywebsite.co.uk/images/borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="http://www.mywebsite.co.uk/images/borders/maingrey_04.gif" > ><img src="http://www.mywebsite.co.uk/images/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>Order #:</b> 76</td> <td width="50%" NOWRAP> <b>Payment:</b> Credit Card - Protx Form</td> </tr> <tr> <td><img src="http://www.mywebsite.co.uk/images/pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table> </td> <td background="http://www.mywebsite.co.uk/images/borders/maingrey_06.gif" > ><img src="http://www.mywebsite.co.uk/images/borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="http://www.mywebsite.co.uk/images/borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="http://www.mywebsite.co.uk/images/borders/maingrey_08.gif" > ><img src="http://www.mywebsite.co.uk/images/borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="http://www.mywebsite.co.uk/images/borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <TD COLSPAN="2"><img src="http://www.mywebsite.co.uk/images/pixel_trans.gif" width="1" height="15" alt=""></td> </tr> <tr> <TD COLSPAN="2"><img src="http://www.mywebsite.co.uk/images/pixel_trans.gif" width="1" height="10" alt=""></td> </tr> <tr> <TD COLSPAN="2"> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent" colspan="2">Products</td> <td class="dataTableHeadingContent">SKU #</td> <td class="dataTableHeadingContent" align="right">Tax</td> <td class="dataTableHeadingContent" align="right">Price (ex)</td> <td class="dataTableHeadingContent" align="right">Price (inc)</td> <td class="dataTableHeadingContent" align="right">Total (ex)</td> <td class="dataTableHeadingContent" align="right">Total (inc)</td> </tr> <tr class="dataTableRow"> <td class="dataTableContent" valign="top" align="right">1 x</td> <td class="dataTableContent" valign="top">Lavender<br>(Lavandula officinalis)<br><nobr><small> <i> - sizes: 10ml (£4.25)</i></small></nobr> </td> <td class="dataTableContent" valign="top">36</td> <td class="dataTableContent" align="right" valign="top">0%</td> <td class="dataTableContent" align="right" valign="top"><b>£4.25</b></td> <td class="dataTableContent" align="right" valign="top"><b>£4.25</b></td> <td class="dataTableContent" align="right" valign="top"><b>£4.25</b></td> <td class="dataTableContent" align="right" valign="top"><b>£4.25</b></td> </tr> <tr class="dataTableRow"> <td class="dataTableContent" valign="top" align="right">1 x</td> <td class="dataTableContent" valign="top">Organic Bergamot<br>(Citrus aurantium)<br><nobr><small> <i> - sizes: 10ml</i></small></nobr> </td> <td class="dataTableContent" valign="top">1105</td> <td class="dataTableContent" align="right" valign="top">0%</td> <td class="dataTableContent" align="right" valign="top"><b>£6.99</b></td> <td class="dataTableContent" align="right" valign="top"><b>£6.99</b></td> <td class="dataTableContent" align="right" valign="top"><b>£6.99</b></td> <td class="dataTableContent" align="right" valign="top"><b>£6.99</b></td> </tr> <tr> <td align="right" colspan="8"> <table border="0" cellspacing="0" cellpadding="2"> <tr> <td align="right" class="smallText">Sub-Total:</td> <td align="right" class="smallText">£11.24</td> </tr> <tr> <td align="right" class="smallText"> (Delivery Charge):</td> <td align="right" class="smallText">£2.50</td> </tr> <tr> <td align="right" class="smallText">Total:</td> <td align="right" class="smallText"><b>£13.74</b></td> </tr> </table> </td> </tr> </table></td> </tr></table> <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="http://www.mywebsite.co.uk/images/borders/maingrey_01.gif" width="11" height="16" alt=""></td> <td background="http://www.mywebsite.co.uk/catalog/images/borders/maingrey _02.gif"><img src="http://www.mywebsite.co.uk/images/borders/maingrey_02.gif" width="24" height="16" alt="" ></td> <td width="19"><img src="http://www.mywebsite.co.uk/images/borders/maingrey_03.gif" width="19" height="16" alt=""></td> </tr> <tr> <td background="http://www.mywebsite.co.uk/catalog/images/borders/maingrey _04.gif"><img src="http://www.mywebsite.co.uk/images/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>ORDER COMMENTS:</b><br><br></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="100%" align="left" valign="top" class="smallText">No comments have been left for this order</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td><img src="http://www.mywebsite.co.uk/catalog/images/pixel_trans.gif" width="1" height="7" alt=""></td> </tr> </table> </td> <td background="http://www.mywebsite.co.uk/catalog/images/borders/maingrey _06.gif"><img src="http://www.mywebsite.co.uk/images/borders/maingrey_06.gif" width="19" height="21" alt=""></td> </tr> <tr> <td><img src="http://www.mywebsite.co.uk/images/borders/maingrey_07.gif" width="11" height="18" alt=""></td> <td background="http://www.mywebsite.co.uk/catalog/images/borders/maingrey _08.gif"><img src="http://www.mywebsite.co.uk/images/borders/maingrey_08.gif" width="24" height="18" alt=""></td> <td><img src="http://www.mywebsite.co.uk/images/borders/maingrey_09.gif" width="19" height="18" alt=""></td> </tr> </table> </td> </tr> </table><br><CENTER><span class="smallText"><FONT FACE="Verdana" COLOR="#006699"><strong>Thank you for shopping at<BR>Natural By Nature Oils Ltd<BR>http://www.mywebsite.co.uk</strong></font></span></CENTER></bod y></html> Edited September 12, 2007 by leerees Quote Link to comment Share on other sites More sharing options...
Guest Posted September 12, 2007 Share Posted September 12, 2007 Firstly, let me say that I am not willing to stay up for days and read all 1200 threads in this post to find my answer. I downloaded this contrib not too long ago, only to be hit with a warning that: This is not compatible with any PayPal IPN contribution. So, there it went. IS this now compatible with PayPal IPN? No. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 12, 2007 Share Posted September 12, 2007 Hi, Please can anybody just take 5 minutes to answer my post, I have tried literally everything and I still cannot get the email to display my logo, i always get the box with the red cross. You probably do not have your includes/local/configure.php set properly. Quote Link to comment Share on other sites More sharing options...
Sou do Sul Posted September 12, 2007 Share Posted September 12, 2007 Hi All This is an excellent contribution, i have been using it for a while now on my other site and all's OK. I now have a small problem. I have copied my site over to a new domain and configured to localhost ( http://127.0.0.1), but now get the following error at checkout_success. Warning: require(/home/YOUR_DOMAIN/public_html/catalog/admin/includes/languages/english/invoice.php) [function.require]: failed to open stream: No such file or directory in C:\program files\VertrigoServ\www\includes\modules\email_invoice\email_invoice.php on line 30 Fatal error: require() [function.require]: Failed opening required '/home/YOUR_DOMAIN/public_html/catalog/admin/includes/languages/english/invoice.php' (include_path='.;C:\php5\pear') in C:\program files\VertrigoServ\www\includes\modules\email_invoice\email_invoice.php on line 30 I believe that the problem is in the file configure.php, see down: define('DIR_FS_ADMIN', 'http://localhost/admin/'); // absolute path required (that configuration maintain the error) Please, as I should write the line of programming for a servant in localhost??? define('DIR_FS_ADMIN', 'http://127.0.0.1/admin/'); // absolute path required (that configuration maintain the error) define('DIR_FS_ADMIN', '127.0.0.1'); // absolute path required (that configuration maintain the error) Any help appreciated. Sou do Sul / Brazil :'( :'( HELPPP my friends Quote Link to comment Share on other sites More sharing options...
Guest Posted September 12, 2007 Share Posted September 12, 2007 HELPPP my friends See post above yours. Quote Link to comment Share on other sites More sharing options...
Guest Posted September 12, 2007 Share Posted September 12, 2007 You probably do not have your includes/local/configure.php set properly. i can't see whats wrong with it though, it looks fine, any ideas? <?php /* $Id: configure.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 */ // Folder Definitions define('DIR_FS_ADMIN', '/usr/local/home/httpd/vhtdocs/mywebsite.co.uk/admin/'); // absolute path required define('EMAIL_INVOICE_DIR', 'email_invoice/'); define('INVOICE_TEMPLATE_DIR', 'templates/'); // Email Invoice File Definitions define('FILENAME_EMAIL_INVOICE', 'email_invoice.php'); define('FILENAME_EMAIL_CACHE_FILE', 'temp_cache.php'); define('FILENAME_ORDERS_INVOICE', 'invoice.php'); ?> Quote Link to comment Share on other sites More sharing options...
Guest Posted September 13, 2007 Share Posted September 13, 2007 I have a few issues with this contrib. 1. The print my invoice in account histopy is using mystyle sheet which has a dark grey background. i would like this to be white. How can I change it? 2. The print my invoce button show the following text IMAGE_BUTTON_PRINT_ORDER. How can I correct this? 3. In admin when I view invoce I get a red x and some text about clicking to hid comments. What should be here and how can I fix this? 4. How can I change the logo on the packing slip. I would appreciate it if some can point me in the right direction! I will send you a coupn code to my site once I get that working!!!! :thumbsup: Quote Link to comment Share on other sites More sharing options...
Guest Posted September 13, 2007 Share Posted September 13, 2007 i can't see whats wrong with it though, it looks fine, any ideas? <?php /* $Id: configure.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 */ // Folder Definitions define('DIR_FS_ADMIN', '/usr/local/home/httpd/vhtdocs/mywebsite.co.uk/admin/'); // absolute path required define('EMAIL_INVOICE_DIR', 'email_invoice/'); define('INVOICE_TEMPLATE_DIR', 'templates/'); // Email Invoice File Definitions define('FILENAME_EMAIL_INVOICE', 'email_invoice.php'); define('FILENAME_EMAIL_CACHE_FILE', 'temp_cache.php'); define('FILENAME_ORDERS_INVOICE', 'invoice.php'); ?> Is that your absolute path? How did you get it? Quote Link to comment Share on other sites More sharing options...
knifeman Posted September 19, 2007 Share Posted September 19, 2007 Hi all, I needed to add the customer comments to my packing slip. So many of them that buy as a gift, think they can send comments to the recipient. So I found the code on this great contribution. I copied over the part from invoice.php that includes the comments and nothing else. Of course I uploaded the images too. And I had to set my printer options for backgrounds to print the new comments box properly. My problem is the cost of putting all ink in the comments box. I would rather have a white background. So I uploaded the mainwhite images but that only gets me halfway there. I could not find the code anywhere to place or not to place the background in the comments box. Just so we are on the same page, I got the code from invoice.php and put it in my packingslip.php. Customers ordering gifts do not have invoices in the box. I sure would appreciate anyone helping me on this one. Tim Quote Link to comment Share on other sites More sharing options...
torwoods Posted September 19, 2007 Share Posted September 19, 2007 I have installed the fancier invoice contribution, it all works fine apart from the email when I get though checkout and click confirm I get the following message Warning: main(/red-onions.co.uk/public_html/admin/includes/languages/english/invoice.php) [function.main]: failed to open stream: No such file or directory in /home/sites/red-onions.co.uk/public_html/includes/modules/email_invoice/email_invoice.php on line 30 Warning: main(/red-onions.co.uk/public_html/admin/includes/languages/english/invoice.php) [function.main]: failed to open stream: No such file or directory in /home/sites/red-onions.co.uk/public_html/includes/modules/email_invoice/email_invoice.php on line 30 Fatal error: main() [function.require]: Failed opening required '/red-onions.co.uk/public_html/admin/includes/languages/english/invoice.php' (include_path='.:/usr/share/pear') in /home/sites/red-onions.co.uk/public_html/includes/modules/email_invoice/email_invoice.php on line 30 everything seems present and correct but I must be doing something worng, any points please Quote Link to comment Share on other sites More sharing options...
Guest Posted September 20, 2007 Share Posted September 20, 2007 I have a few issues with this contrib. 1. The print my invoice in account histopy is using mystyle sheet which has a dark grey background. i would like this to be white. How can I change it? 2. The print my invoce button show the following text IMAGE_BUTTON_PRINT_ORDER. How can I correct this? 3. In admin when I view invoce I get a red x and some text about clicking to hid comments. What should be here and how can I fix this? 4. How can I change the logo on the packing slip. I would appreciate it if some can point me in the right direction! I will send you a coupn code to my site once I get that working!!!! :thumbsup: Come on guys I know someone knows the answer. Help me out here. Quote Link to comment Share on other sites More sharing options...
candycanuck Posted September 23, 2007 Share Posted September 23, 2007 The invoice is looking great using this contrib. There was a spot to define a VAT # (which I changed to our GST #) and for an Organization # (which I changed to our Company #)... but I don't see where they are supposed to show up on the invoice or the packing slip. What am I missing? Is this only available in certain languages? I'm using English only. Quote Link to comment Share on other sites More sharing options...
newtech Posted September 24, 2007 Share Posted September 24, 2007 IS this now compatible with PayPal IPN? No. Is there anyone at all that has gotten this contrib to work with PayPal? It is a great contrib that I am using for two clients, but neither of them use PayPal. I now have a client that uses PayPal so I need it to work with PayPal. If this is absolutely not feasible, anyone using another contrib that provides nice invovicing and packing slips that work with PayPal? Quote Link to comment Share on other sites More sharing options...
porpoise1954 Posted September 25, 2007 Share Posted September 25, 2007 Hi, Please can anybody just take 5 minutes to answer my post, I have tried literally everything and I still cannot get the email to display my logo, i always get the box with the red cross. // Image Info define('INVOICE_IMAGE', '/images/topbar.jpg'); //Change this to match your logo image and foler it is in define('INVOICE_IMAGE_WIDTH', '180'); // Change this to your logo's width define('INVOICE_IMAGE_HEIGHT', '85'); // Change this to your logo's height define('INVOICE_IMAGE_ALT_TEXT', STORE_NAME); // Change this to your logo's ALT text or leave blank I've copied topbar.jpg into /images and /admin/images it displays in the admin screen but not when a customer receives an email here is the html source output of the email I really don't understand why my posts are being persistantly ignored, I've read this whole topic and nobody has posted a solution so please, just take 5 minutes of your time to help me. > Invoice #07-76</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"><img src="/images/topbar.jpg" border="0" alt="Click HERE toDisplay or Hidethe Order Comments box below for printing" width="180" height="85" hspace="10"></td> <TD ALIGN="right" VALIGN="top" NOWRAP><FONT FACE="Verdana" SIZE="2" COLOR="#006699"><strong>Invoice # 07-76<BR>Sep 05, 2007</strong></font><br><br><span class="pageHeadingSM"><FONT FACE="Verdana" SIZE="1" COLOR="#006699"><strong>Tel: 01582<br /><br /> Ltd<br />arm<br />Pipe<br />ate<br />Herire<br />F</strong></font></span></TD> </tr> <tr> <td <<SNIPPED for brevity>> I would say this bit is your problem - you're trying to use a relative URL instead of a full URL here: <img src="/images/topbar.jpg" border="0" Change that to: "><img src="http://www.mysite.co.uk/admin/images/topbar.jpg" border="0" and it will be able to pull the image into the email when it's displayed Quote * * * * * * * * * * * * * * * * * * * * * Porpoises are most happy when wet! \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ \ _ Link to comment Share on other sites More sharing options...
Benjjj6 Posted September 26, 2007 Share Posted September 26, 2007 hi, everything has installed fine although i have one slight problem. On my site I use an image for the background, so when a customer clicks 'print' from their account section the invoice that pops up has this same background. How can i stop print_my_invoice.php using the same background as the main pages of my site - i would like it to just be white. thanks, Ben Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2007 Share Posted September 26, 2007 hi, everything has installed fine although i have one slight problem. On my site I use an image for the background, so when a customer clicks 'print' from their account section the invoice that pops up has this same background. How can i stop print_my_invoice.php using the same background as the main pages of my site - i would like it to just be white. thanks, Ben I just cloned my stylehseet and changed the background to white and specified the cloned stylesheet to be used in the invoice. Probably not the best way to do it but it worked for me. Now I wish somone would answer my questions!!! Quote Link to comment Share on other sites More sharing options...
Benjjj6 Posted September 26, 2007 Share Posted September 26, 2007 thanks ill try it - in which file is the stylesheet for the Fancier Invoice specified? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 26, 2007 Share Posted September 26, 2007 thanks ill try it - in which file is the stylesheet for the Fancier Invoice specified? invoice.php i beleive... at the top of the code you will see an entry for stylesheet.css change that to point to the cloned stylesheet. Obviously you will need to name it something different. I call mine invoice.css. Quote Link to comment Share on other sites More sharing options...
Benjjj6 Posted September 26, 2007 Share Posted September 26, 2007 thanks that worked great :) Quote Link to comment Share on other sites More sharing options...
Torg42 Posted October 10, 2007 Share Posted October 10, 2007 I had the same problem but removing ['Title'] from general.php in \catalog\includes\functions has solved the problem. Works for me, hope this helps. That worked for me. Thanks. Troy Quote Link to comment Share on other sites More sharing options...
Benjjj6 Posted October 14, 2007 Share Posted October 14, 2007 hi, on my invoice.php, packing_slip.php and print_my_invoice.php pages I have at the top: Store NameAddress Country Phone How can I edit this? René H4 1 Quote Link to comment Share on other sites More sharing options...
Guest Posted October 14, 2007 Share Posted October 14, 2007 hi, on my invoice.php, packing_slip.php and print_my_invoice.php pages I have at the top: How can I edit this? /includes/languages/english/invoice.php and packing_slip.php etc... I think. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.