invoice link has backslash before url [solved]

Started by Jimako, September 03, 2019, 07:26:51 AM

Previous topic - Next topic

Jimako

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.

Basara

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

Jimako

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: 

QuoteYou 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).



abolabo

Quote from: 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: 

QuoteYou 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).
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

kareni12


Forum Rules Code of conduct
AbanteCart.com 2010 -