Registry: undefined cache level


what no one can help ??
Posted 31 December 2013 - 09:40 PM #21
Posted 31 December 2013 - 09:43 PM #22
Posted 31 December 2013 - 09:46 PM #23
Posted 31 December 2013 - 09:46 PM #24
Posted 31 December 2013 - 09:48 PM #25
Posted 31 December 2013 - 10:37 PM #27
Posted 31 December 2013 - 11:18 PM #28
Posted 01 January 2014 - 12:37 AM #29
Hi.
The problem appears on January 1 2014 only and since January 2nd everything will be allright.
This is how you can fix it:
- open app/Tyg/Registry.php
- delete line "die('Registry: undefined cache level');"
Sorry for the inconvenience.
Btw, Happy New Year!
Posted 01 January 2014 - 02:07 AM #31
Posted 01 January 2014 - 03:28 AM #32
Posted 01 January 2014 - 05:28 AM #33
CS-Cart 4.7.1
Posted 01 January 2014 - 05:28 AM #34
if (empty(self::$_cache_levels[$id])) { }
Posted 01 January 2014 - 07:21 AM #35
if (empty(self::$_cache_levels[$id])) { // die('Registry: undefined cache level'); }Now temporary fixed.
And should the correct code look like :
if (empty(self::$_cache_levels[$id])) { }
Posted 01 January 2014 - 09:09 AM #36
Zeke Hope this will show how important it is for CS Cart to put up a stable version and not just go on adding new fancy 'improvements' nothing is like building a Customer base who vouch for your product Otherwise it will be like todays - ruining new year of customers and working on new years eve at 3 am to pacify frustrated customers -- PS is the fix permanent ? And should the correct code look like :
if (empty(self::$_cache_levels[$id])) { }
Posted 01 January 2014 - 10:07 AM #37
Sorry, forum formatted my code incorrectly. Just corrected it. Please check.
Thanks.
Posted 01 January 2014 - 10:22 AM #38
Hi Zeke
Happy New Year and thanks for working hard to find the fix ASAP - needless to say it's a serious bug and will cause distress to everyone running CS-Cart (as well as you no doubt).
Bugs will always happen but I hope this highlights the need to also find a better way of distributing fixes - I had started a discussion here: http://forum.cs-cart...ributing-fixes/
I would guess that now it's a mess as some of the (lucky) customers like us thought of checking here, some others will probably be still struggling to find out what is going on and no doubt, you will have had a lot of support messages too. In this case if there was a 'message centre' in the admin section (like Magento), you would have pushed this to everyone as an urgent 'emergency patch' at least.
I am also quite concerned that important bug fixes like this will be included in new versions - due to customisation some of us cannot easily upgrade to newer versions so it would be really helpful if there was a way of applying important security and other fixes to our store without having to upgrade everything.
Anyway happy new year and hope that this will be considered at some point soon.
Best
Simos
Posted 01 January 2014 - 02:16 PM #39
Posted 01 January 2014 - 02:29 PM #40
May be it was too soon for me to response. In fact while I was trying to reset the timezone, I had also a ticket opened with my hosting provider and they were troubleshooting too. Below is final response:I had same issue with Error:Registry: undefined cache level. Everything was working for me until 12/31/2013 and the issue seems started 01/01/2014. It got to be something related to Year 2014.
After quick google search, I found cs-cart forum with many such had same issue and possible application bug.
After seeing one response about Time Zone change in Appearance (Admin console), I checked my time zone setting, it was set correctly to my time zone (which is US Pacific). I still went ahead re-updating the time zone to say US-Eastern and then reverted back to US Pacific. That seems resolved the issue.