Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Invoice does not contain any items (products)
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.

TOPIC: Invoice does not contain any items (products)

Invoice does not contain any items (products) 12 years, 4 months ago #31226

  • media
  • OFFLINE
  • Media-Service-Essen
  • Posts: 13
Hello, i installed the most recent VM Invoice into Joomla 2.5.4 with Virtuemart 2.0.7c. It is only a test site to try out the features. I am running on PHP 5.2.17 with 90M memory limit for running scripts. Mod_rewrite, Joomla SEF and VM SEO are enabled.

First i installed the component VM Invoice and did an order. Than i created the PDF/Invoice withhin the Order Management of the compontent. Result: Full Invoice.

Than i changed one thing into the configuration: I activated some custom fields to be shown in the footer like adress, Bank and so on. Result: Header and Footer are shown, but no items. I retried this with playing around some options. No other result. The Body of the Invoice ist empty. No items are shown.

Than i activated debug mode. Instead of the items, these Errors are shown:
Notice: Undefined index: cols in /homepages/xx/xxxxxxxxxx/htdocs/xxxxxxxxxx/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 22845

Notice: Undefined index: cols in /homepages/xx/xxxxxxxxxx/htdocs/xxxxxxxxxx/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 22847

Warning: Division by zero in /homepages/xx/xxxxxxxxxx/htdocs/xxxxxxxxxx/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 22847

Notice: Undefined index: cols in /homepages/xx/xxxxxxxxxx/htdocs/xxxxxxxxxx/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 22849

Warning: array_fill() [function.array-fill]: Number of elements must be positive in /homepages/xx/xxxxxxxxxx/htdocs/xxxxxxxxxx/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 22849

Do you have any suggestion for me on this problem?

Thank you.
Michael
Media-Service-Essen, Online & Offline Services. Visit me on www.media-service-essen.de
The topic has been locked.

Re: Invoice does not contain any items (products) 12 years, 4 months ago #31260

  • pama
  • OFFLINE
  • Posts: 489
Hello. Can you post here whole HTML code from debug mode?
Also, do you have PHP Tidy extension installed on server? (if yes, must be newer than 14.8.2007)
ARTIO Support Team
Last Edit: 12 years, 4 months ago by pama.
The topic has been locked.

Re: Invoice does not contain any items (products) 12 years, 4 months ago #31269

  • media
  • OFFLINE
  • Media-Service-Essen
  • Posts: 13
Tidy is:
libTidy Release 25 March 2009
Extension Version 2.0 ($Id: tidy.c, v 1.66.2.8.2.25 2007/12/31 07:20:14 sebastian Exp $)

Thank you!

Regards
Michael


This is the code:
---------------------------------------
Header Layout:
---------------------------------------
Media-Service-Essen | Treibweg 18 | 45277 Essen | Germany
---------------------------------------
Header HTML Code:
---------------------------------------
 
 
 
 
 
<table style="width: 100%;" border="">
<tbody>
<tr>
<td style="font-size: 75%;" width="60%">
Media-Service-Essen | Treibweg 18 | 45277 Essen | Germany</td>
<td align="right" width="40%"><img src="/images/stories/virtuemart/vendor/media-service-essen.jpg"/></td>
</tr>
</tbody>
</table>
 
---------------------------------------
Body Layout:
---------------------------------------
 
 
Rechnungsadresse:
Herr Hans Mustermann
Mustergasse 1
12345 Musterstadt
Germany
 
RECHNUNG 11-0003
 
Rechnungsdatum: 16.06.2012
Zahlungsart: Vorkasse
Variable Symbol: 51
 
Mng. Art.Nr. Bezeichnung Preis Steuersatz MwSt. Steuer Zw.Summe
1 pcs SUP-000001 Support und Hilfe
41,18 41,18 19% 7,82 49,00
Versand und Bearbeitungsgebühr
Kostenloser Versand: Kostenloser Versand als Download.
 
