I'm a bit stuck on where to get support for this version of Opencart - Opencart Overclocked - as the old support forum is no longer working but as it is based on 1.5.6.4 I thought somebody here might be able to help.
I have a problem which is when you select Notify customer on the order history page it is failing to update the database ie setting notify to 1 so no notification email is sent and the history table says no. No errors are appearing in the logs and everything else appears to work on the history page, adding comments, changing order status etc. The automatic customer notification is also sent after a successful order and the database is updated then. There is a second problem which might be related in that you can't delete orders.
I was wondering if it could it be a PHP issue as the it was originally built for 5.6 and it is currently running on 7.2 The previous version of Opencart I ran used PHP 5.6 and notify worked ok.
Has anybody got any thoughts on a possible fix or where I might try get some answers?
Thank you
Opencart Overclocked 1.11.1
PHP 7.2
Long time ago I had todo with that version, maybe it's an issue with the used php-version - if, you will find some in this logfile.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I have opened the network tab on Firefox Web Developer Tools for the first time ever and I get 2 additional entries after I click notify followed by update history:
https://www.xxxxx.co.uk/xxxx/index.php? ... order_id=1 and
https://www.xxxxxx.co.uk/xxxx/index.php ... atus_id=16
Both with a query 3.3.1 initiator ?
I see no mention of notify and no errors are apparent. I am not using openbay by the way.
xxx.co.uk/xxx/index.php?route=sale/order/history&token=fa6d751f4ce8d83b3635f744149319dd&order_id=1
Sometimes it is "wise" to know how something works ..
Normal & standard behaviour - OpenBay was always called before OpenCart 3.x
But you could check once the server error log file (not OpenCart!).
Guess you will see more there.
Finally: have you ever checked the time settings (on your server)?
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
I can now see that in the POST data settings that notify=0 when it should be 1. Can anybody please tell me where is this normally set?
As far as I know (and in OpenCart default packages this is standard), there is a checkbox for such.
If not checked, no notifications are send.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
https://github.com/opencart/opencart/bl ... o.tpl#L397
The JavaScript that sends the POST when Add History is clicked is here.
https://github.com/opencart/opencart/bl ... #L940-L974
https://github.com/villagedefrance/Open ... #L482-L486
and
https://github.com/villagedefrance/Open ... #L785-L805
and
https://github.com/villagedefrance/Open ... .php#L2896
and
https://github.com/villagedefrance/Open ... #L832-L911
especially: https://github.com/villagedefrance/Open ... r.php#L850
where the notify status is checked (as already said before).
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
All I know at this moment is that it doesn't matter if the notify customer box is checked or not it always returns notify=0 in the POST data. So it's not being set or something is cancelling it?
Time to pull some more hair out and ponder.
Not really, I would say: check your pocket and spend a few bucks for a qualified developer.dbrooksuk wrote: ↑Sun Feb 13, 2022 11:19 pmWell I've now compared the files on the site against the default upload files (Overclocked version) and there is no difference. Thank you for highlighting the areas of code.
All I know at this moment is that it doesn't matter if the notify customer box is checked or not it always returns notify=0 in the POST data. So it's not being set or something is cancelling it?
Time to pull some more hair out and ponder.
May help you loosing hair ..
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Which software?
If you mean the community edition then you know where to edit.
Last version from them is 1.11.1.
And at their GH-Pages you can post further - this here is only about OpenCart native.
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Users browsing this forum: Amazon [Bot] and 19 guests