Jump to content

Claudia M

Member
  • Posts

    847
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by Claudia M

  1. This is what I get with debug

    PHP:
    [Notice] /home1/willow39/public_html/classes/order.class.php:558 - Undefined index: retrieve[Notice] /home1/willow39/public_html/classes/user.class.php:455 - Use of undefined constant CC_ADMIN - assumed 'CC_ADMIN'[Notice] /home1/willow39/public_html/classes/order.class.php:295 - Undefined index: taxes[Notice] /home1/willow39/public_html/classes/order.class.php:504 - Undefined variable: complete[Notice] /home1/willow39/public_html/classes/seo.class.php:492 - Undefined variable: title

  2. I'll create the error log in your link asap  For now:

    permissions are the same

    Nothing in the admin error log

    Here is a sample of the control panel error log:

    [04-Dec-2016 19:54:49 UTC] PHP Warning:  Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 19:54:49 UTC] PHP Warning:  Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 19:54:49 UTC] PHP Warning:  Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 15:01:00 America/Louisville] PHP Warning:  array_keys() expects parameter 1 to be array, boolean given in /home1/willow39/public_html/admin_spNz8c/sources/dashboard.index.inc.php on line 311
    [04-Dec-2016 15:08:39 America/Louisville] PHP Warning:  array_keys() expects parameter 1 to be array, boolean given in /home1/willow39/public_html/admin_spNz8c/sources/dashboard.index.inc.php on line 311
    [04-Dec-2016 16:08:14 America/Louisville] PHP Warning:  array_keys() expects parameter 1 to be array, boolean given in /home1/willow39/public_html/admin_spNz8c/sources/dashboard.index.inc.php on line 311
    [04-Dec-2016 21:21:28 UTC] PHP Warning:  Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 21:21:28 UTC] PHP Warning:  Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 21:21:28 UTC] PHP Warning:  Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 21:21:28 UTC] PHP Warning:  Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 21:23:58 UTC] PHP Warning:  Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 21:23:58 UTC] PHP Warning:  Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 21:23:58 UTC] PHP Warning:  Security Warning: Illegal array key "$Path" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 21:23:58 UTC] PHP Warning:  Security Warning: Illegal array key "$Domain" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72
    [04-Dec-2016 21:33:25 UTC] PHP Warning:  Security Warning: Illegal array key "sort%252525255Bdate_added%252525255D" was detected and was removed. in /home1/willow39/public_html/classes/sanitize.class.php on line 72

     

    I created the ini-custom.inc.php file and uploaded it.  I already had the error_log file - that is where the above errors are

  3. so it doesn't matter if this line in the getCategoryProducts() function gets deleted?

    foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list_return') as $hook) include $hook;

    CC6 Code

           foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list') as $hook) include $hook;

                       $productList = $this->getProductData($list, 1, $order, $per_page, $page, true);

                                  }

                                  foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list_return') as $hook) include $hook;

                                  return (isset($productList) && is_array($productList)) ? $productList : false;

                   }

     

  4. I can't get the prev::next mod to work for CC6.  I mean nothing is showing up at all.  Most of the code from the CC5 version fits in the CC6 coding but I'm having problems with the following:  Thanks in advance for your help

     

    /classes/catalogue.class.php

    This is what the getCategoryProducts() function changes to make looks like in your CC5 mod:

    Was:

                                                 $productList = $this->getProductData($list, 1, $order, $per_page, $page, true);

                                  }

     

                                  return (isset($productList) && is_array($productList)) ? $productList : false;

                   }

     

    Now:

                                                 $productList = $this->getProductData($list, 1, $order, $per_page, $page, true);

                                  }

                                  $GLOBALS['session']->set('last_visited_category',$category_id,'client',true);

                                  $GLOBALS['session']->set('last_visited_category_product_ids',$list,'client',true);

                                  return (isset($productList) && is_array($productList)) ? $productList : false;

                   }

     

     

    This is what getCategoryProducts() function looks like in CC6.0.12:

     

    public function getCategoryProducts($category_id, $page = 1, $per_page = 10, $hidden = false) {

                                  if (strtolower($page) == 'all') {

                                                 $per_page = false;

                                                 $page  = false;

                                  }

     

                                  $where2 = $this->outOfStockWhere(false, 'INV', true);

     

                                  if (($result = $GLOBALS['db']->query('SELECT I.product_id FROM `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_category_index` as I,  `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_inventory` as INV WHERE I.cat_id = '.$category_id.' AND I.product_id = INV.product_id AND INV.status = 1'.$where2)) !== false) {

                                                 $this->_category_count = $GLOBALS['db']->numrows();

                                                 if (isset($_GET['sort']) && is_array($_GET['sort'])) {

                                                                foreach ($_GET['sort'] as $field => $direction) {

                                                                               $order[$field] = (strtolower($direction) == 'asc') ? 'ASC' : 'DESC';

                                                                               break;

                                                                }

                                                 } else {

                                                                $order_column = $GLOBALS['config']->get('config', 'product_sort_column');

                                                                $order_direction = $GLOBALS['config']->get('config', 'product_sort_direction');

                                                                $order[$order_column] = $order_direction;

                                                 }

                                                 foreach ($result as $product) {

                                                                $list[] = $product['product_id'];

                                                 }

                                                 foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list') as $hook) include $hook;

                                                 $productList = $this->getProductData($list, 1, $order, $per_page, $page, true);

                                  }

                                  foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list_return') as $hook) include $hook;

                                  return (isset($productList) && is_array($productList)) ? $productList : false;

                   }

     

    There are now more lines between where the changes go so where do I put the new changes?

     

    I tried this:

     

    foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list') as $hook) include $hook;

                                                 $productList = $this->getProductData($list, 1, $order, $per_page, $page, true);

                                  }

                                  $GLOBALS['session']->set('last_visited_category',$category_id,'client',true);

                                  $GLOBALS['session']->set('last_visited_category_product_ids',$list,'client',true);

     

                                  foreach ($GLOBALS['hooks']->load('class.catalogue.category_product_list_return') as $hook) include $hook;

                                  return (isset($productList) && is_array($productList)) ? $productList : false;

                   }

     

    This is what my /main.php Breadcrumb code looks like:

    <div class="row bgwhite">

                <div class="small-12 small-collapse thinmarg-top">

                  {include file='templates/element.breadcrumb.php'}

                   </div>

                 </div>

     

    and this is what my elements.breadcrumbs.php file looks like:

    <div id="element-breadcrumbs">

       {if $CRUMBS}

       <ul class="breadcrumbs" style="margin-bottom: 0.250rem">

          <li><a href="{$STORE_URL}"><span class="show-for-small-only"><i class="fa fa-home"></i></span><span class="show-for-medium-up">{$LANG.common.home}</a></span></li>

          {foreach from=$CRUMBS item=crumb}

          <li><a href="{$crumb.url}">{$crumb.title}</a></li>

          {/foreach}

       </ul>

       {else}

      <!-- <div class="thickpad-top"></div> -->

       {/if}

    </div>

     

    Where do I put the changes from the CC5 mod?

     

    <div id="breadcrumb">

      <div id="prev_next" style="float:right;">

    {if $PRODUCT.previous}

        <a href="{$PRODUCT.previous}">Prev</a>

    {/if}

    {if $PRODUCT.previous && $PRODUCT.next}::{/if}

    {if $PRODUCT.next}

        <a href="{$PRODUCT.next}">Next</a>{/if}

      </div>

  5. I was looking at the instructions for this and I think I remembered why I couldn't use it for my cc5 store.  I can't go by product IDs.  Mine are in no set order as I do not list items in a set order.  EX:  one incense burner could have a product ID of 5.  Then I list a vintage telephone giving it a product ID of 6.  Then I list another incense burner, giving it a product ID of 7.  See where I'm going?  My incense burners will stop having a product ID in order pretty quick.  There's no way I can list items so each catepory will have consecutive product IDs.  Is there anyway this could go by Product Codes?  I do have them in order. Example of my vintage advertising ashtrays:  VATA010M, VATA015M, VATA020M, VATA025M. Note they are spaced by 5 in case I want to add a product between them. 10 - 15- 20 - 25.  Or, better yet, can I use the custom sort number generated from my Custom Product Sort mod by SemperFi - I love that mod!  It just goes by the above numbers without the letters.

    Thanks,

    Claudia

  6. Hi,

    I would like to place a previous button on each product page at the top left under the title line and a next button on each product page at the top right under the title line.  This way a shopper can continue browsing items in a category without having to go back to the category page.

    Here's an example of what one of my product pages looks like:

    https://www.claudiasbargains.com/set-of-vintage-treadle-sewing-machine-drawers-in-case-2.html

    I'd want it under the line under the title.

    Thanks in advance for any and all help!

    Claudia

     

  7. Well ...  I'm done unless your comments or my brain cells think of something else.

    https://www.claudiasbargains.com/

    I couldn't have done this without the following people.  So thank you so very much to:

     

    Brian Smithers - forum help

     

    Daren Clarke  SemperFiWebServices:   

    Add to Social Media

    Custom Product Sort

    Related Products

    Ask about a Product

    Verical Navigation Menu

     

    Alec Broughton  Noodleman:

    Products Addon

     

    Cart Designs:

    Sitemap

     

    If I forgot anybody I'm sorry.

    This post sounds like I just won an Academy Award.  LOL

     

    Claudia

    • Like 1
  8. Hi,

    I was editing some products today and all was fine.  Suddenly I go to edit a product (clicked the edit box in admin) and the page won't load.  Totally blank.  The page address is in the browser address bar - just won't load.I tried clearly the cache and hard clearing the browser CTL + F5 - nothing

    Thanks in advance,

    Claudia

    Well,  it suddenly started working again.  Sorry for the bother. Anyone know what might have caused this?

  9. Hi,

    How can I remove the ( ) around the shipping product, ex.  ($7.51) USPS: First Class,  in the dropdown menu on the checkout page for the shipping price options.  I'd also like to put another space between the price and shipping product.  And how can I change the blue color of the hover when looking at the dropdown shipping price options.

    Thanks for any and all help,

    Claudia

  10. Hi,

    What does this error mean?  Is it something to worry about?  I'm running 6.0.11

    [21-Mar-2016 14:36:08 UTC] PHP Warning:  Stored session data did not match DB record. Session aborted as possible session hijack. Old IP Address: '66.249.75.219' New IP Address: '66.249.74.73' Old User Agent: 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F70 Safari/600.1.4 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)' New User Agent: 'Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)' in /home1/willow39/public_html/classes/session.class.php on line 651

    Thanks,

    Claudia

     

  11. Thanks so much!

    I changed the code a little so the URL would be on its own line.  Do you think this is okay and won't cause any problems?

    <div class="row">
      <div class="small-6 medium-3 columns receipt">Shipping Method:</div>
      <div class="small-6 medium-9 columns receipt"><a href="{$DELIVERY.url}" target="_blank">{$DELIVERY.product}</a></div>
      </div>
      <div class="row">
      <div class="small-6 medium-3 columns receipt">Tracking Information:</div>
      <div class="small-6 medium-9 columns receipttrack"><a href="{$DELIVERY.url}" target="_blank">{$DELIVERY.url}</a></div>
    </div>


    Thanks Brian,

    Claudia

  12.  

    Hi,

    I just updated to 6.0.11 and I am having this issue:

    1. I place a test order using print order form as payment method

    2.  I go into admin and add a tracking number - full URL - in the delivery section of the order

    3.  As customer I look at  my order history.  This is what I find

    Delivery

    Shipment Tracking Number:  All_In_One_Shipping (USPS: First Class)  

    (USPS: First Class)   is my Method Name/Description in the All in One Shipping Module

    No tracking number. Click on All_In_One_Shipping (USPS: First Class) and it does takes you to the USPS tracking site.

    I must mention, I hate, hate, hate, the wording All_In_One_Shipping showing up anywhere.  To me it seems very unprofessional.  To that end I have removed {shipping_method} (or wording to that effect) in admin, emails, anywhere I find it.  I'm just having trouble with this portion on the content.receipt.php skin file.  I did change it in the order summary section.  How do I get the tracking number to show instead of the All_In_One_Shipping (USPS: First Class)?

    Here's my code:

    {if $DELIVERY}

    <hr>

    <h4 class="page-section-title">{$LANG.common.delivery}</h4>

    {if !empty($DELIVERY.date) && $DELIVERY.date!=='0000-00-00'}

    <div class="row">

      <div class="small-6 medium-3 columns receipt">{$LANG.orders.shipping_date}:</div>

      <div class="small-6 medium-9 columns receipt">{$DELIVERY.date}</div>

    </div>

    {/if}

     {if !empty($DELIVERY.url)}

    <div class="row">

      <div class="small-6 medium-3 columns receipt">{$LANG.orders.shipping_tracking}:</div>

      <div class="small-6 medium-9 columns receipt"><a href="{$DELIVERY.url}" target="_blank">{$DELIVERY.method}{if !empty($DELIVERY.product)} ({$DELIVERY.product}){/if}</a></div>

    </div>

    {elseif !empty($DELIVERY.tracking)}

    <div class="row">

      <div class="small-6 medium-3 columns">{$LANG.catalogue.delivery_method}:</div>

      <div class="small-6 medium-9 columns">{$DELIVERY.method}{if !empty($DELIVERY.product)} ({$DELIVERY.product}){/if}</div>

    </div>

    <div class="row">

      <div class="small-6 medium-3 columns receipt">{$LANG.orders.shipping_tracking}:</div>

      <div class="small-6 medium-9 columns receipttrack">{$DELIVERY.tracking}</div>

     

    Thanks in advance for any and all help,

    Claudia

×
×
  • Create New...