|
|
#11 |
|
Coder
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111 ![]() ![]() |
Try deleting the contents ot the folder /templates_c
|
|
|
|
|
|
#12 | |
|
Coder
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111 ![]() ![]() |
Quote:
{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"} |
|
|
|
|
|
|
#13 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 4 ![]() |
Same error. Both ways respectively.
Is there a specific place to put the code in the file that could change the result? |
|
|
|
|
|
#14 | |
|
Coder
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111 ![]() ![]() |
Quote:
those are "back tics" not single quotes. `$smarty.const.FILESYSTEM_PATH` Module works fine for me with my added changes. |
|
|
|
|
|
|
#15 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 4 ![]() |
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 |
|
|
|
|
|
#16 | |
|
Coder
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111 ![]() ![]() |
Quote:
|
|
|
|
|
|
|
#17 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 4 ![]() |
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"} |
|
|
|
|
|
#18 |
|
Coder
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111 ![]() ![]() |
That should still work, but you are now combining both of my recomended changes instead of using 1 or the other.
|
|
|
|
|
|
#19 |
|
Member
Join Date: Dec 2008
Posts: 56
Rep Power: 4 ![]() |
No. I tried all three combinations. Same error.
|
|
|
|
|
|
#20 |
|
Coder
Join Date: Mar 2006
Posts: 4,563
Rep Power: 111 ![]() ![]() |
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? |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
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 |