Results 1 to 6 of 6
  1. #1
    New Pligger talksoccer's Avatar
    Joined
    Nov 2006
    Posts
    9

    Error when clicking on tags

    Hi,

    When clicking on a tag and being redirected to the search page, I am experiencing the following error:

    search results for
    Notice: TPL: [in mollio-beat/search_center.tpl line 29]: syntax error: 'sanitize' modifier does not exist (class.template.php(674) : eval()'d code, line 14) in C:\Program Files\xampp\htdocs\pligg\class.template.php on line 898

    I have identified that the problem results as a conditional match on:

    {if $templatelite.get.search neq ""}
    <h2>{#PLIGG_Visual_Search_SearchResults#} {$templatelite.get.search|sanitize:2} {$from_text}</h2>

    and it's sanitize that's the issue there. If I remove that part then it's fine. What could be the cause of the above error and what is the best way to fix it.

    Thanks.

  2. #2
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    That's odd that sanitize is giving you errors. I have run Pligg on my local machine using XAMPP and WAMP and sanitize has never given me problems.

  3. #3
    Mayor of PliggVille AshDigg's Avatar
    Joined
    Dec 2005
    Posts
    1,515
    Do you have the file /plugins/modifier.sanitize.php?

  4. #4
    New Pligger talksoccer's Avatar
    Joined
    Nov 2006
    Posts
    9
    Nope. I don't I've installed this on two machines and neither have it. It's the latest version 8.2.0

    Can somebody send me the file please (PM if necessary). Any ideas as to why it could be missing? Fresh install on 2 machines resulted in this.

    Thanks.

  5. #5
    Pligg Developer/Admin kbeeveer46's Avatar
    Joined
    Jun 2006
    Posts
    3,215
    in your plugins directory, make a file called modifier.sanitize.php and add this to it http://pligg.svn.sourceforge.net/vie...r.sanitize.php

  6. #6
    New Pligger talksoccer's Avatar
    Joined
    Nov 2006
    Posts
    9
    Much appreciated. Working perfectly now. Thanks!

Similar Threads

  1. Fatal Error clicking on category
    By xenfra in forum Questions & Comments
    Replies: 0
    Last Post: 04-03-2008, 02:53 PM
  2. In Story Page Clicking title of the article gives error
    By werushka in forum Questions & Comments
    Replies: 1
    Last Post: 01-07-2008, 09:39 PM
  3. Beta 9.7 - Clicking on Categories
    By Arkanum in forum Questions & Comments
    Replies: 2
    Last Post: 07-14-2007, 02:13 PM
  4. Replies: 6
    Last Post: 11-26-2006, 08:55 PM
  5. Clicking on the article to go to the ari
    By finn in forum Questions & Comments
    Replies: 4
    Last Post: 06-21-2006, 04:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting