phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015292phplist applicationTemplate Managementpublic15-05-09 04:5527-11-09 17:31
Reporterh2b2 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.10.10 
Target VersionFixed in Version2.10.11 
Summary0015292: View templates generates a blank page
DescriptionWhen trying to preview templates and clicking on the "view" link (e.g. lists/admin/?page=viewtemplate&id=1) the resulting page doesn't display the template preview.

This issue was reported by astralbaby and confirmed on my system.
ref: http://forums.phplist.com/viewtopic.php?p=62159#p62159 [^]
TagsNo tags attached.
Attached Files

- Relationships
child of 0015369resolvedmichiel 2.10.10 initial patches 

-  Notes
(0050720)
h2b2 (manager)
28-08-09 05:55

The following fix is suggested by tipichris in this forum post: http://forums.phplist.com/viewtopic.php?f=17&t=24593#p62867 [^]


    --- lists/admin/viewtemplate.php.orig Fri Jun 5 20:10:42 2009
    +++ lists/admin/viewtemplate.php Fri Jun 5 20:17:20 2009
    @@ -12,7 +12,7 @@
       print '

'.PageLink2("template&id=".$_GET["id"],$GLOBALS['I18N']->get('BackEditTemp')).'

';
    } else {
       ob_end_clean();
    - print previewTemplate($id,$_SESSION["logindetails"]["id"],nl2br($GLOBALS['I18N']->get('TempSample')));
    + print previewTemplate($_GET['id'],$_SESSION["logindetails"]["id"],$GLOBALS['I18N']->get('TempSample'));
    }

    ?>
(0050727)
h2b2 (manager)
29-08-09 14:44

The fix suggested by tipichris has been included in a patched lists/admin/viewtemplate.php file, available as an attachment in this forum post:
http://forums.phplist.com/viewtopic.php?f=17&t=24593&start=15#p67489 [^]
(0050786)
michiel (manager)
27-11-09 17:31

revision 1697


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker