Jump to content

bsmither

Member
  • Posts

    16,473
  • Joined

  • Last visited

  • Days Won

    540

Everything posted by bsmither

  1. Exact copy of a question posted on Stack Overflow ten years ago.
  2. In looking at: http://www.bankswalker.com.au/walmatdesign.com.au/xc.html and any other link in the Shop By Category list (probably any and every link), I am taken to an attempt to load something from: http://servers.syrahost.com/?server_id=51 with a page title "Coming Soon...". Is this intentional?
  3. It seems to me that the /includes/global.incphp file is referencing a database that does not belong to this installation of CubeCart.
  4. For the Kurouto skin you are using, please examine the "config.xml" file. Tell us what version it is. There will be lines of info that look something like: <name><![CDATA[kurouto]]></name> <display><![CDATA[Kurouto]]></display> <version>1.0</version> There could also be a line that indicates a "csrf" availability. (But I do not see any substantive difference with Crosshatch.)
  5. Ok, so now we know the problem is with how this setting affects the AJAX response, in that a "Yes: Jump to basket on add" causes no response. I note that you are using Kurouto -- which may explain something. The AJAX request is not including a "CSRF token", which CubeCart may be expecting/demanding, and if it isn't there, will not proceed to the View Basket page. But then you say that this started happening when you upgraded to PHP 7. Was this the only thing that changed? Could you possibly have also upgraded CubeCart very near the same time?
  6. As a work-around for the time-being, in admin, Store Settings, Layout tab, set "Jump to basket on add" to Yes.
  7. Assuming you are running CubeCart6.4.X, enable debug mode (admin, Store Settings, Advanced tab, and also enter your local IP address in the adjacent field -- www.showmyip.com). Click the Add to Basket on a product in the Latest Products section of the Homepage. The Basket box will disappear. Now, revisit the Homepage. At the bottom of the page will be a grey section containing diagnostic data. There will be two parts: the first will have logged everything that happened during the AJAX call that was supposed to send back the new Basket Box HTML code, the second section will have logged everything that happened when you requested the Homepage afterwards. Examine the first section (the AJAX call) for anything suspicious.
  8. In your Cpanel screens, there should be a section that details the version of PHP you wish to run, along with any extensions you wish to make available to PHP. Check the box for ZIP Archive.
  9. When I click "Add to Basket" (on an item in Latest Products), the entire Shopping Basket box disappears. That is, CubeCart sends back nothing as a response, but a 200 OK status. This tells me that either there is a logic flaw that PHP 7 cannot deal with (which would have been found and fixed by now), or a plugin that needs to be updated such that it is encoded to run under PHP 7. The problem should be logged in the admin's System Error Log.
  10. "not allowed as a key" is a general error message that actually means a few things. But this error message being created across several tables, especially "name in CubeCart_config" would suggest that somehow, even though the database might be reachable, and the user/pass might be accepted, but other than that, the database server is not accepting your access into the database. If your host gives you a site management control panel, look in there to learn if the database table names have been changed in any way. Especially, look for letters of the table name that have had their letter-case changed (such as 'C' to 'c'). Since this is all of a sudden, we can seriously place most or all of the blame on the host provider.
  11. "the redirect to Paypal for payment from the last stage of checkout" This is where the customer is supposed to be sent to PayPal for payment at PayPal's site? By "is failing", can you be more specific? The checkout process is stuck at the "Transferring..." throbber stage? (If you have more than one gateway option - otherwise, CubeCart should go there automatically as it is the only choice of gateway.) Any messages in the CubeCart admin system error log? And when, as best you can determine, did this "all of a sudden" happen? Just recently, Russia messed up with its blocking of VPNs -- not saying you are using a VPN, but just saying.
  12. This is what is happening: The new Smarty command (as of CC640 or there-abouts) "combine" is expecting an array of filenames. As mentioned, the Github issue #2008 is expecting filenames in the template code found in element.js_head.php, but the $HEAD_JS array is getting loaded up with actual script code -- not filenames -- and appending real script code to the combine function. That's bad. The new code in element.js_head.php does not add the $HEAD_JS elements to the Smarty $js_head array, but rather gets the real script code published to the template after the "combine" command where the filenames are combined.
  13. "do I leave the element.js_head.php the way it is now" Please use this new version. I would like to know what the latest error messages were, if any were related to a skin issue. Are your store settings set such that CubeCart is running in debug mode?
  14. As an experiment, please make the contents of that file contain only this code: {assign var=js_head value=[ 'skins/{$SKIN_FOLDER}/js/vendor/modernizr.js', 'skins/{$SKIN_FOLDER}/js/vendor/jquery.js']} {combine input=$js_head output='cache/js_head.{$SKIN_FOLDER}.js' age='604800' debug=$CONFIG.debug||!$CONFIG.cache} {foreach from=$HEAD_JS item=js}{$js}{/foreach} The above is referencing the Github issue: https://github.com/cubecart/v6/issues/2008 Please create the error log and see if there are any clues there: https://forums.cubecart.com/topic/51550-how-to-create-the-error-log/
  15. I see this in the source HTML in my browser from the homepage: <script src="https://www.google.com/recaptcha/api.js?onload=reCaptchaCallback&render=explicit" async defer></script><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-5171864-1', 'auto'); ga('send', 'pageview'); </script><script type="text/javascript" src="/shop/cache/c40ca.js_head.noodleman_v6_20190831161300.js" charset="utf-8"></script></head> This is what I get when viewing a product page: <script src="https://www.google.com/recaptcha/api.js?onload=reCaptchaCallback&render=explicit" async defer></script><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-5171864-1', 'auto'); ga('send', 'pageview'); </script></head> What are the contents of element.js_head.php? Please remind us of the exact version of PHP running your site. PHP seems to be 7.1.33.
  16. In the admin script file /sources/settings.index.inc.php: Near line 450, find: 'product_weight_unit' => array('Lb' => $lang['settings']['weight_unit_lb'], 'Kg' => $lang['settings']['weight_unit_kg']), Change to: 'product_weight_unit' => array('Lb' => $lang['settings']['weight_unit_lb'], 'Kg' => $lang['settings']['weight_unit_kg'], 'g' => "Metric (g)"),
  17. As for 2), I find that bracelet when searching for "bracelet", but when I click on the panel in the search results, I get CubeCart's 404 page. We may need to work on solving that one. But, yes, CubeCart will show all options because for any one combination of options that is out of stock, there may be other combinations that are in stock. As for 1), I added an Elephant Bracelet to the cart, and CubeCart is operating normally (only as far I checked).
  18. This is what I have for Noodleman's V6 (version 1.0.2) skin: template main.php: <!DOCTYPE html> <html class="no-js" xmlns="http://www.w3.org/1999/xhtml" dir="{$TEXT_DIRECTION}" lang="{$HTML_LANG}"> <head> <title>{$META_TITLE}</title> {include file='templates/element.meta.php'} <link href="{$CANONICAL}" rel="canonical"> <link href="{$ROOT_PATH}/favicon.ico" rel="shortcut icon" type="image/x-icon"> {include file='templates/element.css.php'} {include file='templates/content.recaptcha.head.php'} {include file='templates/element.google_analytics.php'} {include file='templates/element.js_head.php'} </head> What I am not finding in the source HTML in my browser, from your site, when viewing a product, is the contents of element.js_head.php. So, either the {include} statement above is not there for viewing products, or the contents of of the js_head file is not itemizing the list of javascript files properly.
  19. "then other times it's down for five minutes!" That must be an exaggeration? Compressing the javascript won't fix that.
  20. For CC642*, putting the store setting, Stock tab, "Reduce Stock Levels" to Pending, will reduce the stock as appropriate when the the order goes to Pending -- that is, when the customer begins the checkout process. Until the stock gets decremented, the item is still considered "on the shelf" for others to place in their shopping basket. * Or so I believe. I haven't verified for any later version, but I am working on this: https://github.com/cubecart/v6/issues/2606 It is a problem, in my opinion, created by the Github issue #2565. Too many stock level checks will find that the stock is at zero when the item is already in the shopping basket, and CubeCart will remove that item from the cart.
  21. Not the core code (the PHP files that make up the "classes"). That got updated with the new version - as well as the published Foundation skin. So, please keep tabs on what has been changed in the published Foundation skin and apply the same changes to the skin you are using.
  22. Welcome BaronVonScuba! Glad to see you made it to the forums. It seems you are using the sfws-foundation5-custom skin. It is very likely that the author of this skin has not updated certain hard-coded links in the templates. Please view: https://github.com/cubecart/v6/tree/v6.4-master/skins/foundation/templates Look for all instances of fix #1164. There will be several. If you want additional help, feel free to ask for it.
  23. We can assume that the mailer-daemon[at]localhost is a system put in place by your hosting provider. So, begin by creating a support ticket with them. There will probably be no indication about what was objectionable in the email's content, so we cannot attempt to "work around" the issue by changing the wordings of the email phrases.
  24. Also, please let us know the exact version of PHP running your site.
  25. The 27th of July is not "last week". Still, if the dates are somewhat correct, that's two months of a time span. Is this product still at zero stock level, and has the "Use stock level" settings set? Can you try to make an order similar to what this customer did? I will try to replicate this.
×
×
  • Create New...