Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Profile for Azza83

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 23:34
  • Posts: 1
  • Profile Views: 2618
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
Hi I purchased VM invoice and i can't seem to get invoices viewable in the front end. I followed the instructions in the documentation by I get the following error when i log in as a customer in the front end (Account Maintenance).

Parse error: syntax error, unexpected '>' in /home/jazzleo2/public_html/administrator/components/com_virtuemart/classes/ps_order.php on line 726

I have attached the "ps_order" file for reference.

Can anyone tell me where I might be going wrong.

Extract:

$tmp_cell = "<strong>".$VM_LANG->_('PHPSHOP_ORDER_PRINT_PO_STATUS').":</strong> ".$order_status;
$tmp_cell .= "<br /><strong>".$VM_LANG->_('PHPSHOP_ORDER_PRINT_PO_NUMBER').":</strong> " . sprintf("%08d", $db->f("order_id"));
$listObj->addCell( $tmp_cell );

$pdf_url = "index.php? option=com_vminvoice&controller=invoices&task=pdf&cid=". $db- >f("order_id");
$tmp_cell = ($db->f("order_status") == 'C') ? '<a href="' . JRoute::_($pdf_url) . '"><img src="' . JURI::base() . 'plugins/ed- itors/jce/tiny_mce/plugins/filemanager/img/ext/pdf_small.gif" /> ' . JText::_('Invoice') .' </a>' : '';
$listObj->addCell( $tmp_cell );


}
$listObj->writeTable();
$listObj->endTable();
if( $num_rows > 0 ) {
$listObj->writeFooter( $keyword, '&Itemid='.$sess->getShopItemid() );


regards,

Aaron.
Parse error: syntax ...
Category: Customer Support
More
User Login Empty