Results 1 to 11 of 11

Thread: Smarty Error???

  1. #1
    Join Date
    Oct 2007
    Posts
    10

    Default Smarty Error???

    When I try to send an email broadcast through the Control Panel Mailing System I get this error:
    -------------
    Warning: Smarty error: unable to read resource: "header.html" in /home/sschone/public_html/lib/smarty/Smarty.class.php on line 1088

    Warning: Smarty error: unable to read resource: "header.html" in /home/sschone/public_html/lib/smarty/Smarty.class.php on line 1088
    Error 404 - Page Not Found

    The requested URL /admin/message_send.php was not found on this server.

    Warning: Smarty error: unable to read resource: "footer.html" in /home/sschone/public_html/lib/smarty/Smarty.class.php on line 1088

    Warning: Smarty error: unable to read resource: "footer.html" in /home/sschone/public_html/lib/smarty/Smarty.class.php on line 1088
    -----------

    When I look at line 1088 in Smarty.class.php I see this: trigger_error("Smarty error: $error_msg", $error_type);

    Not sure what the reference to header.html and footer.html is. Any help is appreciated. Thanks.

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    The script is telling you that it can't find header.html and footer.html

    Make sure the files exist. Also make sure that you're running the latest version of 5.x which is 5.41 or better yet, upgrade to Deluxe.

  3. #3
    Join Date
    Oct 2007
    Posts
    10

    Default

    header.html and footer.html definitely exist within the theme folder.

    I'm running INDEXU 5.4.0. I don't see where to upgrade. Can installing a new version cause problems? I've had difficulty upgrading other systems like WordPress in the past.

    Thanks.

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Wordpress probably has one of the easiest upgrade processes out there next to vbulletin, I can't see why you would have issues.

    But saying that, to upgrade to 5.41 simply upload all the PHP files from the IndexU distribution file to your server according to the upgrade manual. There are a few exceptions so please don't do this without reading the manual.

    The manual can be found at http://www.nicecoder.com/community/f...-manuals-7250/

  5. #5
    Join Date
    Oct 2007
    Posts
    10

    Default

    The WordPress problems were caused by my host and a database error.

    Any other ideas on fixing this without upgrading? Thanks.

  6. #6
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

    Default

    check onwer and rights for the files mentioned by Bruce (chmod/chown command)

    also look if you have message_send.php file in your admin/ directory

  7. #7
    Join Date
    Oct 2007
    Posts
    10

    Default

    I do have message_send.php in the admin folder. I was able to send emails in the past so there must be a fix. Any other suggestions are appreciated. Thanks.

  8. #8
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    What about 'header.html' and 'footer.html'. Check to see if they are in the /admin_tpl and also in /themes/your_theme/

    Its important that they are not only present, but also have the proper permissions / owner rights.

    Those Smarty errors are because it cant find those files. So even if you see them, the script cannot, so there is a possibility that there are permissions or owner rights issues.
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  9. #9
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    note - *.php files should have 644 permissions. All files in /admin_tpl/ should be 644 as well.

  10. #10
    Join Date
    Oct 2007
    Posts
    10

    Default

    How do you create the 644 permissions? Thank you.

  11. #11
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Right click on the file with your FTP client and choose CHMOD. Then either click the boxes to equal 644 or enter the value 644.

    This is pretty basic stuff that you should know if you want to deal with scripts and webhosting. I would suggest that you search google for some basic tutorials on this.

    Also setting permissions (CHMOD) is covered in the IndexU install guide.

Similar Threads

  1. PHP Warning: Smarty error: unable to read resource
    By DGTALGOODIES in forum INDEXU DELUXE v1.x
    Replies: 12
    Last Post: 01-01-2009, 10:36 PM
  2. Theme....Smarty error
    By sama in forum v5.x
    Replies: 3
    Last Post: 01-09-2008, 08:38 PM
  3. Smarty AND/OR
    By beto in forum v5.x
    Replies: 2
    Last Post: 12-18-2006, 04:29 AM
  4. PHP Warning - Smarty Error
    By Rob in forum v5.x
    Replies: 2
    Last Post: 08-01-2006, 07:59 PM
  5. Smarty error
    By baggiho in forum v5.x
    Replies: 7
    Last Post: 06-17-2006, 05:24 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
  •