Forums / Cotonti / Support / 0.9.15 Issues

After the update to 0.9.15 from 0.9.14 there seems to be issues with "Internal Cache" and "Disk Cache"

aiwass
#1 2013-11-21 13:23

After the update to 0.9.15 from 0.9.14 there seems to be issues with "Internal Cache" and "Disk Cache", since everytime I "Purge" either of them, all images, soundcloud and videos
and all the other 30 Extra fields are purged and the site has none of the information countained in those Extra fields.

The only way, that I've found, preventing it all going pearshaped, is to go into Extra fields and click Update, once the "Internal Cache" and "Disk Cache" has been "Purged". Which clearly isn't a good option.

Or is it something else that is fucked up?

Update
Same thing happens if an update or change is done on "Menu slots in tpl-files", which points to something more sinister is a play...

Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com
This post was edited by aiwass (2013-11-21 16:42, 10 years ago)
Trustmaster
#2 2013-11-21 20:29

I've noticed some other strange things about "Clear cache" recently, e.g. it doesn't clear cache properly after installing an extension. Issue created: https://github.com/Cotonti/Cotonti/issues/1284

May the Source be with you!
Macik
#3 2013-11-23 23:59

Suppose both cache (files and DB) should be flushed on version upgrade.

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
aiwass
#4 2013-11-25 17:21

Update:
Found that the issue is not in a specific location, its everywhere. I just updated the Titles on my site and once again the Page Extra Fields fail across the site. Only solution is to click Update on Page Extra Fields page in order to restore them. They question still remains, why?!?

Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com
Kort Online
#5 2013-11-26 08:55

I confirm the problem related to cache-extrafields. What I observe is as follows:

  • with cache and xtpl_cache FALSE extrafields values can't be entered in the page edit form (both PAGEEDIT_FORM_EXTRAFIELD and PAGEEDIT_FORM_EXTRAFIELD_TITLE tags output nothing) -- possibly same problem with page add
  • with cache TRUE and xtpl_cache FALSE (also both TRUE) extrafield tags for PAGEEDIT_ appear only after the extrafields are updated via UPDATE button, but after any db operation (i.e. update plugin settigns) the tags disappear again until you hit update over again

This is what I got on fresh install -- both localhost and remote server. Values are displayed as normal. Pretty much annoying, so had to roll back to .14

SED.by - создание сайтов, разработка плагинов и тем для Котонти
Yusupov
#6 2013-11-26 10:11

Look in the file system/extrafields.php (row 863): the !isset() should be replaced to empty().

My problem is solved exactly.

Trustmaster
#7 2013-11-27 18:42

The git repo currently contains a better solution. Just update your system/functions.php and system/extrafields.php.

May the Source be with you!
aiwass
#8 2013-11-29 09:23

Thank you!

Take all that money that we spend on weapons and defences each year and instead spend it feeding and clothing and educating the poor of the world, which it would many times over, not one human being excluded, and we could explore space, together, both inner and outer, forever, in peace. - Bill Hicks

https://evlear.com