Results 1 to 9 of 9

Thread: Smarty.class.php problem

  1. #1
    Join Date
    Jan 2006
    Posts
    33

    Default Smarty.class.php problem

    Hi...dudes...I try to modify Smarty.class.php, colummns numbers and image of folder icon but this message appears:
    -----------------------------------------------------------------------------
    Warning: fetch(/home/explora/public_html/ebusca//templates_c/%%C0^C02^C025043C%%var%3Atemplate_string.php): failed to open stream: No such file or directory in /home/explora/public_html/ebusca/lib/smarty/Smarty.class.php on line 1258
    -----------------------------------------------------------------------------
    any ideas?????....thanks....

  2. #2
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    try clearign your cache
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Join Date
    Jan 2006
    Posts
    33

    Default

    how.......

  4. #4
    Join Date
    Jan 2005
    Posts
    164

    Default empty cache folder

    Go to your cache folder and delete all the contents

  5. #5
    Join Date
    Jan 2006
    Posts
    33

    Default

    I cant delete some inside folders..... ...4 colummns no work......other suggestions pleeeease.....thanks.....f

  6. #6
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    why are you editting smart.class file?

    Folder image and columns can be changed in settigns.php... tell us what your trying to do.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  7. #7
    Join Date
    Jan 2006
    Posts
    33

    Default

    ok sorry....I try to modify category.class.php....:
    class clsCategory {
    var $table_name = "category";
    var $link_table_name = "link";
    var $number_of_columns = 4; // choose 1,2,3, and 4------this line, 2 it`s default
    var $number_of_subcats = 3;
    var $default_image = "images/folder.gif";
    var $show_image = true;
    var $show_subcat = false;
    var $show_description = false;
    I need 4 columns....but when modify this line the program show me this message:

    Warning: fetch(/home/explora/public_html/ebusca//templates_c/%%C0^C02^C025043C%%var%3Atemplate_string.php): failed to open stream: No such file or directory in /home/explora/public_html/ebusca/lib/smarty/Smarty.class.php on line 1258
    this is the smarty.class.php problem...thanks for your continuos replays

  8. #8
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    you dont change category.class you need to go to the themes folder and make the change in settings.php

    havign said that the change you make shouldnt cause a problem, its soemthign to do with the cache, its looking for the compiled version of the file and not finding it. However, havent a clue why, so submit a support ticket if changing the correct file causes a problem as well
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  9. #9
    Join Date
    Jan 2006
    Posts
    33

    Default

    thaaanks so much....dude

Similar Threads

  1. Replies: 1
    Last Post: 06-09-2006, 07:14 AM
  2. Smarty Errors
    By kevinrstruck in forum v5.x
    Replies: 2
    Last Post: 04-02-2006, 05:55 PM
  3. smarty code
    By vittle in forum v5.x
    Replies: 1
    Last Post: 02-21-2006, 05:11 PM
  4. More smarty plugins
    By dody in forum v5.x
    Replies: 1
    Last Post: 12-16-2005, 09:33 PM
  5. switch to smarty template engine
    By dody in forum v5.x
    Replies: 20
    Last Post: 01-10-2005, 04:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •