Loading...
 
Skip to main content

smarty {debug} function gives PHP error "E_USER_WARNING"

Status
Closed
Subject
smarty {debug} function gives PHP error "E_USER_WARNING"
Version
3.x
Category
  • Error
Feature
Templates (Smarty)
Debugger Console
Resolution status
Fixed or Solved
Submitted by
sinnlos
Lastmod by
Philippe Cloutier
Rating
(0)
Description

inserting {debug} at the beginning of a template results in the following issue:

PHP (5.2.0-8+etch15) ERROR (E_USER_WARNING):
File: Smarty.class.php
Line: 1092
Type: Smarty error: unable to read resource: "file:lib/smarty/libs/debug.tpl"

that happend in every template i tested
checked the directory and filepermissions for that path, but the Permissions are ok
serching the web resultet that it culd be a missing include for smaty, but im not that far into smarty to fix it on my own

Solution

Fix SMARTY_DIR.
Done in r20942 on trunk. Proposed for Tiki 3 in r20943
Thanks Monte Ohrt

Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2589
Created
Friday 26 June, 2009 13:52:49 UTC
by Unknown
LastModif
Tuesday 18 August, 2009 03:57:51 UTC


Show PHP error messages