Zw.Summe Steuer
 
 
41,18 19% 7,82 49,00
 
 
Zw.Summe: 41,18 7,82 49,00
 
 
Gesamt: 49,00
---------------------------------------
Body HTML Code:
---------------------------------------
 
<table style="width: 100%;" border="">
<tbody>
<tr>
<td><br /><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
</head>
<body>
 
</body>
</html><br />
<table style="width: 100%;" border="">
<tbody>
<tr>
<td valign="top" width="50%">
<strong>Rechnungsadresse:</strong><br />
Herr Hans Mustermann<br />
Mustergasse 1<br />
12345 Musterstadt<br />
Germany</td>
<td valign="top" width="50%"></td>
</tr>
</tbody>
</table>
<br />
<table style="width: 100%;" border="">
<tbody>
<tr>
<td valign="middle" width="50%">
<h1>RECHNUNG 11-0003</h1>
</td>
<td align="right" width="50%">
<table width="100%"><tr><td align="right" width="60%">Rechnungsdatum: </td><td align="right" width="40%">16.06.2012</td></tr>
<tr><td align="right" width="60%">Zahlungsart: </td><td align="right" width="40%">Vorkasse</td></tr>
<tr><td align="right" width="60%">Variable Symbol: </td><td align="right" width="40%">51</td></tr></table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>
<table style="table-layout:fixed;width:100%" >
<thead>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="5%">Mng.</td>
<td align="left" width="9%">Art.Nr.</td>
<td align="left" width="33%">Bezeichnung</td>
<td align="right" width="9%">Preis</td>
<td align="right" width="9%">Steuersatz</td>
<td align="right" width="9%">MwSt.</td>
<td align="right" width="9%">Steuer</td>
<td align="right" width="14%">Zw.Summe</td>
</tr>
<tr nobr="true"><td width="100%" colspan="9"><hr></td></tr>
</thead>
<tbody>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="5%">1 pcs</td>
<td align="left" width="9%">SUP-000001</td>
<td align="left" width="33%">Support und Hilfe
<div style="font-size: 70%; text-align: left;"></div>
</td>
<td align="right" width="9%">41,18 </td>
<td align="right" width="9%">41,18 </td>
<td align="right" width="9%">19%</td>
<td align="right" width="9%">7,82 </td>
<td align="right" width="14%">49,00</td>
</tr>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="5%"></td>
<td align="left" width="9%"></td>
<td align="left" width="33%">Versand und Bearbeitungsgebühr
<div style="font-size: 70%; text-align: left;">Kostenloser Versand: Kostenloser Versand als Download.</div>
</td>
<td align="right" width="9%"></td>
<td align="right" width="9%"></td>
<td align="right" width="9%"></td>
<td align="right" width="9%"></td>
<td align="right" width="14%"></td>
</tr>
</tbody>
<tfoot>
<tr nobr="true"><td colspan="4"></td><td colspan="5">Zw.Summe Steuer</td></tr>
<tr nobr="true"><td colspan="4"></td><td colspan="5"><hr></td></tr>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="5%"></td>
<td align="left" width="9%"></td>
<td align="left" width="33%">
<div style="font-size: 70%; text-align: left;"></div>
</td>
<td align="right" width="9%"></td>
<td align="right" width="9%">41,18 </td>
<td align="right" width="9%">19%</td>
<td align="right" width="9%">7,82 </td>
<td align="right" width="14%">49,00</td>
</tr>
<tr nobr="true"><td colspan="4"></td><td colspan="5"><hr></td></tr>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="5%"></td>
<td align="left" width="9%"></td>
<td align="left" width="33%">
<div style="font-size: 70%; text-align: left;"></div>
</td>
<td align="left" width="9%">Zw.Summe:</td>
<td align="right" width="9%">41,18 </td>
<td align="right" width="9%"></td>
<td align="right" width="9%">7,82 </td>
<td align="right" width="14%">49,00</td>
</tr>
<tr nobr="true"><td colspan="4"></td><td colspan="5"><hr></td></tr>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="5%"></td>
<td align="left" width="9%"></td>
<td align="left" width="33%">
<div style="font-size: 70%; text-align: left;"></div>
</td>
<td align="left" width="9%"><b>Gesamt:</b></td>
<td align="right" width="9%"></td>
<td align="right" width="9%"></td>
<td align="right" width="9%"></td>
<td align="right" width="14%"><b>49,00</b></td>
</tr>
</tfoot>
</table><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
</head>
<body>
 
