Menu Content

Support

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

URGENT Error
(1 viewing) (1) Guest
PDF Invoice generator and editor for Joomla and VirtueMart.

If your topic falls within one of the subcategories, then please post it directly there. Post to this parent category only if your question does not match any subcategory topic.

TOPIC: URGENT Error

URGENT Error 10 years, 5 months ago #20294

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!!
Last Edit: 10 years, 5 months ago by clunky.
The topic has been locked.

Re: URGENT Error 10 years, 5 months ago #20300

  • jaku
Hello,

are you using the cron to send the invoices automatically or the VM Invoice plugin?

In any case, also make sure the VM Invoice plugin is the latest version.
In both cases, the file currencydisplay.php needs to be loaded. (and should be loaded if you are using the latest versions)

This file defines the CurrencyDisplay class.
Also check that you have current version of the currencydisplay file - maybe the update failed somehow. You should see the getInstance method instance in it.

The last possibility would be, that there already exists some other CurrencyDisplay class in your site (maybe defined by some other component) and there is a conflict.
Last Edit: 10 years, 5 months ago by .
The topic has been locked.

Re: URGENT Error 10 years, 5 months ago #20302

Hi
I deleted all instances of vminvoice using ftp as I could not get into the site at all.
I redownloaded and then installed again. This failed so re deleted everything again including all db tables again and plugin and language files etc.
I then uploaded the component folder to the server and did an install from there and then got errors, luckily I was able to use the back button in the browser to get to the screen and did an upgrade.
This appears to have worked now and it seems to be stable at last.

I am testing it now with orders from the site and the order confirmation emails are being sent to the customer and admin but with the automatic setting at 1 minute the email with the pdf is not sent out.

I do not want to try to send one by clicking the button in the invoices area as this is what broke it all last time.

I have checked my mail settings in the email config and all seems correct in there.

When do the invoices get passed from vm into vminvoice? What happens if I change the status in vm?

Cheers
The topic has been locked.

Re: URGENT Error 10 years, 5 months ago #20304

Hi
I uninstalled the plugin and reinstalled and it has now sent me the email with 2 pdf's.

Many thanks for your help with this rather messy install.
The topic has been locked.

Re: URGENT Error 10 years, 4 months ago #20750

Hi unfortunately I have experienced the same thing with the latest updates.
I sent an urgent email (twice) and still have had no reply :'(

My whole site crashed with an error (front end and backend).
I was able to get my developer to access the VMinvoice files from ftp (from the server).

I only purchased the system 2 days ago and I am a little hesitant to try and install again.

The last add-on I purchased that had an issue was resolved the same day with the company reinstalling and altering what was required.

This is the first (and hopefully the last) time I have made a negative comment on a company.

Come on guys, where's the service?
I wouldn't have a n issue paying for it but at least respond to your emails especially if marked as urgent.
The topic has been locked.

Re: URGENT Error 10 years, 4 months ago #20752

  • jaku
Hello sam8571,
so what version are you using now?

Btw. are you talking about the emails sent today and yesterday? What response time would you expect? 1h? or 30 mins?
Sorry, but we are no Oracle Platinum support and you are not the only one customer out there.
Last Edit: 10 years, 4 months ago by .
The topic has been locked.
User Login Empty