

Claudia
Member-
Posts
234 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Claudia
-
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?
-
That didn't change anything
-
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
-
Thanks Brian What about my pagination code stuff?
-
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
-
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
-
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.
-
Thanks Brian ... I'll just clear the log What about being logged out of admin so often?
-
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
-
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
-
1. In admin, Dashboard, Store Overview tab and also in cPanel / Select PHP Version. It reverted back to native 7.4.3
-
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: "}"
-
Do not send email notifications on status change
Claudia replied to Claudia's topic in Technical Help
Sorry, I meant the email sent after the order has been paid. The order confirmed email. That will always be sent Right? -
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