Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Noodleman

  1. Seems to have levelled off the cache at around 35,000 objects at the moment, will keep an eye and report back later.
  2. That's definitely helped. I've also wrapped the log write with the same validation. I'm seeing a lot less cache content being created. I'm monitoring for a while and will update later. Thanks Al
  3. Just set this up and I immediately see a problem coming from some modules. SQL queries which have specifically been run to NOT cache are being written to cache. $GLOBALS['db']->query($sql, false, 0, false); Based on around 5 minutes of collecting data, I'm already seeing 3,500 of these non-cached queries being written to cache.
  4. that seems reasonable. I'll probably go with a cache log. would you mind giving a couple pointers on the correct location for it? Would save me some trial and error
  5. I'm sorting out the same problem this morning for somebody else. The cache has grown so large that CubeCart can't handle the deletion. It's throwing an out of memory error. To fix I've manually cleared the /cache/ directory from the server (I have full access to server via SSH).
  6. I'm still of the opinion something isn't correct... a mid-size store, 3500 products across an estimated 100 categories generates this in 48 hours almost 700,000 cached objects. This makes the "clear cache" button not work as it just can't clear this many files before throwing an error.
  7. yes, but question 2 was if it's responsible for the error, and as per my post.. no. disable the module and try to reproduce the issue again.
  8. it's a failure in the module SFWS_MailChimp, from the error it's checking if the user is logged in, but isn't able to find the required information to function. The error has been thrown from that module so needs the dev to review in more detail using your steps to reproduce. I've triggered these a few times in my own code from time to time, so have seen it before. without knowing the code being called I can't give any more details
  9. if your technical, it's quite simple. add more columns to CubeCart_inventory table to hold the data you require. the new fields are then available to your store theme as part of the smarty $PRODUCT array. then you just need to add those fields to the admin template (create a custom version). This can all be added to a module to auto add the fields
  10. So I just did a basic test on my site and it makes me think that the cache is per session (again, just a theory). if I go to my homepage in Chrome, the cache size increased with an additional 11 SQL cache files. if I reload the page, no more files. I then load the same page in Edge, and it reached and built another set of 11 cache files. the only difference is browser, thus session. The content is the same and should be using the cache built from the previous browser load. Over time, this will increase/build up excessive cached items. Shouldn't the existing cached items be reused? this appears to only be caused by SQL cache. page cache is working OK
  11. I suspect that the frequent clearing of cache in earlier versions masked an issue, and with the recent change it's made that issue more notable. I've not checked into it and it's just a gut feeling / theory, but it ties in with some reports I've had as well.
  12. I had a similar issue recently, but was at the OS level. Use some form of memory caching instead and you'll be fine. Alternatively increase the configured limit of nodes. some hosting providers will limit the number and not allow it to be changed, in which case grab a VPS or managed VPS and configure it as needed. https://support.cubecart.com/Knowledgebase/Article/View/235/41/how-do-i-enable-apc-memcached-redis-or-xcache On the flip side, I have noted that there does appear to be a much larger cache being built than I would expect which makes me suspect some kind of cache system issue. The longer you leave the cache uncleared, the worse it gets. I suspect new cache files are created in place of older ones, yet the older ones never clear and thus over time things build up to excessive levels if not cleared frequently. I assume that if the same page, with the same content is cached multiple times, its should re-use the same cache file. I don't think it does this.
  13. no.. it's your choice based on your business model. what does your business require?
  14. not that I can recall, but custom ones can be added, perhaps that's where it came from.
  15. Checkout robots.txt , it's what you will want
  16. I added it to the marketplace so others can grab a copy as well. https://www.cubecart.com/extensions/skins/noodleman-co-uk-store-theme Enjoy
  17. you are welcome to a copy of my store theme if you want to use it as a starting point? but, be aware I did overhaul quite a few things so it may not be suitable for you.
  18. Hello :) My recent redesign is a variation of the Foundation theme, I revised it to suit my own site requirements. took about 10 hours from start to finish. You can adjust the overall max-width in the CSS of the theme to suit your own requirements, from memory it's a single rule change to the .row CSS rule, and making it larger. I think mine is 82.5em instead of sixty something.. :)
  19. zip and link to your skin and we'll tell you what the issue is
  20. That's correct. I've seen some unexpected behaviour around this area in the past and I think that will solve your issue. There's not any documentation in this area to confirm the expected behaviour based on the config you had set. I ran into this kind of thing when building the Ebay software for CubeCart and I've seen some other customers have to adjust config to get the expected results.
  21. Disable stock control at the PRODUCT level, as your enforcing it at the Matrix level. I think that should fix it. Have seen this happen before for other people. test out the config change with an example product
  22. go through the config.xml file in your updated theme. if there is a duplicate with foundation it can cause this kind of issue. rename anything "foundation" to something else, and make sure the folder name is valid and matches your new theme name.
  23. You'll be surprised how many people get caught out with that one
  24. I'm not aware of anything like this existing today, however I can probably build you something that would do what you want. What shipping modules do you use today? Essentially you need the shipping module (or modules) to be selected by some custom criteria. 1) Is the product or products they are buying in stock at the nearest warehouse? 2) What are the costs for delivery from the nearest warehouse 3) Ship remainder of goods from alternate warehouse if it's a split order Sounds like a fun thing to build.
  25. ah, yea two "selected" and it will always add the last one as the actual selected value. you can try removing "{$method.selected}" but not sure if this would cause an issue after somebody has actually chosen their method, I'm assuming it would. in which case, you can add some if/else logic, if the method = All In One, then do nothing, else use method.selected.
  • Create New...