Jump to content

Claudia M

Member
  • Content Count

    529
  • Joined

  • Last visited

  • Days Won

    11

Claudia M last won the day on July 12 2017

Claudia M had the most liked content!

Community Reputation

4 Neutral

1 Follower

Recent Profile Visitors

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

  1. That seems to have done it!! Don't worry about the SOLD and See Listing. That was some edits I made in the skin/category template for items on Etsy or eBay. I might put them back to stock since they don't show now either. Which I like. I don't use sale items and the search results I really don't care about. Thank you so much Brian. As always!!!!
  2. I did before and i checked one just now and they don't.
  3. here you go SELECT I.product_id FROM `CubeCart_category_index` as I, `CubeCart_inventory` as INV WHERE I.cat_id = 157 AND I.product_id = INV.product_id AND INV.status = 1 AND INV.available > 0 AND `live_from` < UNIX_TIMESTAMP() -- (0.00084900856018066 sec) [NOT CACHED]
  4. "Be sure to restore the edit to the skin, just to remove any influence that may have. " Did you mean for me to remove the edit? Because now my sold items are showing in the category page with a "see Listing" and on the product page it correctly shows my modifiedThe item item has been sold.
  5. After making the changes and clearing the cache I get a white screen in admin and my store. Here's the changes I made: ( and I deleted the previous code from skin/category public function getCategoryProducts($category_id, $page = 1, $per_page = 10, $hidden = false) { if (strtolower($page) == 'all') { $per_page = false; $page = false; } $where = " AND INV.available > 0" $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'.$where.$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; }
  6. I have admin/store settings/layout/ products per page set to 15. I also changed my skin/config to 15. <layout> <products> <perpage amount="6" /> <perpage default="true" amount="15" /> <perpage amount="24" /> <perpage amount="48" /> <perpage amount="96" /> </products> </layout> But look at these pages. The first page is only showing 14 products. https://www.claudiasbargains.com/bottles-jars-and-jugs.html?page=1 https://www.claudiasbargains.com/decorative-display-and-collectibles.html?page=1 https://www.claudiasbargains.com/telephones-and-radios.html?page=1 https://www.claudiasbargains.com/tins-and-containers.html?page=1 But these categories that has more than one page shows 15 products https://www.claudiasbargains.com/electric-oil-warmers.html?page=1 https://www.claudiasbargains.com/fragrances.html?page=1 https://www.claudiasbargains.com/toys-games-and-vehicles.html?page=1 Anybody know what is causing this? Thanks for any and all help Claudia I just noticed this: First Page showing 10 products. Look at the third page https://www.claudiasbargains.com/cigar-and-other-boxes.html?page=1 https://www.claudiasbargains.com/cigar-and-other-boxes.html?page=3
  7. That's ok Ian. Thanks for helping me with this. Can I empty my error logs now?
  8. Hey Ian, Did you change my code on line 321 to } trigger_error('No useful GET['_g'] callback method defined. Got _g='.filter_var($_GET['_g'],FILTER_SANITIZE_STRING), E_USER_WARNING); httpredir('index.php'); } That is why I was getting the white screen. I changed it back to stock and now I can see my store. } trigger_error('No callback method defined.', E_USER_WARNING); httpredir('index.php'); } Me I have 123 of these system errors in admin Today, 11:16 [<strong>Exception</strong>] /home/claudias/public_html/classes/cubecart.class.php:321 - syntax error, unexpected '_g' (T_STRING), expecting ')'
  9. I don't know if the 2 are related but I can't see my store. It is just a white screen.
  10. For the life of me I could not find the corresponding error for [22-Nov-2019 19:23:19 America/Louisville] PHP Warning: No callback method defined. in /home/claudias/public_html/classes/cubecart.class.php on line 321 But I got more of the errors today and found the entries: What should I do? [25-Nov-2019 06:59:00 America/Louisville] PHP Warning: No callback method defined. in /home/claudias/public_html/classes/cubecart.class.php on line 321 [25-Nov-2019 06:59:16 America/Louisville] PHP Warning: No callback method defined. in /home/claudias/public_html/classes/cubecart.class.php on line 321 [25-Nov-2019 07:31:46 America/Louisville] PHP Warning: No callback method defined. in /home/claudias/public_html/classes/cubecart.class.php on line 321 216.246.6.170 - - [25/Nov/2019:11:59:00 +0000] "GET / HTTP/1.1" 200 14700 "https://my.supremesupport.com/staff/index.php?_m=tickets&_a=viewticket&ticketid=54859&noteconfirm=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" 216.246.6.170 - - [25/Nov/2019:11:59:16 +0000] "GET /index.php?_g=getSomething HTTP/1.1" 302 20 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" 216.246.6.170 - - [25/Nov/2019:11:59:16 +0000] "GET / HTTP/1.1" 200 14700 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" 216.246.6.170 - - [25/Nov/2019:12:31:46 +0000] "GET / HTTP/1.1" 200 14700 "https://my.supremesupport.com/staff/index.php?_m=tickets&_a=viewticket&ticketid=54859&noteconfirm=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36"
  11. What does this PHP Warning mean? [22-Nov-2019 19:23:19 America/Louisville] PHP Warning: No callback method defined. in /home/claudias/public_html/classes/cubecart.class.php on line 321 Here is my code in classes/cubecart.class.php lines 317 -328 default: foreach ($GLOBALS['hooks']->load('class.cubecart.construct.g_switch') as $hook) { include $hook; } trigger_error('No callback method defined.', E_USER_WARNING); httpredir('index.php'); } } elseif (isset($_GET['_a']) && !empty($_GET['_a'])) { //Clear cart if (isset($_GET['empty-basket'])) { $GLOBALS['cart']->clear(); httpredir(currentPage(array('empty-basket'), array('_a' => 'basket'))); Thanks for any and all explanations and help Claudia
  12. I cleared the cache from admin and also deleted the files from cPanel. When I unchecked available for purchase and use stock level from the product page in admin it worked. It is no longer showing in the category page. Thanks Brian
  13. That didn't work. Here is my code: {/if} <div id="ccScroll"> <ul class="small-block-grid-1 medium-block-grid-3 large-block-grid-3 product_list" data-equalizer> {foreach from=$PRODUCTS item=product} <li> <form action="{$VAL_SELF}" method="post" class="panel add_to_basket"> <div class="product_grid_view"> <div data-equalizer-watch> <div class="text-center"> <a href="{$product.url}" title="{$product.name}"><img class="th" src="{$product.thumbnail}" alt="{$product.name}"></a> </div> <h6 class="pad-top"><a href="{$product.url}" title="{$product.name}">{$product.name|truncate:65:"&hellip;"}</a></h6> </div> <div class="medium darkred">Product Code:&nbsp;{$product.product_code}</div> <div class="pad-bottom bold"> {if $product.available and $product.ctrl_stock} {if $product.ctrl_sale}<span class="old_price">{$product.price}</span> <span class="sale_price">{$product.sale_price}</span> {else} {$product.price} {/if} {else}&nbsp; {/if} </div> {if $product.available <= 0} <div class="row collapse marg-top"> <div class="small-12 columns"> <div> <a href="{$product.url}" title="{$product.name}" class="button medium secondary radius left">More Info</a></div> <a href="{$product.url}" title="{$product.name}" <input type="submit" class="button disabled medium radius right" disabled>See Listing </a> </div> </div>
×
×
  • Create New...