1
Moonrakre
Smarty error: unable to read resource: "db:ct_index.tpl"
  • 2018/2/14 12:30

  • Moonrakre

  • Just popping in

  • Posts: 30

  • Since: 2005/12/6


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

2
Moonrakre
Re: Smarty error: unable to read resource: "db:ct_index.tpl"
  • 2018/2/14 13:28

  • Moonrakre

  • Just popping in

  • Posts: 30

  • Since: 2005/12/6


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

3
Moonrakre
Re: Smarty error: unable to read resource: "db:ct_index.tpl"
  • 2018/2/14 14:56

  • Moonrakre

  • Just popping in

  • Posts: 30

  • Since: 2005/12/6


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

4
Mamba
Re: Smarty error: unable to read resource: "db:ct_index.tpl"
  • 2018/2/15 9:29

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


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

Login

Who's Online

427 user(s) are online (325 user(s) are browsing Support Forums)


Members: 0


Guests: 427


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits