1
dargosch
Smarty errors!
  • 2005/9/11 20:31

  • dargosch

  • Friend of XOOPS

  • Posts: 118

  • Since: 2004/12/21


Hi,

I have strange problem right now. I use the xlanguage module with news 1.4 on a XOOPS 2.2.3 system. It used to work ok, but now I get no flags under the language selection block, the recent news block I use is empty as well as the theme selection block I use (yes, I did mark a bunch of selectable themes in the settings).

At the bottom of the page I get the following errors.

Warning [Xoops]: Smarty errorunable to read resource"db:system_block_dummy.html" in file class/smarty/Smarty.class.php line 1084
Warning 
[Xoops]: Smarty errorunable to read resource"db:news_block_top.html" in file class/smarty/Smarty.class.php line 1084


Has anyone seen this? Ay ideas on how to fix it?
The file seems ok, and readable:

<ak@theodor ~/public_html/xoops-2.2.3/html ls -al ./modules/system/templates/blocks/system_block_dummy.html
-rwxrwxrwx  1 zak users 18 30 apr 14.23 ./modules/system/templates/blocks/system_block_dummy.html
zak
@theodor ~/public_html/xoops-2.2.3/html cat ./modules/system/templates/blocks/system_block_dummy.html
<{$block.content}>zak@theodor ~/public_html/xoops-2.2.3/html $




/Fredrik
My Gentoo + PVR-350 + IVTV + MythTV blog is on
http://gentoomythtv.blogspot.com/

2
LazyBadger
Re: Smarty errors!

Newer see at files:
1. Tempates are stored in the database
2. Smarty engine read compiled tempates from template_c dir, which must have RW permissions for apache process

Check presence and correct content of this templates in template manager, update modules (if something is wrong and you use default templateset) or regenerate tempates if you use own templateset... Verify integrity of XOOPS tables...
Quis custodiet ipsos custodes?

Webmaster of
XOOPS2.RU
XOOPS Modules Proving Ground
XOOPS Themes Exhibition

3
dargosch
Re: Smarty errors!
  • 2005/9/12 11:12

  • dargosch

  • Friend of XOOPS

  • Posts: 118

  • Since: 2004/12/21


Hi,

Permissions seem to be in order:

