1
jacklee01
Strange smarty error
  • 2008/11/11 9:26

  • jacklee01

  • Just popping in

  • Posts: 13

  • Since: 2008/11/10


Hi, this error really got me as I have not encounter this error before, when I built a few websites since ver 1.x and 2.0

I have followed the installation notes and I got this error at the frontpage.

Xoops version: 2.3.0 (new install)
php 5.2.6
MySQL 5.1.23-rc
theme: default

Warning: Smarty error: unable to read resource: "/themes/default/theme.html" in file /class/smarty/Smarty.class.php line 1092

All folders of xoops_data, caches are all 777 and that file can be found in the place. I have changed the theme and updated the system module.

Strangely, i can go to the admin page.

Thanks in advance,
Jack

2
Mamba
Re: Strange smarty error
  • 2008/11/11 9:51

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Did you run checksum.php?

Also, did you try another theme? Is it working with Zetagenesis?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

3
jacklee01
Re: Strange smarty error
  • 2008/11/11 12:27

  • jacklee01

  • Just popping in

  • Posts: 13

  • Since: 2008/11/10


Thanks for the reply

Quote:

Mamba wrote:
Did you run checksum.php?

Yes, and runs OK. Also, it is unzipped in the server.

Quote:

Mamba wrote:
Also, did you try another theme? Is it working with Zetagenesis?

Yes, I've tried Zetagenesis theme. Still the same error, with "default" replaced by "zetagenesis".

4
Mamba
Re: Strange smarty error
  • 2008/11/11 14:14

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


BTW - I see that you use 2.3.0.
Is there any chance that you upgrade it to 2.3.1 and check it again?
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

5
jacklee01
Re: Strange smarty error
  • 2008/11/11 14:37

  • jacklee01

  • Just popping in

  • Posts: 13

  • Since: 2008/11/10


My language don't provide 2.3.1 yet (traditional Chinese).
I have upgraded once by an English patch, but no success also

6
NIUNIEK
Re: Strange smarty error
  • 2008/11/11 15:04

  • NIUNIEK

  • Just popping in

  • Posts: 38

  • Since: 2004/1/20


Hi!

Check if your theme is directly in a folder themes/zetagenesis/ or themes/default

rather than

themes/themes/default
or
themes/default/default
or any other folder

This advice may sound stupid, but mistakes happen ;)
I had couple themes in double folders and was getting the same message.

take care
M.Z.
Some things never change, but some things do.

7
jacklee01
Re: Strange smarty error
  • 2008/11/11 15:19

  • jacklee01

  • Just popping in

  • Posts: 13

  • Since: 2008/11/10


checked. folder directly in folder.
thanks for your advice.

8
jacklee01
Re: Strange smarty error
  • 2008/11/13 15:26

  • jacklee01

  • Just popping in

  • Posts: 13

  • Since: 2008/11/10


Any more ideas?
Please help. Thanks

9
ghia
Re: Strange smarty error
  • 2008/11/13 15:52

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Quote:
BTW - I see that you use 2.3.0.
Is there any chance that you upgrade it to 2.3.1 and check it again?

There are no changes in the smarty class between 2.3.0 and 2.3.1.

Probable cause is this function call:
$_return call_user_func_array(
 
$this->default_template_handler_func,
 array(
$_params['resource_type'],
  
$_params['resource_name'],
  &
$params['source_content'],
  &
$params['resource_timestamp'],
 &
$this));
It is in _fetch_resource_info at 1579 for to see if we can get a template with the default template handler.

Maybe clearing the caches would help.




10
stefan88
Re: Strange smarty error
  • 2008/11/13 16:31

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


Quote:
Any more ideas?


Hi,

check the owner of the theme files. Make shure server has right to read them...
..

Login

Who's Online

398 user(s) are online (283 user(s) are browsing Support Forums)


Members: 0


Guests: 398


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