Jump to content

Dirty Butter

Moderator
  • Posts

    6,634
  • Joined

  • Last visited

  • Days Won

    139

Everything posted by Dirty Butter

  1. Confirmed that the 6.1.2 commit also works properly with the edited version Bsmither provided. And a complete fix for this issue is included in today's GitHub commit of 6.1.2.
  2. I'm too tired to fool with any more code today - I'll double check all my merges tomorrow - since you don't get the error message it's likely a goof of mine. Sounds like both of us need a rest for the night LOL!
  3. line 503 >> function getCountryFormat($input, $match = 'numcode', $fetch = 'name') { /* ORIGINAL 6.1.2 BSMITHER FIX FOR DENMARK BELOW if(($match == 'id' || $match == 'numcode') && !ctype_digit($input)) return $input; */ if(($match == 'id' || $match == 'numcode') && !ctype_digit((string)$input)) { $country = $GLOBALS['db']->select('CubeCart_geo_country', array($fetch), array($match => $input)); return ($country) ? $country[0][$fetch] : false; } line 564>> function getStateFormat($input, $match = 'id', $fetch = 'name') { /* STOCK 6.1.2 BSMITHER EDIT BELOW FOR DENMARK if($match == 'id' && !ctype_digit($input)) return $input; */ if($match == 'id' && !ctype_digit((string)$input)) return $input; if (($county = $GLOBALS['db']->select('CubeCart_geo_zone', false, array($match => $input))) !== false) { return ($fetch == 'abbrev' && empty($county[0][$fetch])) ? $county[0]['name'] : $county[0][$fetch]; } return $input; } Other than that includes/functions.inc.php is stock from GitHub 6.1.2. I download the day's commit as a zipped file, extract, and compare with the previous commit. Then I make the changes on the test site. I cannot currently make the database index changes that are in 6.1.2 - Al suspected those changes would not work for everyone, and I'm one who can't use it as is. But I don't think those changes would be an issue here. Everything I've checked on the test site worked properly today, until I tried this Denmark edit.
  4. I just made that change in our plush test site that is on today's commit for 6.1.2. I get this when I refresh the Order page
  5. I just tried Denmark on my test site. Everything looked perfect when I setup a Denmark Sales Tax setting. But when I tried to create an order in Admin, I, too, see 208 instead of Denmark. I deleted the 208 in the Countries table and typed it again. Then I cleared all cache and tried creating the order with Denmark Sales Tax again - still getting 208.
  6. I've marked this thread as resolved, but if you have more problems don't hesitate to post, and I'll remove the resolved designation.
  7. I need clarification @bsmither Is your code change above a temporary solution to stop the nagging error message, OR is it a better code that will still provide the update available notice without the nagging error message?
  8. It's probably in the email Content template. Goto File Manager>Email Templates>Email Templates tab at top of page>Default Emails Edit Source Code of HTML Content tab and also in the Plain Text Content. Here's a copy of ours: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> </head> <body bgcolor="#f7f7f7"><meta content="text/html; charset=UTF-8" http-equiv="Content-Type"> <style type="text/css">html, body, table { font-family: Arial; font-size: 14px; } </style> </body> </html> <title>Default HTML Template</title> <base href="{$DATA.storeURL}" /> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tbody> <tr> <td align="center"> <table bgcolor="#ffffff" border="0" cellpadding="15" cellspacing="0" width="580"> <tbody> <tr> <td><a href="{$DATA.storeURL}"><img alt="{$DATA.storeName}" border="0" src="{$DATA.logoURL}" /></a></td> </tr> <tr> <td>{$EMAIL_CONTENT}</td> </tr> <tr> <td> <p>We&#39;re here to help,</p> <p>Rosemary</p> <p>{$DATA.storeName}<br /> <a href="{$DATA.storeURL}">{$DATA.storeURL}</a></p> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <p>&nbsp;</p>
  9. From GitHub https://github.com/cubecart/v6/pull/1107 SemperFiWebServices extensions have a way to be informed of updates being available. Hopefully other developers will soon have something similar for plugins they do not have in the Extension Marketplace.
  10. Goto Store Settings>Layout tab>in the middle of the page there are choices. Each Product Listing has a set of choice boxes to enable/disable Include in Featured/Latest/Available.
  11. Hi @Ivan R. Welcome to the forums. I don't have the skills to be of help, but if you haven't already, please create the error log and report any results. I've seen other posts about too many connections and not being able to fetch mysqli, but none of the ones I searched for seemed to provide solutions. I do see your store and the product with 3 images. And at first I was able to click on the images and see all three of them. Now I'm getting the error messages you quoted above. Since none of the tech savvy people are around this evening, you might want to contact your host and tell them about the error messages you are getting.
  12. Hi @Trickyjimz Welcome to the forums! I'm not one with the skills to be of much help, but maybe I can suggest some information you could provide that might help the tech savvy ones around here. If you haven't already, please create the error log and provide any messages you get when trying to deal with images. What version of v6 did you upgrade to? Do you have a full backup of files and database of your v3 store? How did you make the upgrade - from within CC? With some kind of host software? unzipped v6 and then uploaded to your server? uploaded the zipped v6, extracted it and then ran setup? You say you have checked permissions and they are correct, but you can't add an image folder. Are you trying to add the image folder from CC Admin FileManager or from ftp or cPanel Folder view? There are a huge number of database differences between v3 and v6 - do you have access to the database tables via cPanel or some such arrangement? See this discussion:
  13. Here's the current GitHub link fix: https://github.com/cubecart/v6/issues/1326
  14. That's correct. This has already been discussed in GitHub, but for now you will have to manually star the box by the main image and check any additional images. https://github.com/cubecart/v6/issues/1283 This is currently closed, but likely needs to be re-opened.
  15. This is in GitHub for 6.1.2. You might be able to upgrade that part to your own install. https://github.com/cubecart/v6/commit/c430797b6c71f2cb32e2c377cbcebba5c978df50
  16. Bsmither's suggestion to immediately bounce to the Latest Products sounds to me like what you want. BUT Is there no predictable pattern to your old urls? So there's not going to be any way to use Rewrite to 301 from old urls to the new CC url format?
  17. Could you give an example of a url that 404's and what the url for your CC page should be? Also, what is in your .htaccess file now? There IS a 404 page coded in the Foundation template files. You are free to re-word it to suit yourself. It should show all the page structure found in main.php except for the Latest Products and possibly some plugin additions, plus your 404 wording.
  18. The Demo for SFWS's plugins is on HIS site, not on the Demo tab on the Extension Marketplace. http://cc61demo-plugins.semperfiwebservices.com/index.php
  19. There are quite a few database changes between 6.0.7 and 6.1.1 - perhaps not all the changes took effect. You can go to the setup folder in the db/upgrade folder and use cPanel to check your tables to see if each db change from 6.0.7 up was made. If you find one that needs to be upgraded, you can run the changes from SQL in your database.
  20. I had to re-word the titles of several listings because I use the word "muzzle" to designate the mouth area of a stuffed animal. It hit their rules against firearms! And for a while they were banning our used toys because I have the brand in the title (of course) - called it copyright infringement. I complained about the brand thing and got around the firearms thing by taking the word out of the title, but leaving it in the description. Good luck getting this straightened out! I left eBay because they wanted too much control - now I feel like I'm in the same situation with Google.
  21. He needs to be able to have all the order and customer related entries up-to-date at the time of changing to the mirror database. I have a test site with current code, but all order, customer, and item entries made on the live site since the creation of the test site are missing.
  22. The url to your store might be helpful to someone knowledgeable enough to help you. Also, any error log entries? Do you have the correct store location in the SEO tab of Store Settings? global.inc.php?
  23. THAT WAS IT!! Thank you SO much! I deactivated the W3 Total Cache on the dirtybutter.com Wordpress site and the strange behavior stopped!! Everything pointed to a cache problem, but I was looking in the wrong place. May you have a HAPPY THANKSGIVING today, @bsmither
  24. I didn't upload the BcFiles! Didn't even see the folder. Uploading it now and will zip to you too
×
×
  • Create New...