Jump to content

Dirty Butter

Member
  • Posts

    6,627
  • Joined

  • Last visited

  • Days Won

    139

Everything posted by Dirty Butter

  1. Sorry Brian - which file? class.gui.sessions.list.php, gui.class.php, controller.index.inc.php, index.php
  2. Since SemperFi's plugins are no longer supported, I wonder if there is an easy way to fix what's causing this error message: [<strong>Deprecated</strong>] /home/butter01/public_html/plushmemories.com/lovie-shoppe/modules/plugins/SFWS_Site_Testimonials/class.site_testimonials.php:163 - Unparenthesized `a ? b : c ? d : e` is deprecated. Use either `(a ? b : c) ? d : e` or `a ? b : (c ? d : e)` https://plushmemories.com/lovie-shoppe/1993-shari-lewis-wooly-lamb-chop-full-body-puppet-lc-shirt.html?item_group_id=PG_3713 Here's the popup from that message mutingErrorHandler() (class.gui.session.list.php:4) require_once() (class.gui.session.list.php:4) include() (gui.class.php:1564) _displaySessionBox() (gui.class.php:360) displayCommon() (controller.index.inc.php:91) include() (index.php:20)
  3. Using PayPal payments allows for echecks. I have code in my CC install from way back when that a developer wrote for me that adds the needed emails for admin and customer. It subtracts from inventory just as it would for a regular payment. But it's NOT a plugin. It has to be manually carried forward from upgrade to upgrade and on occassion I have had to modify the code to keep it working as CC changes required it.
  4. Thanks - I thought I remembered some cookie code had changed in the last upgrade, so figured I would ask.
  5. Not getting any errors logged when debug is disabled, so I am happy to see that. I turned on debug to see what would pop up. I am curious if this is a notice I should be worried about. I thought CC had cookies set to samesite=none and secure. XXX/classes/session.class.php:608 - Undefined index: samesite
  6. CubeCart has finally made incremental order numbers work properly for me! Thank you Al, for sticking with all my complaints about this until it worked. There is one code change that still needs to be made to get perfection regarding order numbers with 6.4.2. That has to do with the Preview in Admin of the Increment Increase number. There needs to be code that will delete the existing config database table value for the increment increase number. Erasing whatever number I had previously as the Increment Increase in Store Settings/Features and saving it as a blank does not remove that number from the config. In order to use the Preview and actually get the predicted number, I had to Decode the Base64 config data in phpMyAdmin, remove my old Increase number, and then Encode the edited config and save it. See https://github.com/cubecart/v6/issues/2439#issuecomment-753237166
  7. While fiddling with the commits before this latest upgrade I sometimes ended up with .html.html.html type extensions. I found I could fix the mess by doing a phpMyAdmin query to replace .html.html with a blank. And I also used the Maintenance setting to remove all custom seo urls. I kept playing with it until I could create the sitemap that looked correct.
  8. I have default currency set within Google Merchant Center Settings. My feed works without mention of the currency.
  9. The FireFox Responsive Design mode shows our navigation correctly for an IPad using SFWS Vertical navigation. Now I'm wondering if it looks ok on an actual IPad. plushmemories.com/lovie-shoppe
  10. Your edit fixed it for me as far as I can tell. Will test some more when I have time.
  11. I want customers to see the zero ones (front end shows Sold), but I do not want a warning about stock level of zero ones. I can't think of any custom edits I have in place that would affect this.
  12. I found this in dashboard.index.inc.php just now in the test site on 6.4.3 commit: $stock_warn_level = ((int)$GLOBALS['config']->get('config', 'stock_warn_level')>0) ? $GLOBALS['config']->get('config', 'stock_warn_level') : '0'; $condition = $GLOBALS['config']->get('config', 'stock_warn_type') == '1' ? 'I.stock_warning' : $stock_warn_level;
  13. I do not remove sold items from the store listings on our plushmemories store, as helping people find lovies is part of our business plan. So I have always had the stock level that triggers a warning set to negative one. 6.4.2 ignores that negative number and shows stock warnings for all out of stock items. Any suggestions as to how to fix this?
  14. Yes, I have fiddled with the default FF screen size, as I'm having issues seeing some of the smallest print size areas, like the Bookmark sbar . BUT I just did a new install of FF over my old one, instead of the upgrade, and now I DO see the Shopping Cart. As for SFWS, I quit trying to get the Social MEdia one work. I just post products manually to various media sites. I should have thought to check browsers a long time ago, but knowing CC was still in commits when this happened I assumed it was my fault or a CC flaw. At least things look right again, and I can think about upgrading our busy shop. Thanks for the help!!
  15. I can't see your screenshot - but after your input that it looked right to you, I tested on Chrome. The problem is with FireFox, and I've been going crazy trying to find my mistake with CC!!! UGH! I don't see anything odd in my FF settings to explain why this does not display for me.
  16. So do you SEE the cart from the checkout page - a place to choose shipping, add coupon codes, etc., and a payment button?? Could one of you show a screenshot of what the checkout page with basket looks like for you? Here's what mine looks like: AH!!! It's FireFox!! Works correctly with Chrome. Any idea what I need to change in settings on FF to fix this?
  17. I am in desperate need of help solving this problem. Please go to https://dirtybutterestates.com and put any item with an image in the shopping cart . The cart pops up as it should. Then click to View Basket. If you are lucky enough, you may see the fleeting view of the Shopping Cart, but it never shows up again. This problem started with the commits right before 6.4.0 betas were released. I assumed it was some code error I had made, since no one else has complained about this happening. THIS dirtybutterestates.com is totally stock, with Standard PayPal and USPS extensions installed. Stock skin, the works. I installed 6.4.1 over the 6.4.0 I had previously, keeping my own naming system for admin and admin.php. The only entry in the php error log has to do with an extension I do not have active at this time. [14-Nov-2020 16:24:32 America/Chicago] PHP Notice: Error: Hook 'SFWS_Plugin_Updates_Available/hooks/admin.dashboard.tabs.php' was not found in /home/butter01/public_html/dirtybutterestates.com/classes/hookloader.class.php on line 298 There are only Notices in the Admin Error log.
  18. THANK YOU! Such a little word "and". I really appreciate the time you spend helping so many here. Going to test it now with the 6.4.0 code and will report, but I don't expect any problem there now. I can verify that your code edit has fixed the 6.4.0 current commit as well.
  19. You can follow CC's progress on new code via GitHub. Commits can be downloaded from there and tested out. But as sometimes happens, there are unintended consequences with new code, and this should never be done on a live site until the final version is released.
  20. This was the last 100% working version of your special search code I've been using Bsmither, which worked completely correctly on 6.2.8. When CC added the choices in Advanced Search for different ways to include Manufacturer in the search - I stopped being able to search for manufacturer. So I temporarily commented out the customer's ability to search by manufacturer and never got back to it. I would like to remedy that now if possible. I want to use the "chosen" way of finding the manufacturer: {include file='templates/element.search.manufacturers.select.chosen.php'} It does not find anything when I search and I get this error messages: File: [catalogue.class.php] Line: [2014] "SELECT I.* FROM CubeCart_inventory AS I LEFT JOIN (SELECT product_id, MAX(price) as price, MAX(sale_price) as sale_price FROM CubeCart_pricing_group WHERE group_id = 0 GROUP BY product_id) as G ON G.product_id = I.product_id WHERE I.product_id IN (SELECT product_id FROM `CubeCart_category_index` as CI INNER JOIN CubeCart_category as C where CI.cat_id = C.cat_id AND C.status = 1) AND I.status = 1 I.manufacturer IN (11) AND `live_from` < UNIX_TIMESTAMP() AND ((I.name RLIKE '[[:<:]]tin[[:>:]]') OR (I.product_code RLIKE '[[:<:]]tin[[:>:]]') OR (I.search_keywords RLIKE '[[:<:]]tin[[:>:]]') OR (I.description RLIKE '[[:<:]]tin[[:>:]]')) ORDER BY `name` ASC LIMIT 12 OFFSET 0 " - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'I.manufacturer IN (11) AND `live_from` < UNIX_TIMESTAMP() AND ((I.name RLIKE '[' at line 1 File: [catalogue.class.php] Line: [2016] "SELECT I.* FROM CubeCart_inventory AS I LEFT JOIN (SELECT product_id, MAX(price) as price, MAX(sale_price) as sale_price FROM CubeCart_pricing_group WHERE group_id = 0 GROUP BY product_id) as G ON G.product_id = I.product_id WHERE I.product_id IN (SELECT product_id FROM `CubeCart_category_index` as CI INNER JOIN CubeCart_category as C where CI.cat_id = C.cat_id AND C.status = 1) AND I.status = 1 I.manufacturer IN (11) AND `live_from` < UNIX_TIMESTAMP() AND ((I.name RLIKE '[[:<:]]tin[[:>:]]') OR (I.product_code RLIKE '[[:<:]]tin[[:>:]]') OR (I.search_keywords RLIKE '[[:<:]]tin[[:>:]]') OR (I.description RLIKE '[[:<:]]tin[[:>:]]')) " - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'I.manufacturer IN (11) AND `live_from` < UNIX_TIMESTAMP() AND ((I.name RLIKE '[' at line 1 I had tried adding I.manufacturer to the array of search terms in catalog.class.php, but it did not fix it. $columnsToSearch = array('I.name','I.product_code','I.search_keywords','I.manufacturer',); // columns where contents are plain words $columnsToSearch_desc = array('I.description','I.manufacturer',); // columns where contents can be rich text
  21. Another spot that seems to need tweaking - unless of course there are code edits I've made in the past that are messing this up for me. With new commit set to no .html - hovering over a link shows no .html, -------- NO THIS DOES NOT RESOLVE TO .HTML, ALTHOUGH SITEMAP SHOWS HTML- but clicking resolves to XXX.html as it should. ------------- In testing with and without html, I realized clearing cache was not enough to get all the changes viewable and useable - it is also necessary to clear the existing seo url and allow CC to automatically populate that space again with or without html as desired. One weird thing to me is that the mewly created seo url in the product listing does not show unless I physically SAVE the product. But the sitemap created after deleting all old seo urls and empyting cache DOES show all the appropriate urls. NONE of my fiddling, however, has made anything work properly for the Login/Register link. BUT Login/Register has html hard coded in - 404's as the code is now. I tried just removing .html from the links on content.login.php and content.register.php, but that did not fix it. I would be glad to have this converstaion on GitHub instead of here, but I could not find where to comment on this. Sorry.
  22. In case anyone wants to try SemperFi's old hack, I found the code in an archived copy of our store. (The link to the post is from the old CC forum and is no longer any good. - maybe somebody knows how to find it in the new forum?) If I remember correctly, a REAL customer going through the sign up form sees the error message that first and last cannot be the same - but a bot will not see that message and will never know they were not successful. In cubecart.class.php // Check passwords match if not empty if (isset($_POST['register']) && $_POST['register']==1 && !empty($_POST['password']) && $_POST['password'] !== $_POST['passconf']) { $errors['password'] = true; $error_messages[] = $GLOBALS['language']->account['error_password_mismatch']; } //SemperFi from http://www.cubecartforums.org/index.php?showtopic=17937 STOP HACKERS // Check names aren't the same if ($_POST['user']['first_name']==$_POST['user']['last_name']) { $error['names'] = true; $error_messages[] = $GLOBALS['language']->account['error_names_same']; } //SemperFi end STOP HACKERS if (preg_match("/[a-z]/i", $_POST['user']['phone'])) { $errors['phone'] = true; $error_messages[] = $GLOBALS['language']->account['error_valid_phone']; }
  23. I did just try choosing to have the .html in the admin setting and it worked properly this time. The hover on a product listing still does not show the extension, but clicking on the product now resolves to the correct link. I've tried that in the past unsuccessfully, so maybe letting htaccess create again solved it. Comparing the old and new htaccess file - the new line does not have the html in it: RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA]
  24. Thanks to both of you! I knew it was still not completed, but since you have had success with it Al I figured it was my mistake. The one thing that really concerns me with it is that my store is on a domain that has a wordpress site at the root which is using a redirect plugin. I fear they are competing. I will try deleting the htaccess file and report. Deleting htaccess file and allowing CC to recreate did not solve it. I tried disabling the Redirection plugin on the plushmemories.com WP install, but it did not solve the problem.
×
×
  • Create New...