Menu Content

Support

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

Changing the email options breaks the install
(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: Changing the email options breaks the install

Re: Changing the email options breaks the install 13 years, 1 month ago #20512

Please advise on how I can resolve this.
Cheers
The topic has been locked.

Re: Changing the email options breaks the install 13 years, 1 month ago #20513

Hi Jan
Ok more progress

I have got it to auto send the emails with both pdfs.
The error still appears on teh front end at the time of confirming the order, but after the emails have been sent the page can be refreshed and the confirmation message is displayed.

NOW...

I have just noticed that there is no currency symbol shown on the invoice at all.
It is set to show only in the summary but it is not showing.

The default symbol is the gbp £, where in vm can I verify that the correct symbol is being used?

I am curious as to whether this is a character error.
i.e. £ or £ or ALT156 or £

Help?
The topic has been locked.

Re: Changing the email options breaks the install 13 years, 1 month ago #20530

Maybe this is the issue £

I have tried changing the symbol in both vm and vminvoice using the replacement but they all fail.
What is it about get instance which is causing the issue.
I have no problems with changing the code to get to the root of this.
The topic has been locked.

Re: Changing the email options breaks the install 13 years, 1 month ago #20533

more info...

I have now discovered that the front end order confirmation page will appear on a refresh as soon as the order has been received in vminvoice. Until the order has been collected the error message stays in place.
Once the order is in the invoices list the pdfs are generated and sent out correctly.

I see that the poster of
Multiple curren gives http500 err malformed header
is having similar issues with this too.

I can confirm that turning off registration in vm does not solve my issue
The topic has been locked.

Re: Changing the email options breaks the install 13 years, 1 month ago #20537

OK I give up

What in invoicehtml.php would cause the whole thing to break until the order arrives in vminvoice invoices?

I have tried to alter
$this->currency = &CurrencyDisplay::getInstance();


But this only creates errors with all the instances where

$this->currency->getFullValue


is called.

What should the value of
$this->currency = &CurrencyDisplay::getInstance();
be?
Maybe I can try hardcoding this to see if solves it?

Please advise
Last Edit: 13 years, 1 month ago by clunky.
The topic has been locked.

Re: Changing the email options breaks the install 13 years, 1 month ago #20540

Hi Jan
Can you please tell me the process of vminvoice?
I am trying to get to the bottom of this asap.

When does invoicehtml.php get called?
What is the matter with getinstance?
Why is the currency bit failing?
What is it looking for?
Can the relevant call not be connected due to some lack of code in the head?

Please let me know.

Cheers
The topic has been locked.
User Login Empty