Claudia
Member-
Posts
297 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Claudia
-
Admin System Error Log When I got up this morning I checked my admin error log. I had over 4200 entries in the system error log. I try to clear the log every day but still get thousands. Has this been addressed or is it something I'm doing to cause this. This has been happening since I updated to CC6.4.9 PHP 8.1.13 Here's an example. Anything I can do? Today, 11:55 [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/cache/file.class.php:224 - preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated https://www.cambargainstore.com/index.php Today, 11:47 [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/cache/file.class.php:224 - preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated https://www.cambargainstore.com/index.php?seo_path=listed-only-on-etsy Today, 11:44 [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/cache/file.class.php:224 - preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated https://www.cambargainstore.com/index.php Today, 11:40 [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/cache/file.class.php:224 - preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated https://www.cambargainstore.com/index.php Today, 11:33 [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/debug.class.php:260 - strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated https://www.gza-e.com/api/consumer/user/common/applet/code Today, 11:33 [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/cache/file.class.php:224 - preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated https://www.gza-e.com/api/consumer/user/common/applet/code Today, 11:33 [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/user.class.php:719 - strtolower(): Passing null to parameter #1 ($string) of type string is deprecated https://www.gza-e.com/api/consumer/user/common/applet/code Today, 11:33 [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/session.class.php:676 - htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated https://www.gza-e.com/api/consumer/user/common/applet/code Today, 11:33 [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/session.class.php:676 - strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated https://www.gza-e.com/api/consumer/user/common/applet/code Today, 11:33 [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/session.class.php:676 - htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated https://www.gza-e.com/api/consumer/user/common/applet/code Today, 11:33 [<strong>Deprecated</strong>] /home/cambarga/public_html/classes/session.class.php:676 - strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated https://www.gza-e.com/api/consumer/user/common/applet/code Today, 11:30 [<strong>Deprecated</strong>] /home/cambarga/public_html/classes/cache/file.class.php:224 - preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated https://www.cambargainstore.com/index.php Today, 11:18 [<strong>Deprecated</strong>] /home/cambarga/public_html/classes/cache/file.class.php:224 - preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated https://www.cambargainstore.com/soft-drink-bottles
-
I found the topic: https://forums.cubecart.com/topic/57993-save-reload-button-on-admin-orders-page/#comment-252113 I forgot to make this change in admin/skin/templates/order.index when I upgraded to 6.4.9. I kept my code as it was Change line 36 from: httpredir('?_g=orders&'.http_build_query($_POST)); To: if (array_walk_recursive($_POST['search'],function($v,$k)use(&$aSearch){$aSearch=sprintf("%s%s",$aSearch,$v);},$aSearch) && !empty($aSearch)) httpredir('?_g=orders&'.http_build_query($_POST));
-
So what should my code be to be able to change them all at one time?
-
I have this: (Forgot to post it) } else { $GLOBALS['main']->errorMessage($lang['orders']['error_orders_delete']); } } } if ($updated) { $GLOBALS['main']->successMessage($lang['orders']['notify_orders_status']); } if (isset($_GET['redirect']) && $_GET['redirect'] == 'dashboard' && $_POST['multi-action'] == '') { httpredir('?', 'orders'); } else { httpredir(currentPage(array('print_hash', 'multi-action'), $add_array)); } } elseif (isset($_POST['venue_sold_site'])) { foreach ($_POST['venue_sold_site'] as $order_id => $site_name) { $GLOBALS['db']->update('CubeCart_order_summary', array('venue_sold_site' => $site_name), array('cart_order_id' => $order_id)); } $GLOBALS['main']->successMessage("One or more orders Sold Sites were updated"); } elseif (isset($_POST['all_order_date'])) { foreach ($_POST['all_order_date'] as $order_id => $site_name) { $GLOBALS['db']->update('CubeCart_order_summary', array('all_order_date' => $site_name), array('cart_order_id' => $order_id)); } $GLOBALS['main']->successMessage("One or more orders All Order Dates were updated"); } elseif (isset($_POST['all_delivery_date'])) { foreach ($_POST['all_delivery_date'] as $order_id => $site_name) { $GLOBALS['db']->update('CubeCart_order_summary', array('all_delivery_date' => $site_name), array('cart_order_id' => $order_id)); } $GLOBALS['main']->successMessage("One or more orders All Delivery Dates were updated"); } elseif (isset($_POST['feedback'])) { foreach ($_POST['feedback'] as $order_id => $site_name) { $GLOBALS['db']->update('CubeCart_order_summary', array('feedback' => $site_name), array('cart_order_id' => $order_id)); } $GLOBALS['main']->successMessage("One or more orders Feedbacks were updated"); } elseif (isset($_GET['search'])) { // Search by date range
-
I hate to keep bothering you all, but things have been creeping up and I don't know if it's related to CC6.4.9 and/or PHP 8. I haven't changed any of the code for this issue since 6.4.7 and I have basically the same thing in customers and products and it works fine. Here goes: On the main order page I have some custom columns that I have made editable. That way I don't have to go into each order and input the info. I input it from the main order page and it populates the individual order. Right now if I edit the info in the individual order it will populate the main order page. I just can't edit and save on the main order page. Well it will let me input in the info just won't save it. Thanks in advance. Here's my code in admin/skin/templates/order.index Line 18: <thead> <tr> <td> </td> <td nowrap="nowrap">{$THEAD.cart_order_id}</td> <td> </td> <td>{$THEAD.customer}</td> <td>Sold Site</td> <td>{$THEAD.date}</td> <td>Order Date</td> <td nowrap="nowrap">{$THEAD.status}</td> <td>Delivery Date</td> <td>Feedback</td> <td>{$THEAD.total}</td> <td> </td> </tr> </thead> Line 51: <td><span class="editable" name="venue_sold_site[{$order.cart_order_id}]">{$order.venue_sold_site}</span></td> <td>{$order.date}</td> <td><span class="editable" name="all_order_date[{$order.cart_order_id}]">{$order.all_order_date}</span></td> <td class="{$order.status_class}">{$order.status}</td> <td><span class="editable" name="all_delivery_date[{$order.cart_order_id}]">{$order.all_delivery_date}</span></td> <td><span class="editable" name="feedback[{$order.cart_order_id}]">{$order.feedback}</span></td> Here's my code in admin/sources/order.index.inc Line 963: $thead_sort = array( 'venue_sold_site' => $GLOBALS['db']->column_sort('venue_sold_site','Venue Sold Site', 'sort', $current_page, $_GET['sort']), 'cart_order_id' => $GLOBALS['db']->column_sort('cart_order_id', $lang['orders']['order_number'], 'sort', $current_page, $_GET['sort']), 'customer' => $GLOBALS['db']->column_sort('customer', $lang['orders']['title_customer'], 'sort', $current_page, $_GET['sort']), 'all_order_date' => $GLOBALS['db']->column_sort('all_order_date', 'Order Date', 'sort', $current_page, $_GET['sort']), 'all_delivery_date' => $GLOBALS['db']->column_sort('all_delivery_date', 'Delivery Date', 'sort', $current_page, $_GET['sort']), 'feedback' => $GLOBALS['db']->column_sort('feedback','Feedback', 'sort', $current_page, $_GET['sort']), 'status' => $GLOBALS['db']->column_sort('status', $lang['common']['status'], 'sort', $current_page, $_GET['sort']), 'date' => $GLOBALS['db']->column_sort('order_date', $lang['common']['date'], 'sort', $current_page, $_GET['sort']), 'total' => $GLOBALS['db']->column_sort('total', $lang['basket']['total'], 'sort', $current_page, $_GET['sort']) );
-
Go Chiefs for the Super Bowl!!!
-
I didn't have the sort_order column so I added it - still won't save the sort change. I have a word document with all the AIOS changes we made long ago. I'm goin to check it out. By the By --- Yeah Bengals!!!!!!
-
I'm using Version 1.0.24 of the AIOS. Brian has made design changes for me and I'm not sure what has been implemented into the core code. Anyway, I'm updating my USPS rates and all goes fine. But when I try to rearrange the lines it lets me rearrange them but when I hit save it goes back to the original order and doesn't save my new order. Oh, and the clicking the checkbox across frm add new shipping rates doesn't do anything Any ideas? Thanks in advance as always! One more question -- I would like for Cubecart to show the rates from my zip code zone before the state zone. I can't remember what goes first in ordering the zone. I know at one time it was the smallest first but not sure if that is the way now
-
I think it may be this line. When I deleted it, it seems to work. Very early testing. I'm going to try your way with full code <tr> <td>{$product.cost_price / $product.quantity} x {$product.quantity} = {($product.quantity * $product.cost_price / $product.quantity)|string_format:"%01.2f"} </td> </tr> I got this error: [<strong>Exception</strong>] /home/xxxxxx/public_html/cache/skin/c026dd1e5327da79bb92cc396f86efc387fc62ea_0.file.orders.index.php.php:1223 - Division by zero https://www.cambargainstore.com/admin_xxxxxx_g=orders&node=index&action=add
-
I don't understand what is going on here. If I put the above block of code in my "More Info" tab it looks fine for orders already created. But, if I click on Create an Order the screen looks like this (Same as beginning of post). Any ideas as to why? I thought it might have to do with "input" but not sure
-
This works fine if I don't use the More Info Tab you created with the code snippet. Sorry, I didn't give you the whole code for that one table. There are more tables similair to this. <table width="97%" style="float:left;margin-bottom:30px;"> <tr> <td> <table width="29%" style="margin-right: 4px;float:left;"> <thead> <tr> <th width="37%">Cost and Fees</th> </tr> </thead> <tbody> <tr> <td><strong>Removed from Box List</strong> </td> </tr> <tr> <td><strong>Item Cost</strong> </td> </tr> <tr> <td><strong>Items Cost</strong> </td> </tr> <tr> <td><strong>Box Cost</strong> </td> </tr> <tr> <td><strong>Total Box and Handling</strong> </td> </tr> <tr> <td><strong>eBay FVF</strong> </td> </tr> <tr> <td><strong>Etsy Insertion Fee</strong> </td> </tr> <tr> <td><strong>Etsy Transaction Fee</strong> </td> </tr> <tr> <td><strong>Etsy Processing Fee</strong> </td> </tr> <tr> <td><strong>PayPal Fee</strong> </td> </tr> <tr> <td><strong>Actual Shipping</strong> </td> </tr> </tbody> </table> <table width="34%" style="margin-right: 4px;float:left;"> <thead> <tr> <th width="26%">Cost and Fees Value</th> </tr> </thead> <tbody> <tr> <td>{$SUMMARY.box_list} </td> </tr> <tr> <td>{$product.cost_price / $product.quantity} x {$product.quantity} = {($product.quantity * $product.cost_price / $product.quantity)|string_format:"%01.2f"} </td> </tr> <tr> <td>{$SUMMARY.multi_cost} </td> </tr> <tr> <td>{$SUMMARY.cost_box} </td> </tr> <tr> <td>{$SUMMARY.cost_handling} </td> </tr> <tr> <td>{$SUMMARY.fee_ebay_fvf} </td> </tr> <tr> <td>{$SUMMARY.fee_etsy_insert} </td> </tr> <tr> <td>{$SUMMARY.fee_etsy_fvf} </td> </tr> <tr> <td>{$SUMMARY.fee_etsy_sales} </td> </tr> <tr> <td>{$SUMMARY.fee_pp} </td> </tr> <tr> <td>{$SUMMARY.actual_shipping} </td> </tr> </tbody> </table> <table width="34%" style="margin-right: 4px;float:left;"> <thead> <tr> <th width="37%">Cost and Fees Input</th> </tr> </thead> <tbody> <tr> <td><input type="text" id="box_list" name="summary[box_list]" value="{$SUMMARY.box_list}" class="textbox" style="width:175px"> </td> </tr> <tr> <td>{$product.cost_price / $product.quantity} x {$product.quantity} = {($product.quantity * $product.cost_price / $product.quantity)|string_format:"%01.2f"} </td> </tr> <tr> <td><input type="text" id="multi_cost" name="summary[multi_cost]" value="{$SUMMARY.multi_cost}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="cost_box" name="summary[cost_box]" value="{$SUMMARY.cost_box}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="cost_handling" name="summary[cost_handling]" value="{$SUMMARY.cost_handling}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="fee_ebay_fvf" name="summary[fee_ebay_fvf]" value="{$SUMMARY.fee_ebay_fvf}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="fee_etsy_insert" name="summary[fee_etsy_insert]" value="{$SUMMARY.fee_etsy_insert}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="fee_etsy_fvf" name="summary[fee_etsy_fvf]" value="{$SUMMARY.fee_etsy_fvf}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="fee_etsy_sales" name="summary[fee_etsy_sales]" value="{$SUMMARY.fee_etsy_sales}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="fee_pp" name="summary[fee_pp]" value="{$SUMMARY.fee_pp}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="actual_shipping" name="summary[actual_shipping]" value="{$SUMMARY.actual_shipping}" class="textbox" style="width:175px"> </td> </tr> </tbody> </table> </td> </tr> </table>
-
For some reason the More Info tab you helped me with for my admin orders is still showing as way above in the first post if I use it. If I comment it out all works as it should. I know this sounds weird but it seems to be the input code. Here's a sample. Any ideas what's causing it not to work? <table width="34%" style="margin-right: 4px;float:left;"> <thead> <tr> <th width="26%">Cost and Fees Value</th> </tr> </thead> <tbody> <tr> <td>{$SUMMARY.box_list} </td> </tr> <tr> <td>{$product.cost_price / $product.quantity} x {$product.quantity} = {($product.quantity * $product.cost_price / $product.quantity)|string_format:"%01.2f"} </td> </tr> <tr> <td>{$SUMMARY.multi_cost} </td> </tr> <tr> <td>{$SUMMARY.cost_box} </td> </tr> <tr> <td>{$SUMMARY.cost_handling} </td> </tr> <tr> <td>{$SUMMARY.fee_ebay_fvf} </td> </tr> <tr> <td>{$SUMMARY.fee_etsy_insert} </td> </tr> <tr> <td>{$SUMMARY.fee_etsy_fvf} </td> </tr> <tr> <td>{$SUMMARY.fee_etsy_sales} </td> </tr> <tr> <td>{$SUMMARY.fee_pp} </td> </tr> <tr> <td>{$SUMMARY.actual_shipping} </td> </tr> </tbody> </table> <table width="34%" style="margin-right: 4px;float:left;"> <thead> <tr> <th width="37%">Cost and Fees Input</th> </tr> </thead> <tbody> <tr> <td><input type="text" id="box_list" name="summary[box_list]" value="{$SUMMARY.box_list}" class="textbox" style="width:175px"> </td> </tr> <tr> <td>{$product.cost_price / $product.quantity} x {$product.quantity} = {($product.quantity * $product.cost_price / $product.quantity)|string_format:"%01.2f"} </td> </tr> <tr> <td><input type="text" id="multi_cost" name="summary[multi_cost]" value="{$SUMMARY.multi_cost}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="cost_box" name="summary[cost_box]" value="{$SUMMARY.cost_box}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="cost_handling" name="summary[cost_handling]" value="{$SUMMARY.cost_handling}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="fee_ebay_fvf" name="summary[fee_ebay_fvf]" value="{$SUMMARY.fee_ebay_fvf}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="fee_etsy_insert" name="summary[fee_etsy_insert]" value="{$SUMMARY.fee_etsy_insert}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="fee_etsy_fvf" name="summary[fee_etsy_fvf]" value="{$SUMMARY.fee_etsy_fvf}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="fee_etsy_sales" name="summary[fee_etsy_sales]" value="{$SUMMARY.fee_etsy_sales}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="fee_pp" name="summary[fee_pp]" value="{$SUMMARY.fee_pp}" class="textbox" style="width:175px"> </td> </tr> <tr> <td><input type="text" id="actual_shipping" name="summary[actual_shipping]" value="{$SUMMARY.actual_shipping}" class="textbox" style="width:175px"> </td> </tr> </tbody> </table> </td> </tr> </table>
-
This worked! Yeah!! Do you think it's ok to use my custom admin now?
-
My error log in cPanel is 70.31 MB. It won't let me edit it to clear it. I can view it. Here's the last few entries [19-Jan-2023 13:47:42 America/Louisville] PHP Warning: Undefined array key "/images/cache/lunchbox-disney-magic-kingdom-wonderful-world/09-lunchbox-disney-magic-kingdom-wonderful-world-back-side.600.jpg" in /home/cambarga/public_html/classes/catalogue.class.php on line 2154 [19-Jan-2023 13:47:42 America/Louisville] PHP Warning: Undefined array key "/images/source/lunchbox-disney-magic-kingdom-wonderful-world/09-lunchbox-disney-magic-kingdom-wonderful-world-back-side.jpg" in /home/cambarga/public_html/classes/catalogue.class.php on line 2154 [19-Jan-2023 13:47:42 America/Louisville] PHP Warning: Undefined variable $random_product in /home/xxxx/public_html/classes/gui.class.php on line 1348 [19-Jan-2023 13:47:42 America/Louisville] PHP Warning: Undefined variable $cache_id in /home/xxxx/public_html/classes/gui.class.php on line 1305 [19-Jan-2023 13:47:42 America/Louisville] PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /home/xxxx/public_html/classes/cache/file.class.php on line 224 That luncbox has nothing to do with the order I was trying to create. In the deBug when trying to create the order I get this: PHP: [Warning] /home/xxxxxx/public_html/classes/order.class.php:194 - Undefined global variable $cart[Exception] /home/xxxxx/public_html/classes/order.class.php:194 - method_exists(): Argument #1 ($object_or_class) must be of type object|string, null given https://github.com/cubecart/v6/issues/3116 I fixed code from above This is what I get in developer tools thru Firefox. Please remember you are really getting out of my depth here and I don't have a clue what any of this means.
-
I have been working on this for days!!!!!!! I have uploaded ALL stock files for 6.4.9 and I still cannot create an order. It lets me input the info but when I click save I get a white screen. I turned on debug in admin and this is the only warning I get [Warning] /home/xxxxxxx/public_html/classes/language.class.php:94 - Undefined variable $cache[Deprecated] I have cleared the cache thru admin and manually thru cPanel This is driving me nuts! At this point I don't even care if it was something stupid I did. I just want to create an order! LOL
-
Ok thanks ... just checking
-
Could this have anything to do with the code snippet your made for me to add a new tab in the orders? Maybe it doesn't work with PHP 8? <?php if($_GET['_g'] == 'orders' && (!isset($_GET['node']) || $_GET['node'] == 'index') && isset($_GET['action']) && in_array($_GET['action'], array('add','edit'))) { $tab['name'] = 'More Order Info'; $tab['tab_id'] = 'tab_moreorderinfo'; $tab['target'] = '#moreorderinfo'; $tabs[] = $tab; } Unique ID: specialorderdata@cubecart6 trigger: admin.tabs
-
I think I will upload just the stock files and go one by one to change for my customizations. It's really not that much. It's saying it can't load https://www.cambargainstore.com/xxxxxxx.php?_g=orders&action=add
-
Well, you get one thing working right and something else pops up. I cannot create an order. I have a custom admin skin and when I click create order this is what I get. When I look in the web developer tools I get this error message. I tested this in Firefox and Microsoft Edge. I don't have other browsers installed. This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. FYI: the main template in admin / skins has the <!DOCTYPE html> at the top. When I switch to the default admin skin it will let me input the order information, saves it, but then it doesn't show and it is gone. When I sell something on ebay or etsy I create an order for that in CC. I move the main image to a folder I call aaa and delete the original folder the images were in. There is no way to move the photos. It just says "Please select …" I went to the GitHub and saw the fix for this and applied it.
-
Thank you Brian, Al and whoever else was involved for gettting this fixed so quickly. Really appreciated
-
That looks alot better - Thanks again!
-
Found it! I keep copies of my changed files on my computer. Those are the ones I checked. I decided to check thru cPanel and found it in element.google_analytics.php Thanks for all your help!
-
I have looked thru those files and more many times and I can't find a rogue }. Probably looking right at it and don't see it knowing me. I changed to the dropdown box for the pagination but I hope this gets resolved sooner than later - that box is ugly LOL
-
It's based off Foundation. When I upgraded to 6.4.9 I went thru each file to see what changes were made. I just noticed that my other store that is running 6.4.7 has this same issue. "The "bug", so to speak, is that CC6 can no longer deal with 'page=all', but did not provide code to catch that should it happen." What can I do to remedy this?