Support Forums

Seller Store 'Error Message'

This is a discussion on Seller Store 'Error Message' within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Members get the following error message when clicking on their seller store link; Warning: Smarty error: unable to read resource: ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 09-04-2008, 12:18 PM   #1
Senior Member
 
 
Join Date: Jan 2007
Posts: 397
Rep Power: 25
michael is just really nice michael is just really nice
Default Seller Store 'Error Message'

Members get the following error message when clicking on their seller store link;
Warning: Smarty error: unable to read resource: "layout.tpl.php" in /home/michael/public_html/mkclassifieds/includes/classes/smarty/Smarty.class.php on line 1095

Warning: Smarty error: unable to read resource: "layout.tpl.php" in /home/michael/public_html/mkclassifieds/includes/classes/smarty/Smarty.class.php on line 1095
My best bet is that the call is still going out to layout.tpl.php when in fact the file is now just layout.tpl

Where do I make the necessary changes?
__________________
M Michael
V4.1.6 Developer - 3 Column Default Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 09-04-2008, 12:28 PM   #2
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,289
Rep Power: 124
Eric Barnes is a jewel in the rough
Default

I would look in the modules folder. Probably either: mod_user.php or index.php inside the seller store.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 09-04-2008, 12:41 PM   #3
Senior Member
 
 
Join Date: Jan 2007
Posts: 397
Rep Power: 25
michael is just really nice michael is just really nice
Default

Yep. At the very end of modules/seller_store/index.php there is a single reference to layout.tpl.php I just removed the .php and all seems fine.

Curious though. In the same file there are several references to forward.tpl.php

What is this file? What does it do and why does it still have the old .tpl.php extension?
__________________
M Michael
V4.1.6 Developer - 3 Column Default Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 09-04-2008, 12:43 PM   #4
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,289
Rep Power: 124
Eric Barnes is a jewel in the rough
Default

Yes you should change those as well. Just remove the .php portion.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 09-04-2008, 12:45 PM   #5
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,289
Rep Power: 124
Eric Barnes is a jewel in the rough
Default

By the way that file just forwards the user after they make a change.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 09-04-2008, 01:02 PM   #6
Senior Member
 
 
Join Date: Jan 2007
Posts: 397
Rep Power: 25
michael is just really nice michael is just really nice
Default

Ok, thanks Eric.
__________________
M Michael
V4.1.6 Developer - 3 Column Default Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 09-04-2008, 01:09 PM   #7
Senior Member
 
 
Join Date: Jan 2007
Posts: 397
Rep Power: 25
michael is just really nice michael is just really nice
Default

I also found this:

$sSQL="SELECT extensions,maxSize FROM ".PREFIX."image_settings WHERE id=1";
$result=$db->query($sSQL);
$rs=$result->fetch();
$extensions=$rs['extensions'];
$maxSize=$rs['maxSize'];

$class_tpl->assign('body','index.tpl.php');
$class_tpl->fetch('memberslist_user_main.htm');

I guess that .php should be removed too right?
__________________
M Michael
V4.1.6 Developer - 3 Column Default Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 09-04-2008, 01:11 PM   #8
Senior Member
 
 
Join Date: Jan 2007
Posts: 397
Rep Power: 25
michael is just really nice michael is just really nice
Default

Whoa! No. You do not remove that .php extension
__________________
M Michael
V4.1.6 Developer - 3 Column Default Template


"All truths are easy to understand once they are discovered; the point is to discover them" - Galileo Galilei (1564 - 1642)
michael is offline   Reply With Quote
Old 09-04-2008, 01:18 PM   #9
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,289
Rep Power: 124
Eric Barnes is a jewel in the rough
Default

Yea that one is probably related to the module. You may be better off just downloading it again and then uploading the new files:
http://www.68classifieds.com/forums/...ler-store.html
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Module - Seller Store Eric Barnes Modules / Plugins / Modifications 84 12-30-2009 03:22 PM
Wanted: Seller Store Enhancements systemaddict Modules / Plugins / Modifications 0 06-02-2008 03:29 AM
Modification: Seller Store Eric Barnes v3.1 Modules & Modifications 41 12-20-2007 02:48 PM
Seller Store goose Technical Support 3 08-16-2007 12:08 AM
More Seller Store related questions. ginggs v3.1 Questions & Support 6 04-13-2007 06:46 AM


All times are GMT -4. The time now is 07:49 PM.


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