lucsangel
Pioneers-
Posts
47 -
Joined
-
Last visited
-
Days Won
1
lucsangel's Achievements
-
Rziner I do not have the error anymore. The image of the error was in one of my previous posts. For now all is well after setting that call to false.
-
Oh yes, in the zipped files the change to false is not shown as I zipped it before thinking of the QTPro stock deletion. Sorry for all the trouble. Bobbee
-
You made me think of something.... in attributeManagerConfig.class.php I had AM_DELETE_ZERO_STOCK in the QTPro section set to true (as I had AM_USE_QT_PRO obviously set to true as I use it), now set it to false : $this->add('AM_DELETE_ZERO_STOCK', false); // if true, deletes options combinations with zero quantity from stock and now the error is gone (with of course the changes you suggested line by line above). Just in case her are my zipped files Thank you Rainer attributeManager.zip
-
Hello Rainer, It is switched off, never switched it on so why would the part of code in the function mentioned above throw the error? Bobbee
-
Found that commenting out the code lines 415-430 for Product Attribute Code it goes away and all functions. I do not use Product Attribute Code so I do not know if commenting it out is correct or not but the error does go away. Wonder if I should comment it out elsewhere ? Also picked up 3 missing semi-colons : line 402 : <?php echo AM_AJAX_IMAGE?> line 436: <?php echo AM_AJAX_WEIGHT_PREFIX?> line 439: <?php echo AM_AJAX_WEIGHT?> Don't know if they affect anything... Thank you again for your help ! Bobbee
-
Thank you Jack. It is a great addon.
-
Thank you Rainer.
-
This time I have Warning/homepages/11/d570016152/htdocs/osc234/cav2mt/attributeManager/attributeManager.php417 Still with Quantity Tracking Professional (QT Pro) underneath the color option as in the screenshot, so somehow it must have a problem with the QTPro
-
Now it says : Parse error: syntax error, unexpected '$rec' (T_VARIABLE) in /xxx/attributeManager/attributeManager.php on line 536 line 536 with the quotes <?php echo $rec['products_stock_id']; ?>
-
Hello Rainer, Just uploaded the new version and have a little error that seems to come with QTPro and Attribute Manager but I can not figure out what it is referring to (screenshot included : Warning /xxxxx/xxxx/attributeManager/attributeManager.php 526 line 526 : $val_array=explode(",",$rec[products_stock_attributes]); On FROZEN CE BS3, PHP 7.2 QTPro was functioning fine and is set to true in attribute manager. There is stock for the product attributes. What do you think? Bobbee
-
addons are throwing these types of errors. (sorry my hand slipped and posted without finishing). It happens on PHP 7.2, not in the earlier versions
-
Hello Jack I am using the latest version you uploades v.1.5 https://apps.oscommerce.com/8oFiX&additional-orders-info with FROZEN BS3 and see no control in configuration Additionnal Info for this in particular. So many of the
-
Hi Jack, I see that there has been no activity in a while but just to update for those who are still using this useful add-on... passing to php 7.2 on the admin side, when you click "invoice" for an order the undefined constant error comes up for SHOW_INVOICE_SHIPPING. To fix it I just put it in single quotes 'SHOW_INVOICE_SHIPPING', so in admin/includes/functions/general.php : CHANGE *************************************************** //// /*** BOF: Additional Orders Info ***/ // Return orders shipping method function tep_get_orders_shipping_method($order_id) { $check_order_query= tep_db_query("select title from " . TABLE_ORDERS_TOTAL . " where orders_id='" . $order_id . "' and class='ot_shipping'"); $check_order= tep_db_fetch_array($check_order_query); if (SHOW_INVOICE_SHIPPING=='2' and ($check_order['title']=='United Parcel Service' or $check_order['title']=='United States Postal Service')) { // return short version on UPS and USPS *************************************** TO ************************************** //// /*** BOF: Additional Orders Info ***/ // Return orders shipping method function tep_get_orders_shipping_method($order_id) { $check_order_query= tep_db_query("select title from " . TABLE_ORDERS_TOTAL . " where orders_id='" . $order_id . "' and class='ot_shipping'"); $check_order= tep_db_fetch_array($check_order_query); if ('SHOW_INVOICE_SHIPPING'=='2' and ($check_order['title']=='United Parcel Service' or $check_order['title']=='United States Postal Service')) { // return short version on UPS and USPS ******************************************************* Works for me but you are the programmer so you can check to see if it is the right fix. Bobbee
-
Thank you Rainer, that did do the trick ! Have a good day. Bobbee
- 367 replies
-
- qtpro
- attributes stock
-
(and 1 more)
Tagged with:
-
Hello All, Having used this for years testing on PHP 7.2 does pick up an error : "Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in xxx/catalog/admin/mm_responsemail.php on line 228" Easy to fix : Find around line 228 (244 in the original file): $output_subject = $mail[title]; CHANGE TO (missing the quotes around title): $output_subject = $mail['title']; Also for those having error "Headers already sent" the easiest way to fix it is to go to the templates in the database and take out all the white space in each one. Works like a charm. Bobbee