Well that explains it!
The extension I downloaded when running 2.4.6 contained an older version of the hooks.php file that did not contain
function __construct() {
$this->module_name = 'osc_orders';
}
I downloaded the first 8-10 extensions from setup->install.activate extensions and found only a couple have the constructor called
I did not check github but I see the osc_orders was updated as part of what may have been a global update...
i am the author of osc_orders and I have a small update I would like to make..
I'd do it myself but I am not very good with git yet and only have this one change to be made...
Can do apply it to the sources? (2 lines changed) or I can email/pm the updated file...
Below: The updated file is on the right ">"
tom@w2vy:/var/www/html/fa/modules/osc_orders$ diff osCommerce.php /tmp/osCommerce.php
432,433c432
< $cart->document_date = Today();
< // $_POST['OrderDate'] = $cart->document_date;
---
> $cart->document_date = sql2date($order['date_purchased']);
442c441
< $cart->due_date = Today();
---
> $cart->due_date = sql2date($order['date_purchased']);
Thanks!
Tom
ps. I just attached it as a txt file! I knew there as a way...
Post's attachmentsosCommerce.txt 31.5 kb, file has never been downloaded.
You don't have the permssions to download the attachments of this post.