Error when displaying a tracker item and tpl is not found
- Status
- Closed
- Subject
- Error when displaying a tracker item and tpl is not found
- Version
- 11.x
11.x Regression - Category
- Error
- Developer Training
- Less than 30-minutes fix
- Feature
- Trackers
- Resolution status
- Fixed or Solved
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
Set a tracker to display items with a wiki page template.
Don't create the template so it is missing.When viewing a tracker items popup this (ugly) error.
Copy to clipboardFatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'promo_tpl' in 'tracker_pretty_item.tpl'' in /var/www/sites/xxx/xxx/subdomains/www/html/vendor/smarty/smarty/distribution/libs/sysplugins/smarty_internal_templatebase.php on line 127 SmartyException: Unable to load template file 'promo_tpl' in 'tracker_pretty_item.tpl' in /var/www/sites/xxx/xxx/subdomains/www/html/vendor/smarty/smarty/distribution/libs/sysplugins/smarty_internal_templatebase.php on line 127 Call Stack: 0.0020 1106896 1. {main}() /var/www/sites/xxx/xxx/subdomains/www/html/tiki-view_tracker_item.php:0 0.2151 29471160 2. Smarty_Tiki->display() /var/www/sites/xxx/xxx/subdomains/www/html/tiki-view_tracker_item.php:723 0.2151 29471896 3. Smarty_Internal_TemplateBase->display() /var/www/sites/xxx/xxx/subdomains/www/html/lib/init/smarty.php:348 0.2151 29472056 4. Smarty_Tiki->fetch() /var/www/sites/xxx/xxx/subdomains/www/html/vendor/smarty/smarty/distribution/libs/sysplugins/smarty_internal_templatebase.php:374 0.2152 29475872 5. Smarty_Tiki->fetch() /var/www/sites/xxx/xxx/subdomains/www/html/lib/init/smarty.php:229 0.2154 29476112 6. Smarty_Internal_TemplateBase->fetch() /var/www/sites/xxx/xxx/subdomains/www/html/lib/init/smarty.php:254
Should display the item with the tracker standard view (no template).
Eventually display a small error to admin only.- Solution
Resolved r46564.
Could not proceed with normal display. The error occurs during rendering and some artifacts remain visible, leading to a broken display.
Redirecting to the item list with a notice. This should not happen under normal use as it is a misconfiguration.
- Importance
- 3
- Easy to solve?
- 7
- Priority
- 21
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4582
- Created
- Wednesday 26 June, 2013 11:31:09 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Sunday 14 July, 2013 09:37:49 UTC