Support Forums

Getting a "Smarty" Error

This is a discussion on Getting a "Smarty" Error within the Technical Support forums, part of the Technical Support Forums category; Prg version and template info shown below ....... Getting a "Smarty" error message in my hosting log files. The error ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 03-04-2011, 12:44 PM   #1
Customer
 
MrGForce's Avatar
 
Join Date: May 2009
Posts: 236
Rep Power: 12
MrGForce is on a distinguished road
Default Getting a "Smarty" Error

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


.
__________________
MrGForce

Currently running 68Classifieds v4.1.5 Developer Edition ... Purple Template
MrGForce is offline   Reply With Quote
Old 03-04-2011, 05:11 PM   #2
Staff
 
Join Date: Mar 2006
Posts: 526
Rep Power: 31
Blair will become famous soon enough
Default

What file permissions are set for the searchresults.php file?
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Old 03-04-2011, 08:40 PM   #3
Customer
 
MrGForce's Avatar
 
Join Date: May 2009
Posts: 236
Rep Power: 12
MrGForce is on a distinguished road
Default

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

Currently running 68Classifieds v4.1.5 Developer Edition ... Purple Template
MrGForce is offline   Reply With Quote
Old 03-05-2011, 11:40 AM   #4
Staff
 
Join Date: Mar 2006
Posts: 526
Rep Power: 31
Blair will become famous soon enough
Default

Would you try changing to 655 and see if there are any changes to log entry, please?
Thank you
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Old 03-05-2011, 01:22 PM   #5
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,042
Rep Power: 75
seymourjames is a jewel in the rough
Default

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.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates and list your 68C site on ClassifiedCodes.com
seymourjames is offline   Reply With Quote
Old 03-05-2011, 08:08 PM   #6
Customer
 
MrGForce's Avatar
 
Join Date: May 2009
Posts: 236
Rep Power: 12
MrGForce is on a distinguished road
Default

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
__________________
MrGForce

Currently running 68Classifieds v4.1.5 Developer Edition ... Purple Template
MrGForce is offline   Reply With Quote
Old 03-06-2011, 02:01 AM   #7
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,042
Rep Power: 75
seymourjames is a jewel in the rough
Default

You are running quite an old version. Perhaps it is time to consider upgrading. It is all I can suggest.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates and list your 68C site on ClassifiedCodes.com
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Smarty plugins and "Pages" Mike-N-Tosh Modules / Plugins / Modifications 3 11-25-2008 08:05 AM
Adding a "Product Directory" & "Find a Dealer" system spaceboy Technical Support 1 09-18-2008 07:16 PM
How to change title name "Place" to "post" on main page? YourPalAl Technical Support 4 04-28-2008 11:39 PM
Smarty "or" variable? cwp Technical Support 2 03-03-2008 03:44 PM


All times are GMT -4. The time now is 06:13 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0