</body>
</html></p>
 
 
Notice: Undefined index: cols in /homepages/31/d259375030/htdocs/test-mediaservice/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 22845
 
Notice: Undefined index: cols in /homepages/31/d259375030/htdocs/test-mediaservice/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 22847
 
Warning: Division by zero in /homepages/31/d259375030/htdocs/test-mediaservice/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 22847
 
Notice: Undefined index: cols in /homepages/31/d259375030/htdocs/test-mediaservice/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 22849
 
Warning: array_fill() [function.array-fill]: Number of elements must be positive in /homepages/31/d259375030/htdocs/test-mediaservice/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 22849
---------------------------------------
Footer Layout:
---------------------------------------
 
Media-Service-Essen
Treibweg 18
45277 Essen
Germany
http://shop.media-service-essen.de
Dieses Dokument wurde mit Hilfe von ARTIO VM Invoice - VirtueMart PDF Rechnungserstellung erstellt.
http://www.artio.net/virtuemart-tools/vm-invoice-generator
---------------------------------------
Footer HTML Code:
---------------------------------------
 
<p>
<table style="background-color: #F0F0F0; font-size: 80%;" cellpadding="8"><tr>
<td>Media-Service-Essen<br />Treibweg 18<br />45277 Essen<br />Germany<br />http://shop.media-service-essen.de
</td>
<td>
</td>
<td>
</td>
</tr></table></p>
<div style="text-align: center;"></div>
<div style="text-align: center;">
<div style="font-size: 70%; text-align: center;">Dieses Dokument wurde mit Hilfe von <a href="http://www.artio.net/virtuemart-tools/vm-invoice-generator">ARTIO VM Invoice</a> - VirtueMart PDF Rechnungserstellung erstellt.<br /><a href="http://www.artio.net/virtuemart-tools/vm-invoice-generator">http://www.artio.net/virtuemart-tools/vm-invoice-generator</a></div></div>
Media-Service-Essen, Online & Offline Services. Visit me on www.media-service-essen.de
The topic has been locked.

Re: Invoice does not contain any items (products) 12 years, 4 months ago #31315

  • pama
  • OFFLINE
  • Posts: 489
Hello. There is corrupted code caused by probably paste/inserting template code. Were you changing template? Or it can be caused by wysiwyg editor. What editor are you using? Thanks.

You need to remove parts with:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
</head>
<body>

</body>
</html>
ARTIO Support Team
Last Edit: 12 years, 4 months ago by pama.
The topic has been locked.

Re: Invoice does not contain any items (products) 12 years, 4 months ago #31316

  • media
  • OFFLINE
  • Media-Service-Essen
  • Posts: 13
Hello and thank you so far...

I did not change the default invoice template. Editor is JCE Editor most recent version.

Maybe i have to uninstall JCE Editor and install invoice generator again? When changing html configuration within JCE, nothing happens.
Media-Service-Essen, Online & Offline Services. Visit me on www.media-service-essen.de
The topic has been locked.

Re: Invoice does not contain any items (products) 12 years, 4 months ago #31319

  • pama
  • OFFLINE
  • Posts: 489
First go to Invoice template and click "Restore template back to original".

Than, invoice should be ok. If problem comes again after saving configuration, that is probably because JCE editor (however, I tested it now and it works with it). In that case, you don't need to uninstall JCE, just select different as your default editor (in Users -> User manager -> find you account -> Editor).
ARTIO Support Team
The topic has been locked.
Přihlášení uživatele Prázdný