cotonti.com : Error updating from 0.9.13 to 0.9.15 https://www.cotonti.com Neueste Themenbeiträge Cotonti en Wed, 15 Oct 2025 02:30:08 -0000 musashi9 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.

 

]]>
So, 08 Dez 2013 22:47:45 -0000
Trustmaster Try changing these in config.php:

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

 

]]>
So, 08 Dez 2013 20:02:40 -0000
musashi9 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.

 

]]>
So, 08 Dez 2013 14:28:58 -0000
Trustmaster 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.

]]>
Sa, 07 Dez 2013 17:39:59 -0000
musashi9 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 ?

 

]]>
Sa, 07 Dez 2013 13:27:11 -0000
Macik `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».

 

]]>
Mo, 25 Nov 2013 16:35:00 -0000
Hodges Perfect. Thank you!

]]>
So, 24 Nov 2013 17:55:07 -0000
Trustmaster 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.

]]>
So, 24 Nov 2013 16:50:07 -0000
Hodges 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!

]]>
So, 24 Nov 2013 13:45:51 -0000