Foren / Cotonti / Support / Error updating from 0.9.13 to 0.9.15

Hodges
#1 24. November 2013, 13:45

Good afternoon,

I've taken the plunge and updated from 0.9.13 to 0.9.15. Both install.php scripts suggest the installation was successful. However, when trying to view:

  • admin.php?m=config
  • admin.php?m=structure&n=page
  • admin.php?m=extensions
  • admin.php?m=other

I get this error: http://i.imgur.com/3G27roJ.png (screenshot taken after attempting to visit the extensions section - the errors are practically identical)

Every other aspect of the upgrade appears successful apart from these errors in the admin panel. I'm holding back updating the live site until this can be solved. Please advise!

Trustmaster
#2 24. November 2013, 16:50

The solution is very simple: just clear the cache files in datas/cache/templates and your site will get back to normal. This is due to CoTemplate upgrade.

May the Source be with you!
Hodges
#3 24. November 2013, 17:55

Perfect. Thank you!

Macik
#4 25. November 2013, 16:35

`Fatal error: Call to a member function parse() on a non-object in …\system\cotemplate,php line 386`

Leave this message here for further users can simply find this solution through «search».

 

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
musashi9
#5 7. Dezember 2013, 13:27

My host recently did an update to their Cpanel and now my site is giving me this error on every page I try. I tried clearing the cache and it lets me open a page but when the cache has files in it again I get this error so I am stuck having to ftp delete the files after each page I visit.

Any help ?

 

Trustmaster
#6 7. Dezember 2013, 17:39

Sorry, but which error do you get on every page?

Added 2 hours later:

Got it now, sorry. You can disable template cache by setting $cfg['xtpl_cache'] = false in config.php. And you should contact your hosting support regarding permissions on files created by PHP.

May the Source be with you!

Dieser Beitrag wurde von Trustmaster (am 7. Dezember 2013, 20:04, vor 10 Jahre) bearbeitet
musashi9
#7 8. Dezember 2013, 14:28

This is all they told me when I asked about permisions on files created by PHP

File should be 644 and folder 755

 

I disabled xtpl_cache and I can see my site but I cant use it much as HTML parser also seems to need cache to work?

My CSS menu is now screwed and my JS logo rotator in the header fails to even load an img.

 

Trustmaster
#8 8. Dezember 2013, 20:02

Try changing these in config.php:

$cfg['dir_perms'] = 0755;
$cfg['file_perms'] = 0644;

 

May the Source be with you!
musashi9
#9 8. Dezember 2013, 22:47

Fatal error: Call to a member function parse() on a non-object in /home/mysite/public_html/system/cotemplate.php on line 378

 

 

Never mind

I moved everything to a temp server to test and it worked fine so it turned out to be a host problem all along.

 


Dieser Beitrag wurde von musashi9 (am 9. Dezember 2013, 13:59, vor 10 Jahre) bearbeitet