Jump to content

bsmither

Member
  • Posts

    17,944
  • Joined

  • Last visited

  • Days Won

    602

Everything posted by bsmither

  1. According to the code, clicking the Update Basket button will re-verify the items in the cart, and apply any discounts awarded by a coupon token entered on the form. That page is then sent back out. Shipping is not dealt with. Any other reason the form was submitted, including a change of shipping, if a coupon is to be added or removed, that is handled and that page is then sent back out. Shipping is not dealt with. Only with an auto-submitted form caused by a change in the choice of shipping is when a change in shipping is dealt with. So, I think we need to figure out how to get the radio buttons to auto-submit the form. "I switched my install to catalog mode whilst we sorted some things out." Could it be that the things that got sorted was to implement radio buttons for shipping choices?
  2. Would that be the encoded password? The 128 character-long hash? If so, then the 'salt' value must also be the same. Catching this in CubeCart_customer is noteworthy, but what about the data in CubeCart_order_summary?
  3. I have added something to the shopping basket and was taken to view the basket contents (?_a=basket). I am not logged in, so I get estimated shipping and taxes as applicable. At the "Your Shopping Basket" page (not yet at Checkout), I see the two choices of shipping: "Collect and Mini Standard". The placement of the radio button selector is not where I am used to seeing the shipping choices. Currently, 'Collect' is chosen (the cheapest), and when I select the other, nothing happens. I believe this to be a a problem, but not the problem. The choice of shipping does get POSTed when the Update Basket is clicked. It seems that CubeCart does not switch to using that choice. (Your initial post suggests that the problem is that the shipping selector does not appear. That is not the case for me. The shipping defaults to 'Collect" at zero-cost.) To go further, I would like to discuss troubleshooting via email.
  4. Please use an external database utility to view CubeCart's database directly. In CubeCart_order_summary, examine the customer data for the suspect order.
  5. For the domain having problems, log in to the hosting provider account's control panel (Cpanel?). There you will find a tool to construct and configure your database for this domain (this tool is NOT phpMyAdmin). This tool will tell you the Host:, Database Name:, and authorized UserName(s): and to create passwords for them. Currently, for some reason, the database server this CubeCart is connecting to does not like the user 'ssilberberg' or its password for either being wrong, or has no authority to use this database.
  6. Unfortunately, this error message is so mostly off the mark as to be useless. It means that of all the shipping modules you have enabled for your store, when CubeCart asked each one to provide shipping rates, each one replied with an error (or said they had no shipping rates available based on the data supplied). With regards to CanadaPost, the common problem with eCommerce installations is that the server where they run have a firewall that is not configured to allow the module to pass outgoing traffic through port 30000. You will need to consult with your hosting provider. (We will need to confirm CanadaPost still has this method of rate request operational. I recall there being some notice about it.) Look in CubeCart's admin, Request Log to learn of the request and response made to CanadaPost.
  7. I made a few tests. Unfortunately, I did not do the tests correctly. But just to verify, in your experience with this, was the customer logged in or not? When you choose a shipping method, other than the one currently showing (defaults to cheapest), the javascript on this page is supposed to auto-submit the View Basket form. You shouldn't need to click the "Update Basket" button when selecting the shipping method. May we have a web address to check this out?
  8. Did you move the existing database - the actual server or the database to a new database server on the same computer - (like the post subject implies), or did you install another instance of CubeCart and want to connect to a different database, and that different database is on the same database server? Can't access the (new) database? Wherever this new database is at, you can get to it with phpMyAdmin from within that domain's control panel? If so, verify that the Database Manager in the control panel says that the domain has permission to access it, and that there is a user given privileges.
  9. Semi-colon? I'm thinking that's a strange one, but it's not too long. Which is what I was wanting to check.
  10. Oops, I meant just the cookie with the key that starts with CC. Such as: CC_265520000B=os5p5orc3c0respvvcjbpfu9r4 How many characters is the bold value?
  11. We can assume the customer_id's are close together, although their "closeness" would be the indicator I would use to gauge if one of the theories would have be worth exploring. That theory was worked on many versions ago: https://github.com/cubecart/v6/issues/789 In admin, PHP Info, Apache Environment table, how many characters make up the value of the HTTP_COOKIE (the part after the equal sign)?
  12. First, editing a template may require that you have CubeCart clear its skin cache. Smarty will use it's previously compiled, cached version. (Admin, Maintenance, Rebuild tab, Clear Cache.) I urge you to try editing the template again. Second, please know that this code: <table align="left" ... > is not a float. It is an alignment. It is not CSS. It is a prehistoric means of telling the browser where to place the object. "Shove this object up against the left side of its container." (Or right side, accordingly.) Third, the table cannot shrink any narrower - regardless of having applied a CSS rule for a max-width. A table (generally) will not allow the columns to be narrower than the widest word in it. I think what has happened, like overflowing into the right sidebar, the table, being align=right, now overflows into the empty space below the gallery. Fourth, know that an "in-line" CSS rule looks like this: <table style="position: absolute; right: 0px;" ...> This tells the browser to position the table absolutely against the right edge of its (also positioned) container, but maintain a gap of 0 (or however many) pixels. This CSS rule will appear in the Inspector's Rules tab for the selected element. Again, try editing the template. It is a huge waste to let all that white space stay white - giving you room for a nicely styled, uncrowded table.
  13. In the Foundation skin template content.checkout.medium-up.php: At the bottom, find: <tr> <td colspan="4"></td> <td>{$LANG.basket.total_grand}</td> <td class="text-right">{$TOTAL}</td> </tr> Change to: <tr> <td colspan="4"> <div class="small-7 columns show-for-medium-up"><a href="{$STORE_URL}" target="_self" class="button secondary nomarg">Continue Shopping</a></div> </td> <td>{$LANG.basket.total_grand}</td> <td class="text-right">{$TOTAL}</td> </tr>
  14. We have had some reports of one visitor/customer seeming to 'latch onto' the "session" of a second visitor/customer. Personally, I do not know if this has been reliably replicated, or even a fix has been attempted. By its very nature, such an event is extraordinarily rare, and working through the evidence, of whatever form it may take wherever it may be, is problematic. A "session" is based on a cookie. That cookie gets tied to a session identifier maintained by PHP. The session identifier is a file in PHP's session folder (usually /tmp) and holds, among other things, the current shopping basket. The installation of PHP can be enhanced to have a longer length session identifier. However, the CubeCart database may not have the necessary length in the CubeCart_sessions table, 'session_id' column (currently at 32 characters). It is one of my theories that the databased, truncated session identifier may be involved. But that is not very likely as the identifiers would not completely match, resulting in nothing seeming to be retained. Another theory was analyzed and a hopeful fix for it was implemented a few versions back. Please check to see if the customer_id's of the first and second customers involved are very close together. What version of CubeCart are you using?
  15. There may be something missing from the above as: $GLOBALS['config']->get('config', 'disable_guest_checkout_if_previously_registred') is not a standard CubeCart configuration setting. But, since this setting does not exist and checking for it will always return false, then the error will never be triggered. However, it should be noted that the database table CubeCart_customer has a UNIQUE key on the 'email' column. Even ghost customers get some of their details recorded here. So, in what way do the above changes "not work", and why make these changes if your unregistered customers are able to reorder as a still-unregistered customer?
  16. To be clear, by "Windows Server", there is the IIS webserver running on the Windows Server operating system. Neither is supported by CubeCart Ltd. That is, getting the Rewrite URL configured on IIS (or any other webserver other than Apache), nor the peculiarities of PHP and dealing with the backslash of Windows OS directory separator.
  17. In a stock CC611, those lines are at 375-400. The error message says the problem with array_keys is on line 311, which does not match up with the code shown above. The code shown above at line 309 would be if code had been deleted - code that is the entire section of checking for the Latest News from CubeCart HQ, and getting the latest versions of extensions.
  18. We can move the Product Description under the Gallery. In content.product.php, find: <h2>{$LANG.catalogue.product_description}</h2> <div class="product_description"> {$PRODUCT.description} <p><strong>{$LANG.catalogue.product_code}:</strong> {$PRODUCT.product_code}</p> {if $PRODUCT.manufacturer} Change to: {* <h2>{$LANG.catalogue.product_description}</h2> *} <div class="product_description"> {* {$PRODUCT.description} *} <p><strong>{$LANG.catalogue.product_code}:</strong> {$PRODUCT.product_code}</p> {if $PRODUCT.manufacturer} Find: {if isset($PRODUCT.discounts)} <div id="quantity_discounts"> <h2>{$LANG.catalogue.quantity_discounts}</h2> Change to: <h2>{$LANG.catalogue.product_description}</h2> {$PRODUCT.description} {if isset($PRODUCT.discounts)} <div id="quantity_discounts"> <h2>{$LANG.catalogue.quantity_discounts}</h2>
  19. We would like a web address so we can play with it.
  20. Ok. I see only one POST now. You may need to force your browser to reload all the page's resources (CSS, javascript, images). This is typically done with CTRL-F5 (or a shifted click on the circle-arrow reload icon). Please confirm.
  21. You may have modified the Mican template main.php. or have placed certain files in the Mican /js/ folder that should not be there. Specifically, I see admin.js in the /mican/js/ folder. Please remove it. You may have also placed jquery.bxslider.min.js and jquery.bxslider.js in the /mican/js/ folder. Choose one. But, yes there are two POSTs being made when clicking Add to Cart from the Product Description page. I discovered the double POSTing and wrote a bug report about it. Let me see if I can find it.
  22. In dashboard.index.inc.php, what code is there at lines 309-316?
  23. Doing this would involve too much change to the core code. That is not to say this cannot be done, however. CubeCart decided to have a preliminary registration of just a few fields, then on a separate page to offer the ability to create as many billing and delivery addresses as is needed.
  24. What is the rest of the URL that it is trying to send you to? There were two lines to change. The two lines make up a complete URL. May we have a web address to check on a few things?
  25. Welcome smokemup! Glad to see you made it to the forums. I can't see how it could. CubeCart does not know that this visitor is the same as the one a month ago. I suppose the easiest solution would be the customer actually creates an account - if the email could be used. I will poke around the Github to see if this has been brought up.
×
×
  • Create New...