Getting a "Smarty" Error

Discussion in 'Technical Support' started by MrGForce, Mar 4, 2011.

  1. MrGForce Customer

    Prg version and template info shown below .......

    Getting a "Smarty" error message in my hosting log files. The error doesn't show up for the end user or stop anything from working (I don't think) but I'm curious if anyone might know what is causing it.

    The error message is ......

    [04-Mar-2011 04:29:40] PHP Warning: Smarty error: file:/home/public_html/searchresults.php?owner=## is not readable in /home/public_html/includes/classes/smarty/Smarty.class.php on line 1092

    That file has never been modified in any way from the original.

    Any thoughts or suggestions would be appreciated as these error messages are constantly building the log file, one right after another.

    Thanks.

    Rich


    .
  2. Blair Administrator

    What file permissions are set for the searchresults.php file?
  3. MrGForce Customer

    The chmod results for that file is 644 ..... rw.r..r.. as are every other file in the root of the site.
  4. Blair Administrator

    Would you try changing to 655 and see if there are any changes to log entry, please?
    Thank you
  5. seymourjames All Hands On Deck

    Not to interfere but I know you are on hostgator - normally it is folder 0755 and files 0644 . The exception is the .ftpquota which is 0600. Worth checking with your file manager completely.
  6. MrGForce Customer

    I deleted out all the entries in the log file, changed the permission for searchresults.php to 655, flipped around a few pages on the site, and everytime you bring up the searchresults page the same error shows up in the error.log.

    It always gives the same error, with the only difference being the owner=##. And it doesn't matter what owner's listing you click on, that number will show up in the error log. And it's always referencing line 1092 in the Smarty.class.php file
  7. seymourjames All Hands On Deck

    You are running quite an old version. Perhaps it is time to consider upgrading. It is all I can suggest.

Share This Page