Syntax error in Admin Payments page

0
Hi,

We just installed the invoice manager component (com_invoices_1.2.1_pro_2.5) and noticed the Payments page in the administrator site returns an error:

Parse error: syntax error, unexpected $end in .../administrator/components/com_invoices/views/payments/tmpl/default.php on line 168

Accepted Answer

Friday, January 03 2014, 02:26 PM - #Permalink
1
can you check if the short_open_tag PHP variable is set to ON ?
The reply is currently minimized Show
Responses (4)
  • Accepted Answer

    Friday, January 03 2014, 02:33 PM - #Permalink
    0
    And changing the debugging level on our server shows us a lot more notices on different places

    Just an overview:

    Notice: Undefined index: 1 in .../administrator/components/com_invoices/views/invoices/tmpl/default.php on line 169
    Notice: Undefined property: stdClass::$invoice_duedate in .../administrator/components/com_invoices/models/invoice.php on line 124
    Notice: Undefined property: stdClass::$to_zipcode in .../administrator/components/com_invoices/views/invoice/tmpl/form.php on line 46
    Notice: Undefined property: stdClass::$to_city in .../administrator/components/com_invoices/views/invoice/tmpl/form.php on line 47
    Notice: Undefined property: stdClass::$to_state in.../administrator/components/com_invoices/views/invoice/tmpl/form.php on line 55
    Notice: Undefined property: stdClass::$to_country in .../administrator/components/com_invoices/views/invoice/tmpl/form.php on line 56
    Notice: Undefined property: stdClass::$to_vatid in .../administrator/components/com_invoices/views/invoice/tmpl/form.php on line 68
    Notice: Undefined property: stdClass::$rec_nextdate in .../administrator/components/com_invoices/views/invoice/tmpl/form.php on line 235 Calendar
    Notice: Use of undefined constant - assumed ' ' in .../components/com_invoices/views/invoices/tmpl/default.php on line 89
    Notice: Use of undefined constant - assumed ' ' in .../components/com_invoices/views/invoices/tmpl/default.php on line 93
    Notice: Use of undefined constant - assumed ' ' in .../components/com_invoices/views/invoices/tmpl/default.php on line 204
    Notice: Use of undefined constant - assumed ' ' in .../components/com_invoices/views/invoices/tmpl/default.php on line 208
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 03 2014, 02:51 PM - #Permalink
    0
    The short_open_tag has been set to ON and the Payments page is working.

    Thanks for the quick reply!
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 03 2014, 03:02 PM - #Permalink
    0
    Do not set the debugging level, otherwise the notices may appear (although it's nothing to worry about)
    • Bert Mannaert
      more than a month ago
      I realise that. I also have the same "problem" in some of my own projects, but it always is nice to know so you could clean up (if wanted) your code.

      Thanks again for quick reply.

      Nice extension!
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, July 31 2014, 02:15 AM - #Permalink
    0
    Hi,

    We just installed the invoice manager component (com_invoices_1.2.1_pro_2.5) and noticed the Payments page in the administrator site returns an error:

    Notice: Undefined property: stdClass::$invoice_duedate in E:\wamp\www\news\administrator\components\com_invoices\models\invoice.php on line 124
    • Germinal Camps
      more than a month ago
      what is your subscription order on our website? you don't appear as a customer...
    The reply is currently minimized Show
Your Reply