zak@theodor ~/public_html/xoops-2.2.3/html/templates_c ls -al
totalt 280
drwxrwxrwx   2 zak    users   2856 12 sep 09.30 
.
drwxrwxrwx  15 zak    users   1328 11 sep 21.36 ..
-
rw-r--r--   1 apache apache  2813 11 sep 23.14 %%02^022^02212AC4%%db%3Amyalbum_topten.html.php
-rw-r--r--   1 apache apache   319 11 sep 23.14 %%02^02F^02FB49F8%%db%3Amyalbum_header.html.php
-rw-r--r--   1 apache apache  1941 11 sep 22.50 %%05^052^052EA638%%db%3Anews_item.html.php
-rw-r--r--   1 apache apache  6270 11 sep 23.11 %%05^056^0566A3DB%%db%3Axfguestbook_signform.html.php
-rw-r--r--   1 apache apache   296 11 sep 22.06 %%1A^1AC^1ACB7FBC%%theme_blockleft.html.php
-rw-r--r--   1 apache apache  3183 11 sep 23.14 %%1F^1F5^1F5F854E%%db%3Amyalbum_index.html.php
-rw-r--r--   1 apache apache  8818 11 sep 22.06 %%20^209^209F3651%%theme_adminnav.html.php
-rw-r--r--   1 apache apache  7731 11 sep 22.34 %%22^228^2283AD6D%%db%3Aweblinks_index.html.php
-rw-r--r--   1 apache apache  5491 11 sep 23.15 %%30^301^301D8C1F%%db%3Amyalbum_viewcat_list.html.php
-rw-r--r--   1 apache apache 10108 11 sep 23.14 %%35^35E^35EEEFE9%%db%3Amyalbum_photo.html.php
-rw-r--r--   1 apache apache   378 11 sep 22.06 %%3C^3C9^3C905223%%theme_blockcenter_c.html.php
-rw-r--r--   1 apache apache  1144 11 sep 22.06 %%42^428^428512AB%%db%3Asystem_block_mainmenu.html.php
-rw-r--r--   1 apache apache  7361 11 sep 23.14 %%50^501^5019D590%%db%3Amyalbum_photo_in_list.html.php
-rw-r--r--   1 apache apache  4552 11 sep 22.39 %%53^532^532555B6%%db%3Aprofile_admin_fieldlist.html.php
-rw-r--r--   1 apache apache  5622 11 sep 22.51 %%53^534^53481332%%db%3Anews_article.html.php
-rw-r--r--   1 apache apache  4321 11 sep 22.34 %%5A^5A2^5A255BBF%%db%3Asystem_notification_select.html.php
-rw-r--r--   1 apache apache  8027 11 sep 22.06 %%5B^5B2^5B24B422%%themeadmin.html.php
-rw-r--r--   1 apache apache  3476 11 sep 23.05 %%65^65E^65EDD54A%%db%3Anews_index.html.php
-rw-r--r--   1 apache apache  9055 11 sep 22.29 %%6A^6A4^6A452209%%theme.html.php
-rw-r--r--   1 apache apache  4803 11 sep 22.13 %%6A^6AE^6AE583CC%%db%3Aprofile_userinfo.html.php
-rw-r--r--   1 apache apache  1376 12 sep 09.30 %%6E^6E8^6E8C036B%%db%3Asystem_block_login.html.php
-rw-r--r--   1 apache apache  3485 11 sep 22.10 %%75^755^755EE737%%db%3Atinycontent0_index.html.php
-rw-r--r--   1 apache apache  2885 11 sep 22.51 %%80^806^8068F73F%%db%3Asystem_comments_nest.html.php
-rw-r--r--   1 apache apache   295 11 sep 22.06 %%8D^8DC^8DC985AC%%theme_blockright.html.php
-rw-r--r--   1 apache apache  4217 11 sep 22.50 %%9B^9BE^9BE159A0%%db%3Anews_by_topic.html.php
-rw-r--r--   1 apache apache  4787 11 sep 22.34 %%A0^A0A^A0A1E4A2%%db%3Aweblinks_header.html.php
-rw-r--r--   1 apache apache   742 11 sep 23.13 %%A9^A9C^A9CFA8E5%%db%3Asmartsection_header.html.php
-rw-r--r--   1 apache apache  8037 11 sep 22.06 %%AC^AC8^AC8A1BE5%%theme.html.php
-rw-r--r--   1 apache apache  3801 11 sep 23.11 %%B9^B9F^B9F0EA61%%db%3Axfguestbook_index.html.php
-rw-r--r--   1 apache apache  1537 11 sep 22.39 %%BE^BEC^BEC60DF2%%theme_moduleadmin.html.php
-rw-r--r--   1 apache apache  2729 11 sep 23.14 %%C0^C0C^C0C5A726%%db%3Amyalbum_categories.html.php
-rw-r--r--   1 apache apache  5120 11 sep 22.21 %%CB^CB4^CB4377BB%%db%3Asystem_admin_block.html.php
-rw-r--r--   1 apache apache  3377 11 sep 23.12 %%CE^CE1^CE1C4216%%db%3Axfguestbook_item.html.php
-rw-r--r--   1 apache apache  2502 11 sep 22.55 %%D3^D32^D32F42A8%%db%3Anews_archive.html.php
-rw-r--r--   1 apache apache  8283 11 sep 22.07 %%D7^D76^D76964FA%%themeadmin.html.php
-rw-r--r--   1 apache apache  2051 11 sep 23.14 %%ED^EDE^EDE4E4E4%%db%3Amyalbum_ratephoto.html.php
-rw-r--r--   1 apache apache  3060 11 sep 22.06 %%ED^EDF^EDF40B17%%theme_usernav.html.php
-rw-r--r--   1 apache apache  1172 11 sep 22.06 %%F0^F0C^F0C111EE%%db%3Amyalbum_block_rphoto.html.php
-rw-r--r--   1 apache apache   201 11 sep 23.14 %%F3^F3D^F3D6188E%%db%3Amyalbum_footer.html.php
-rw-r--r--   1 apache apache   459 11 sep 22.06 %%F6^F69^F692B736%%db%3Asystem_redirect.html.php
-rw-r--r--   1 apache apache  9166 11 sep 22.07 %%F8^F88^F88CA528%%theme_adminnav.html.php
-rw-r--r--   1 apache apache 19067 11 sep 23.13 %%FA^FA8^FA83C161%%db%3Asmartsection_index.html.php


How do I:

a) Check that the template is correct in the template manager?
b) Regenerate templates?
c) Verify the integrity of the tables?

I have no idea about these things..

/Fredrik
My Gentoo + PVR-350 + IVTV + MythTV blog is on
http://gentoomythtv.blogspot.com/

4
dargosch
Re: Smarty errors!
  • 2005/9/13 9:03

  • dargosch

  • Friend of XOOPS

  • Posts: 118

  • Since: 2004/12/21


hi,

Reloading all modules did the trick. Thanks!
My Gentoo + PVR-350 + IVTV + MythTV blog is on
http://gentoomythtv.blogspot.com/

Login

Who's Online

176 user(s) are online (96 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

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

Latest GitHub Commits