Page 1 of 1

Strange checkout error

Posted: Thu Nov 29, 2018 6:04 pm
by Khal
I am getting a strange error in my error log, I'm not sure if it is triggered when someone tries to checkout:

Code: Select all

PHP Notice:  Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.../index.php?route=/payment/platiposle/success&hash=' at line 1<br />Error No: 1064<br />SELECT * FROM redirect_manager WHERE fromUrl = '.../index.php?route=/payment/platiposle/success&hash=1'' and status = 1 in /home/.../public_html/system/library/db/mysqli.php on line 44

PHP Notice:  Trying to get property of non-object in /home/.../public_html/system/modification/catalog/controller/error/not_found.php on line 12
The word "platiposle" seems strange, I have searched the forums and it doesn't seem to appear in standard OC code. I do have a custom checkout module and use Google and Facebook tracking on my site, could it be from those?

OC 2.0.1.1

Re: Strange checkout error

Posted: Thu Nov 29, 2018 6:25 pm
by kestas
Khal wrote:
Thu Nov 29, 2018 6:04 pm
I am getting a strange error in my error log, I'm not sure if it is triggered when someone tries to checkout:

Code: Select all

PHP Notice:  Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.../index.php?route=/payment/platiposle/success&hash=' at line 1<br />Error No: 1064<br />SELECT * FROM redirect_manager WHERE fromUrl = '.../index.php?route=/payment/platiposle/success&hash=1'' and status = 1 in /home/.../public_html/system/library/db/mysqli.php on line 44

PHP Notice:  Trying to get property of non-object in /home/.../public_html/system/modification/catalog/controller/error/not_found.php on line 12
The word "platiposle" seems strange, I have searched the forums and it doesn't seem to appear in standard OC code. I do have a custom checkout module and use Google and Facebook tracking on my site, could it be from those?

OC 2.0.1.1
Seems you have module installed with name "platiposle" if I correctly understand this is russian word in Latin letters.. Translation "Plati posle" google translator means "Pay after"... And in this module incorrectly written code.
So maybe this hint put you on the right way.

Re: Strange checkout error

Posted: Thu Nov 29, 2018 6:30 pm
by Khal
Thanks for the reply.

That's the strange thing, I do not have a module called Platiposle. I have a custom checkout module, called "Checkout and Registration Simple" which I have been using for a few years without any issues or errors. I think the developer is Russian, could the code be from that module?

Re: Strange checkout error

Posted: Thu Nov 29, 2018 7:04 pm
by kestas
Khal wrote:
Thu Nov 29, 2018 6:30 pm
Thanks for the reply.

That's the strange thing, I do not have a module called Platiposle. I have a custom checkout module, called "Checkout and Registration Simple" which I have been using for a few years without any issues or errors. I think the developer is Russian, could the code be from that module?
Maybe, you can ask this developer regarding this issue, because name "platiposle" seems is russian.