This question may be related to a resolved thread: http://www.68classifieds.com/forums/showthread.php?t=6836. What version of 68 Classifieds are you running? Example: V4.1.5 Developer What template are you using? Custom Please describe in detail the issue you are having: I've come across this smarty error in my error logs over the last while: PHP Warning: Smarty error: unable to read resource: "" in /home/directory/public_html/folder/includes/classes/smarty/Smarty.class.php on line 1092 I'm not sure what to make of it, only seems to happen the odd time. The site seems to be functioning normally. Any thoughts?
The issue is the same although it may be a different file. Smarty can't find a file which is what the error says. If you've made recent changes with a module that perhaps uses template files and you have deleted those, such as the custom cats module as an example, that could possibly cause such an error. Ensure that the settings in any such module are pointing to the correct template file and you could empty your templates_c (cache) directory folder which may resolve that. You are also using an older version of the software that contains known bugs. I would advise that you upgrade to the latest version which is currently v4.1.10. If done properly, that should also take care of any missing file(s) that are causing this error.
Oddly enough, I haven't changed anything in a long time and the error only shows occasionally. I will keep my eye on things though. I have been putting off upgrading, as I'm running a custom template...and it will be quite a chore. It is on my to do list though
A custom template shouldn't make any difference in upgrading your site. The upgrade is for core files, not your template and IF there are any changes that would affect your custom template, it would be minor.
The Smarty 1092 error is something I have seen quite a bit of on the forum. I had the same problem. What worked for me was to upload a freshly downloaded copy of the latest version. I did not upload the templates folder because, as suggested, I tried other templates and the problem still showed up. So the problem was not in the templates. So I re-uploaded everything fresh except the Connections folder and the templates folder, I emptied the templates_c folder and this worked for me.