AbanteCart Community

Shopping Cart Operations => Built-in Features => Topic started by: Jimako on September 03, 2019, 07:26:51 AM

Title: invoice link has backslash before url [solved]
Post by: Jimako on September 03, 2019, 07:26:51 AM
Hello,
I have installed store in the subdirectory.
I checked the store details, there is no backslash.

Everything works normally, only on invoice page link after the order is the wrong URL.

You can view your order details by going to the invoice page.

"\https:// " -  there is backslash before url.

Where to look? Thank you.
Title: Re: invoice link has backslash before url
Post by: Basara on September 03, 2019, 07:36:19 AM
Hello.
For storefront you can enable debug mode to see what controller and template (.tpl file) to edit
https://abantecart.atlassian.net/wiki/spaces/AD/pages/7569496/Debug#Debug-Templatedebug
Title: Re: invoice link has backslash before url
Post by: Jimako on September 03, 2019, 08:14:50 AM
Hi,
no, the problem was somewhere else.

With PDO enabled there is a problem with character %,  it was fixed with using amysqli connection.

But language xml is still loaded with \%  instead %, so this was parsed: 

Quote
You can view your order details by going to the <a href="\%s">invoice page</a>


Refresh didn't help. I had it manually change in language definitions (English).


Title: Re: invoice link has backslash before url
Post by: abolabo on September 04, 2019, 03:32:55 AM
Hi,
no, the problem was somewhere else.

With PDO enabled there is a problem with character %,  it was fixed with using amysqli connection.

But language xml is still loaded with \%  instead %, so this was parsed: 

Quote
You can view your order details by going to the <a href="\%s">invoice page</a>

can you open phpMyAdmin and check collation of table language_definitions and it's columns?
It must be utf8_general_ci

Refresh didn't help. I had it manually change in language definitions (English).
Title: Re: invoice link has backslash before url [solved]
Post by: kareni12 on August 15, 2020, 04:45:00 AM
In the end were you able to solve?