Support Forums

Smarty error: unable to read resource

This is a discussion on Smarty error: unable to read resource within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? V4.2.3 Developer (Brand New Install) default theme Please describe in detail the ...


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

Reply
 
Thread Tools Display Modes
Old 09-23-2011, 02:42 PM   #1
Customer
 
Join Date: Aug 2008
Location: Canada
Posts: 77
Rep Power: 14
freeze2 is on a distinguished road
Default Smarty error: unable to read resource

What version of 68 Classifieds are you running?

V4.2.3 Developer (Brand New Install)

default theme


Please describe in detail the issue you are having:

I have been receiving the following server error and have been able to reproduce every time on both the default template as well as the purple template:

PHP Warning: Smarty error: unable to read resource: "" in /home/path-to-folder/includes/classes/smarty/Smarty.class.php on line 1092

The error happens between adding the description and images.

Example:

Step 1. Choose category, then continue
Step 2. Fill in Description Fields, then continue

## ERROR ##

Step 3. Add Images

There are no errors displayed in the browser and everything appears to be functioning correctly.

I also noted that for some reason, it would always skip over the "select package" option. I noticed this if I ran only one package option, when I created a second package it showed in the steps. Not sure if this is related...the error shows regardless of this.

Any thoughts?
__________________
Developer V4.2.3

Last edited by freeze2; 09-23-2011 at 03:50 PM.
freeze2 is offline   Reply With Quote
Old 09-23-2011, 03:58 PM   #2
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,320
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Little confused by your description...
Making the assumption that you are placing a listing in the front end.
Assuming that your steps are actually:
Step 1: choose category
Step 2: choose listing package (skipped if you only have one package)
Step 3: fill in your details
Step 4: ### This is when you get your error #### upload images

Are you using 68 Classifieds version 4.2.3 as you say in your post
OR
Are you using 68 Classifieds version 4.1.5 as your signature states???

Are you actually posting the error that displays, because this error usually tells you the NAME of the resource it is trying to read.

These template files regardless of you also trying the "purple" template are in the default template/checkout directory as the purple template does not have these files, therefore automatically will look in the default template folder.

So my first recommendation would be to check to see if you actually have step4.tpl in your default template folder. If you do, check to see that it is the full file and not corrupted or incomplete. (FTP uploads sometimes have failures to upload files incorrectly or they get corrupted. Unfotunately this is a common issue).
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 09-23-2011, 08:01 PM   #3
Customer
 
Join Date: Aug 2008
Location: Canada
Posts: 77
Rep Power: 14
freeze2 is on a distinguished road
Default

Hi Mike...first, sorry about the confusion of the sig...I've updated that to show my latest version 4.2.3 that I am running (fresh install).

I am running only one package and submitting the ad from the front end, so to clarify:

***************************************

Step 1. Choose category, then continue
Step 3. Fill in Description Fields, then continue

## ERROR SHOWS ##

Step 4. Add Images

***************************************

The server error shows only after you continue on from step 3.

The error shows exactly as I have posted (except "path-to-folder")

I have re-uploaded step3.tpl and step4.tpl just to make sure, but that has not made a difference, the error still shows everytime I go past Step 3.

Any other thoughts?
__________________
Developer V4.2.3
freeze2 is offline   Reply With Quote
Old 09-26-2011, 07:50 AM   #4
curmudgeon
 
Join Date: Mar 2006
Posts: 5,415
Rep Power: 138
Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light Lhotch is a glorious beacon of light
Default

Any mods running?
__________________
Larry

Knowledge learned is more valuable than knowledge given.
Lhotch is offline   Reply With Quote
Old 09-26-2011, 10:29 AM   #5
Customer
 
Join Date: Aug 2008
Location: Canada
Posts: 77
Rep Power: 14
freeze2 is on a distinguished road
Default

Hi Larry,

The only thing I have running is the reCaptcha module.
__________________
Developer V4.2.3
freeze2 is offline   Reply With Quote
Old 09-26-2011, 11:13 AM   #6
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,354
Rep Power: 85
seymourjames is a jewel in the rough
Default

Try uploading the file again which is said to produce the error. Take it from a fresh download.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Old 09-26-2011, 11:51 AM   #7
Customer
 
Join Date: Aug 2008
Location: Canada
Posts: 77
Rep Power: 14
freeze2 is on a distinguished road
Default

Ok...just downloaded a fresh script and uploaded all of the files step1.tpl thru step7.tpl overwriting the originals.

Went through the checkout process and the error still occurred exactly as it did before.

Any other thoughts?
__________________
Developer V4.2.3
freeze2 is offline   Reply With Quote
Old 09-26-2011, 12:42 PM   #8
Developer & Moderator
 
 
Join Date: Jan 2007
Location: Pennsylvania, USA
Posts: 2,320
Rep Power: 69
Mike-N-Tosh is just really nice Mike-N-Tosh is just really nice
Default

Please also check and/or re-upload includes/core/checkout/

This is where the individual php files live that set the individual smarty templates. With the error indicating a blank for the resource indicates that the file that set the resource may be corrupt.
__________________
Mike-N-Tosh
IndianaPC.org - A community website (v3.1.10 Developer - heavily modified & used as the CMS)
Sandbox [localhost(v3.1.10, v4.0.9, 4.1.10,4.2,5.0)] for development and customization
Visit My blog: reviews, tips, tricks, tutorials and my store with Templates, Mods & Docs
Web Hosting | Web Design & Development | 68 Classifieds Customizations
I am not a 68C employee, just a user and try to help out
Mike-N-Tosh is offline   Reply With Quote
Old 09-26-2011, 01:34 PM   #9
Customer
 
Join Date: Aug 2008
Location: Canada
Posts: 77
Rep Power: 14
freeze2 is on a distinguished road
Default

Ok...I just uploaded all 7 files in the includes/core/checkout/ folder overwriting the old ones.

I went through the checkout process and the error still occurred as it did on previous attempts.
__________________
Developer V4.2.3
freeze2 is offline   Reply With Quote
Old 09-26-2011, 02:34 PM   #10
All Hands On Deck
 
 
Join Date: Mar 2008
Posts: 3,354
Rep Power: 85
seymourjames is a jewel in the rough
Default

what file does that say?


PHP Warning: Smarty error: unable to read resource: "" in /home/path-to-folder/includes/classes/smarty/Smarty.class.php on line 1092

Try that one.

Also, in your package do check you have the categories selected. I believe this error occurs when you don't if memory serves me correctly.
__________________
"The fool doth think he is wise, but the wise man knows himself to be a fool.".

TemplateCodes.com for 68C, Version 4 Templates & Modules
Get the Best U.S Hosting, Best U.K Hosting
seymourjames is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Smarty error: unable to read resource TStuff Installation Problems 0 04-19-2011 07:47 AM
Smarty Error freeze2 Technical Support 4 04-27-2010 11:45 PM
Smarty error cqcr TemplateCodes 5 11-14-2009 04:30 AM


All times are GMT -4. The time now is 12:13 PM.


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