Hi
I have just re upgraded to v 1.4.3. after my client tested an order.
He sent an order and the entire site broke.
At the last point in the order from the front end he got this error message..
Fatal error: Call to undefined method CurrencyDisplay::getInstance() in /home/xxx/public_html/xx/administrator/components/com_vminvoice/helpers/invoicehtml.php on line 51
This resulted in No Admin or front end.
After a long while admin came back and I was able to enter, it was displaying error messages all over the place before the admin panel loaded partially and without any css.
I have just tried to upgrade again it it is still saying that I am not registered.
Anyway...
If I click upgrade it shows that my component is not registered and that the upgrade server is down.
I upgraded by using my ID and then upgraded from the file option, it took ages but said it was successful
I read a lot of similar posts on here and found a possible problem.
Eventually I found that if I changed the "Both - if shipping is different" options for invoices and delivery notes to "Both - always" the entire site works although the client is yet to make a test again.
Here are the errors that I got when the option was set to "Both- if shipping is different"
Warning: Division by zero in /home/xxx/public_html/xx/administrator/components/com_vminvoice/tcpdf/tcpdf.php on line 19968
Warning: array_fill() [function.array-fill]: Number of elements must be positive in /home/xxx/public_html/xx/administrator/components/com_vminvoice/tcpdf/tcpdf.php on line 19970
Warning: Division by zero in /home/xxx/public_html/xx/administrator/components/com_vminvoice/tcpdf/tcpdf.php on line 19968
Warning: array_fill() [function.array-fill]: Number of elements must be positive in /home/xxx/public_html/xx/administrator/components/com_vminvoice/tcpdf/tcpdf.php on line 19970
Turn the optiions back to "Both - Always" and no errors....!
I have not altered any other settings in the config files since it was installed, only the address shown options
Something that I should mention is that I have also had to set up a .htaccess file with php_value max_execution_time 3600 as the comopnent would not install in the first place. Without this the entire site times out.
When my client returns later he will retry the order andI will let you know the outcome.
If you have any idea what is going on in the meantime please let me know as he needs to be live in a weeks time.
Cheers
UPDATE
I have done as above.
It was working and I selected an invoice and sent a delivery note.
The delivery note arrived as an attachment in the email.
The website, both front end and admin is now broken.
The error on both is
Fatal error: Call to undefined method CurrencyDisplay::getInstance() in /home/chestnut/public_html/cp/administrator/components/com_vminvoice/helpers/invoicehtml.php on line 51
This line is
$this->currency = &CurrencyDisplay::getInstance();
Any clues as I cannot get back into the site!!