xoops forums

Moonrakre

Just popping in
Posted on: 2/14 12:30
Moonrakre
Moonrakre (Show more)
Just popping in
Posts: 30
Since: 2005/12/6
#1

Smarty error: unable to read resource: "db:ct_index.tpl"

I am upgrading a site from a very old Xoops to 2.5.9. So far good, but I am now trying to get the Content module to work, but I am getting this message in the debug window:
Warning: Smarty error: unable to read resource: "db:ct_index.tpl" in file class/smarty/Smarty.class.php line 1100

The content page is white screen i.e. it is not displaying the content.

That line 110 is just an error message creator, so I can't see what caused it.

I have downloaded the content module from Github following a link given to me by Mambo (thank you). I can get to modify pages using TinyMCE but when I go to view them I get this error.

I can't find references to ct_index.tpl neither can I find a file of that name. I can find references to ct_index.html in the content module files index.php and xoops_version.php. So I can't see why it is trying to load this .tpl file.

I don't know what to do to overcome this issue, so any suggestions would be most welcome, please.

Best wishes

Adrian

Moonrakre

Just popping in
Posted on: 2/14 13:28
Moonrakre
Moonrakre (Show more)
Just popping in
Posts: 30
Since: 2005/12/6
#2

Re: Smarty error: unable to read resource: "db:ct_index.tpl"

I have now found ct_index.tpl in modules/content/templates. So where is the system trying to find it and how can I get it to look in the content/templates folder?

Best wishes

Adrian

Moonrakre

Just popping in
Posted on: 2/14 14:56
Moonrakre
Moonrakre (Show more)
Just popping in
Posts: 30
Since: 2005/12/6
#3

Re: Smarty error: unable to read resource: "db:ct_index.tpl"

OK Sorted - I failed to notice that there is an update available and that has cleared the error.

Please accept my apologies for wasting your time.

Best wishes

Adrian

Mamba

Moderator
Posted on: 2/15 9:29
Mamba
Mamba (Show more)
Moderator
Posts: 10587
Since: 2004/4/23
#4

Re: Smarty error: unable to read resource: "db:ct_index.tpl"

Not a problem. We are here to help!
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs