Warning: Smarty error: unable to read resource: "template:" in

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
fadum

Warning: Smarty error: unable to read resource: "template:" in

Post by fadum »

any ideas why i get this Warning: Smarty error: unable to read resource: "template:" in if i click a non existed page? custom 404, auto alias all make no difference

0.11.2

Cheers
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Warning: Smarty error: unable to read resource: "template:" in

Post by Ted »

Sounds like a bug to me.  I'll look into it.
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

Re: Warning: Smarty error: unable to read resource: "template:" in

Post by fredt »

I also have problem with this - asking for mysite/index.php?page=dummy_page leads to error: Warning: Smarty error: unable to read resource: "template....

But testing on http://www.cmsmadesimple.org/index.php? ... turesdummy to try to trigger the error leads to :  Not Found - The requested URL was not found on this server. Whas there some special 404 handling there - or is it a version matter ?

My site runs CMS 0.11.2
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Warning: Smarty error: unable to read resource: "template:" in

Post by Ted »

I redid a lot of the error and 404 handling in 0.12 and I'm not seeing any of the same issues.
LeisureLarry

Re: Warning: Smarty error: unable to read resource: "template:" in

Post by LeisureLarry »

I´m also not seeing any of these errors in Beta-2, but I´m having nocache errors with custom 404 error.

See http://forum.cmsmadesimple.org/index.ph ... 226.0.html
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

Re: Warning: Smarty error: unable to read resource: "template:" in

Post by fredt »

I'm not sure about Wishy's answer: I'm running CMS 0.11.2 on a production site - should I wait for 0.12 to be released?
User avatar
fredt
Forum Members
Forum Members
Posts: 144
Joined: Mon Jun 27, 2005 10:36 am

Re: Warning: Smarty error: unable to read resource: "template:" [SOLVED]

Post by fredt »

Well, it's solved for me at least...  so here is some feedback
- 404 message was checked Activated,
- I had some Page not found,
- but no template was attached...  :-\

Attaching my "standard" template half-worked but resulted in more errors - which appeared to be linked to ell-nav (probably tried to calculate current page position in the pages tree, to show menu - but of course couldn't).

So I copied MyTemplate to MyTemplateForErrors, removed all ellnav menus and navigations, attached it to Custom 404 Message, and now it's perfect. I even added the latest sitemap (without my test pages) with {sitemap} directly on the 404 page...

Again, thanks a lot to all of you - and especially to Patricia...
Locked

Return to “CMSMS Core”