Support Forums


Go Back   68 Classifieds Forums > Help & Support > Modules / Plugins / Modifications

Notices

 
LinkBack Thread Tools Display Modes
Old 12-18-2008, 12:33 PM   #11
Coder
 
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by island1 View Post
oh, yes. I "activated" the module
Try deleting the contents ot the folder /templates_c
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 12-18-2008, 12:36 PM   #12
Coder
 
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by island1 View Post
sorry, actually the error message changed to:
Warning: Smarty error: unable to read resource: "'/home/projedk3/public_html/'modules/rating/templates/rating.tpl"
ok, try these lines insteadis....

{assign var="rating" value=`$smarty.const.FILESYSTEM_PATH`modules/rating/templates/rating.tpl}<br />{include file="$rating"}

{assign var="rating" value=`$smarty.const.FILESYSTEM_PATH`modules/rating/templates/listing_rating.tpl}<br />{include file="$rating"}
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 12-18-2008, 12:38 PM   #13
Member
 
Join Date: Dec 2008
Posts: 56
Rep Power: 4
island1 is on a distinguished road
Default

Same error. Both ways respectively.

Is there a specific place to put the code in the file that could change the result?
island1 is offline   Reply With Quote
Old 12-18-2008, 12:40 PM   #14
Coder
 
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by island1 View Post
Same error. Both ways respectively.

Is there a specific place to put the code in the file that could change the result?
Did you cut and past my code or hand type it in?

those are "back tics" not single quotes.

`$smarty.const.FILESYSTEM_PATH`


Module works fine for me with my added changes.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 12-18-2008, 12:43 PM   #15
Member
 
Join Date: Dec 2008
Posts: 56
Rep Power: 4
island1 is on a distinguished road
Default

You know what? I just thought that, but alas I changed it and the error remains. Here is the new message:

Warning: Smarty error: unable to read resource: "/home/projedk3/public_html/modules/rating/templates/rating.tpl"
in /home/projedk3/public_html/includes/classes/smarty/Smarty.class.php on line 1095
island1 is offline   Reply With Quote
Old 12-18-2008, 12:44 PM   #16
Coder
 
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by island1 View Post
You know what? I just thought that, but alas I changed it and the error remains. Here is the new message:

Warning: Smarty error: unable to read resource: "/home/projedk3/public_html/modules/rating/templates/rating.tpl"
in /home/projedk3/public_html/includes/classes/smarty/Smarty.class.php on line 1095
The path now looks correct so you need to check the permissions on the files/folder for the mod itself.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 12-18-2008, 12:45 PM   #17
Member
 
Join Date: Dec 2008
Posts: 56
Rep Power: 4
island1 is on a distinguished road
Default

here is copy & paste of what I have entered:

{assign var="rating" value=`$smarty.const.FILESYSTEM_PATH`}
{include file="`$rating`modules/rating/templates/rating.tpl"}
island1 is offline   Reply With Quote
Old 12-18-2008, 12:48 PM   #18
Coder
 
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by island1 View Post
here is copy & paste of what I have entered:

{assign var="rating" value=`$smarty.const.FILESYSTEM_PATH`}
{include file="`$rating`modules/rating/templates/rating.tpl"}
That should still work, but you are now combining both of my recomended changes instead of using 1 or the other.
__________________
Larry.
Lhotch is offline   Reply With Quote
Old 12-18-2008, 12:54 PM   #19
Member
 
Join Date: Dec 2008
Posts: 56
Rep Power: 4
island1 is on a distinguished road
Default

No. I tried all three combinations. Same error.
island1 is offline   Reply With Quote
Old 12-18-2008, 12:56 PM   #20
Coder
 
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by island1 View Post
No. I tried all three combinations. Same error.
The path in the error was incorrect at first, my changes, once you used back tics solved that issue and the path is now correct yet the files still can not be read.......


have you checked the file permission on the templates like I mentioned? And have you made sure the file is even on the server?
__________________
Larry.
Lhotch is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rating Module Eric Barnes Modification Release 1 11-30-2008 07:08 AM
Module - Rating Mod Eric Barnes Modules / Plugins / Modifications 7 08-26-2008 08:31 AM
Error when using the Rating Module buzzandgo v3.1 Questions & Support 3 02-20-2008 11:52 PM
Rating Module alisa v3.1 Modules & Modifications 9 04-19-2007 10:00 AM
Error when installing v3.1.0b5 sleepy v3.1 Questions & Support 8 04-22-2006 01:41 PM


All times are GMT -4. The time now is 12:03 AM.


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