Jump to content

Claudia

Member
  • Posts

    297
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Claudia

  1. I did as you said Line 19: {$params[$var_name] = $page - 1} Line 13: {if ($page >= $show - 1)} It still doesn't work - same issues. Here's what I got in the error log [<strong>Exception</strong>] /home/cambarga/public_html/cache/skin/918a8a00811b40113065ec26a12d2bc080540e8b_0.file.element.paginate.php.php:43 - Unsupported operand types: string - int https://www.cambargainstore.com/aromatherapy?page=all [<strong>Exception</strong>] /home/cambarga/public_html/cache/skin/918a8a00811b40113065ec26a12d2bc080540e8b_0.file.element.paginate.php.php:43 - Unsupported operand types: string - int https://www.cambargainstore.com/aromatherapy?page=all
  2. Thanks Brian What about my pagination code stuff?
  3. Did something change with the pagination with CC6.4.9 or is it my custom code? 1. On all pages of my store, even checkout, there is a } on the top left corner - see image 2. On the category page my pagination is messed up. If I have multiple pages and click on the individual number it's ok. But if I click on view all it gives me a blank screen except for this in the top left corner - See image 3. Here's the code of my top pagination on the category page: {if $PAGINATION} <div class="row text-right right"> <div class="small-6 medium-12 large-12 columns show-for-medium-up thinpad-top"> {include file='templates/element.paginate.php'} </div> </div> {/if} 4. Here’s the code for the bottom pagination on the category page that I've always used: {if $PAGINATION} <div class="row"> <div class="small-12 large-9 columns"> {$PAGINATION} </div> </div> {/if} <div class="hide" id="ccScrollCat">{$category.cat_id}</div> {if $page!=='all' && ($page < $total)} {$params[$var_name] = $page + 1} {* Add "hide-for-medium-up" to the class attribute to not display the more button *} <a href="{$current}{http_build_query($params)}{$anchor}" data-next-page="{$params[$var_name]}" data-cat="{$category.cat_id}" class="button tiny expand ccScroll-next hide-for-medium-up">{$LANG.common.more} <svg class="icon"><use xlink:href="#icon-angle-down"></use></svg></a> {/if} <div class="text-center hide" id="loading"><svg class="icon-x3"><use xlink:href="#icon-spinner"></use></svg></div> </div> 5. When I noticed the above I looked at my error log and I still had over 800 errors even though I had changed my ini.inc.php file as Brian suggested. Is it always going to be like this? 6. Here's what was in the error log pertaining to the pagination. Today, 10:58 [<strong>Exception</strong>] [<strong>Deprecated</strong>] /home/xxxxx/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/ashtrays?page=1 Today, 10:58 [<strong>Exception</strong>] /home/xxxxxx/public_html/cache/skin/918a8a00811b40113065ec26a12d2bc080540e8b_0.file.element.paginate.php.php:43 - Unsupported operand types: string - int https://www.cambargainstore.com/ashtrays?page=all Today, 10:58 [<strong>Deprecated</strong>] /home/xxxxxxx/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/ashtrays?page=3 Today, 10:58 [<strong>Deprecated</strong>] /home/xxxxxxx/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/ashtrays?page=2 As always I truly appreciate any and all help Claudia
  4. If that's the same as debug disabled in admin / Store Settings / Advanced then yes. If the debug mode you're talking about is something else I don't know what it is
  5. Hey Brian, Do you think all these errors should be reported to the GitHub? I have over 15,000 of them on my other site that is still running CC6.4.7 with PHP 8.1. The amount keeps growing on my current store too.
  6. Thanks Brian ... I'll just clear the log What about being logged out of admin so often?
  7. I think I have all the above sorted out, but now these are popping up in my admin system error log. There's more but you get the idea. Also I keep getting logged out of admin. [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/session.class.php:676 - strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated http:/// [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/session.class.php:676 - htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated http:/// [<strong>Deprecated</strong>] /home/xxxxxx/public_html/classes/debug.class.php:260 - strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated http:/// [<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://109.123.79.170/ [<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/picture-frame-dog-large-fox-terrier-4x6 [<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://109.123.79.170/ab2g [<strong>Deprecated</strong>] /home/xxxxx/public_html/classes/db/database.class.php:184 - strtolower(): Passing null to parameter #1 ($string) of type string is deprecated https://www.cambargainstore.com/admin_ZRmm9l.php?_g=customers [<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/web/wp-includes/wlwmanifest.xml [<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/sito/wp-includes/wlwmanifest.xml [<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/wp2/wp-includes/wlwmanifest.xml [<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/cms/wp-includes/wlwmanifest.xml [<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/wp1/wp-includes/wlwmanifest.xml Today, 14:20 [<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/test/wp-includes/wlwmanifest.xml
  8. The filemanger changes worked. I must have used and old file As for the PHP version after I upgraded to 6.4.9 I just happened to look at the store overview in admin to make sure it said 6.4.9. That's when I noticed the PHP was at 7.4.3. I told Ian about it and he changed it back to 8.1.13
  9. 1. In admin, Dashboard, Store Overview tab and also in cPanel / Select PHP Version. It reverted back to native 7.4.3
  10. I have updated my store to 6.4.9 using the stock code downloaded from the CubeCart home page. I've come across some issues. 1. My PHP version was downgrade to 7.4.3 from the 8.1.13 I was using. 2. My administrator for Ian (Havenswift) disappeared 3. The update to change the alt tag for photos in admin isn't there 4. Even though I have Venmo unchecked in the PayPal Commerce plugin it was checked after the upgrade and I had to manually uncheck it. I use a custom skin and went thru each file from the Foundation skin with stock 6.4.9 and made the appropriate changes. When I upgraded the image portion of the code in the content.products ( I merged the files ) I got a white screen and the following error. Note the extra ) here: {$LANG.catalogue.click_enlarge}"{if isset($image.image_tags.title))} When I deleted it, it worked fine [<strong>Exception</strong>] /home/xxxxxxx/public_html/includes/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:32 - Syntax error in template "file:/home/xxxxxxx/public_html/skins/xxxxxxx-1/templates/content.product.php" on line 32 "<li><a href="{$image.source}" class="th"><img src="{$image.small}" data-image-swap="{$image.medium}" data-caption="{$PRODUCT.name}{if !empty($image.description)}: {/if}{$image.description}" class="image-gallery" alt="{if isset($image.image_tags.alt) && !empty($image.image_tags.alt)}{$image.image_tags.alt}{else}{$image.name}{/if} - {$LANG.catalogue.click_enlarge}"{if isset($image.image_tags.title))} title="{$image.image_tags.title}"{/if}></a></li>" - Unexpected ")", expected one of: "}"
  11. Sorry, I meant the email sent after the order has been paid. The order confirmed email. That will always be sent Right?
  12. I am assuming that if the above notification is checked or not Cubecart will always send a customer an email when an order is initially placed. Correct? If so, how can I have this box checked by default. I don't want to send an email automatically thru Cubecart when the order is completed. Also the change password and cancel order emails will still be sent if needed, right? Thanks for any and all help
  13. That seemed to do it! Have a great Thanksgiving - to all!
  14. Product Appearances Hi Brian, First off thank you for this - it is wonderful! I've tweaked it a little to add columns that I use. I don't know if that has anything to do with the error I keep getting but I wanted you to be aware of it. Also I didn't add any of my custom columns below because I really don't use the language/ definitions file much. I have it hard coded in the product order index file. if ($existing_orders) { $product_orders_thead = array( 'cart_order_id' => $lang['orders']['order_number'], 'cart_oid' => $lang['common']['order_id'], 'cart_customer' => $lang['orders']['customer_name'], 'gateway_name' => $lang['orders']['gateway_name'], 'shipping_date' => $lang['orders']['shipping_date'], 'shipping_method' => $lang['orders']['shipping_method'], ); Error: [20-Nov-2022 21:27:45 America/Louisville] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /home/xxxxxxx/public_html/modules/plugins/Product_Appearances/hooks/admin.product.tabs.php on line 22 Insert Line 22: $GLOBALS['main']->addTabControl($lang['orders']['title_orders'], 'orders',null,null,count($existing_orders),'_self',10); Also even if there are no orders for a product 1 in a red circle on the product / orders tab I'm not complaining, very thankful for this, just thought you might like to know Claudia
  15. Still not receiving the emails. That's ok if it's a lot of work don't mess with it just for me. Also noticed my emails in the log are showing the CC stock logo not mine
  16. These 2 code snippets don't seem to be working in CC6.4.7. I like to receive all customer emails and not just see them in the emal log. Any way to get this to work? Thanks in advance!!!
  17. "Create a custom product condition column in the database, use that to show to customers, and have the standard set of conditions provided by CubeCart for this markup file. " I did this many moons ago when you showed my how to create a SpecialData Tab I added this to the admin/ sources/product.index.inc file and in the definitions file // List Conditions $smarty_data['list_conditions'] = array ( 'nos' => $lang['catalogue']['condition_nos'], 'new' => $lang['catalogue']['condition_new'], 'vintage' => $lang['catalogue']['condition_vintage'], 'antique' => $lang['catalogue']['condition_antique'], 'used' => $lang['catalogue']['condition_used'], 'refurbished' => $lang['catalogue']['condition_refurbished'], 'damaged' => $lang['catalogue']['condition_damaged'] ); And added this to my custom admin product.index file: <div><label for="condition">{$LANG.catalogue.condition}</label> <span> <select name="condition" id="condition" class="textbox" type="text"> {foreach from=$CONDITIONS item=condition} <option value="{$condition@key}"{if $PRODUCT.condition == $condition@key} selected="selected"{/if}>{$condition}</option> {/foreach} </select> </span> Do you think this will work ok?
  18. I don't have any such add on itemCondition is in the skin/element.markup.json-ld file {literal}","itemCondition":"https://schema.org/{/literal}{$PRODUCT.condition|ucfirst}{literal}Condition",
  19. Since I'm in early stages of this store I'm just going to add the code back in and put whatever info in. Do have a question though. How can I add more fields to the "condition" I need at least vintage, new older stock Thanks
  20. Hi, I'm getting this from Google, for my new site, on the "Pages" in search console. They haven't indexed any of my pages. Any help is appreciated. If it means anything I don't use the stock conditions in CC. I've made my own. I also don't use the gtin,etc. because most of my items are vintage Search Console has identified that your site is affected by 2 Merchant listings structured data issue(s). The following issues were found on your site. Top critical issues* Invalid enum value in field "itemCondition" (in "offers") *Critical issues prevent your page or feature from appearing in Search results. Top non-critical issues** No global identifier provided (e.g., gtin, brand)
  21. If it's ok I'd like to have that plugin too Brian.
  22. Thanks Brian. The code change instead of the radio buttons worked great!
  23. I use radio buttons on the checkout page for medium and large displays to show the shipping cost options. How can I do this for the small display? Thanks for any and all help!
×
×
  • Create New...