Issue 811 - Custom page fail in a non debug mode (indefero)

14 views
Skip to first unread message

no-r...@ceondo.com

unread,
Jun 18, 2012, 6:14:23 AM6/18/12
to indefero...@googlegroups.com
Hello,

A new issue has been created and assigned
to you:

811 - Custom page fail in a non debug mode
Project: Indefero
Status: New
Reported by: مصطفی برمشوری
Labels:
Type:Defect
Priority:Medium

Description:

When I desable debug mode in indefero, and enable "Costum forge page" in "Forge Management", then click on "Home" url bellow error will appear in Home page:
Fatal error: Call to undefined function IDF_Template_safePregReplace() in /home/www/indefero/src/IDF/Template/MarkdownForge.php on line 37
If enable debug mode, error will disappear!

--
Issue: http://projects.ceondo.com/p/indefero/issues/811/


no-r...@ceondo.com

unread,
May 13, 2013, 3:38:02 PM5/13/13
to indefero...@googlegroups.com
Hello,

The following issue has been updated:

811 - Custom page fail in a non debug mode
Project: Indefero
Status: New
Reported by: مصطفی برمشوری
URL: http://projects.ceondo.com/p/indefero/issues/811/
Labels:
Type:Defect
Priority:Medium

Comments (last first):

# By Keith Constable, May 13, 2013:

The fix for this is one line:

--- MarkdownForge.php.bak 2013-05-13 15:33:22.556501055 -0400
+++ MarkdownForge.php 2013-05-13 15:34:20.644737513 -0400
@@ -22,6 +22,7 @@
# ***** END LICENSE BLOCK ***** */

Pluf::loadFunction('Pluf_Text_MarkDown_parse');
+Pluf::loadFunction('IDF_Template_safePregReplace');

class IDF_Template_MarkdownForge extends Pluf_Template_Tag
{

# By مصطفی برمشوری, Jun 18, 2012:
Reply all
Reply to author
Forward
0 new messages