PEAK XOOPS - "Fatal error: Smarty error:" making white page in englishin japanese

"Fatal error: Smarty error:" making white page

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/13 13:57
toeknee  二等兵   Posts: 8
Hi,
I started getting white pages in my site after updating from 2.0.13.1 to 2.0.14, with piCal v. 87a. Using the process of elimination, I discovered that if piCal module was deactivated, the site worked like normal. Enabling PHP debug brought this error:

Fatal error: Smarty error: [in db:pical_coming_schedule.html line 13]: syntax error: unrecognized tag: $event.end_desc}--> <{elseif $event.distance == 2 (Smarty_Compiler.class.php, line 436) in /home/{myuser}/public_html/class/smarty/Smarty.class.php on line 1095


So I disabled just the "Coming Events (piCal)" block, and the site seemed to work fine, but I need that block. I updated to .87c, updated the module, but it's the same error. I don't understand what that error means nor how to fix the problem. Please help... even if only to set me in a direction.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/15 5:42
GIJOE  先任軍曹   Posts: 4110
It looks a broken template.

Right codes of the place:
        <{elseif $event.distance == 1}>
          <font size='2'><img border='0' src='<{$block.images_url}>/<{$event.dot_gif}>' />  <{$event.start_desc}> - <{$event.end_desc}></font>
        <{elseif $event.distance == 2}>
          <font size='2'><img border='0' src='<{$block.images_url}>/<{$event.dot_gif}>' />  <{$event.start_desc}></font>

Upload piCal's template again and update the module.
Or, edit the template by tplsadmin or altsys.

Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2006/8/15 12:02
toeknee  二等兵   Posts: 8
Thanks! That fixed it. I don't know what happened, but I appreciate your help and your great module.
Votes:14 Average:5.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!