cannot copy template to cache error

soaringeagle
@soaringeagle
9 years ago
3,304 posts
when a member liked her own profile the link was this in activity https://www.dreadlockssite.com/daniela-jameelah-dublin/profile/14253
clicking it I get this error
CRI: Unable to copy modules/jrProfile/templates/item_detail.tpl to template cache directory: data/cache/jrCore

now I'm not sure if the generated link looks right or not
but whats causing this odd error


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 10/14/15 06:30:43AM
michael
@michael
9 years ago
7,715 posts
Where is the page that that link is coming from?

The link it should be pointing to is:
https://www.dreadlockssite.com/daniela-jameelah-dublin/

That's her profile URL.

(guess) What it looks like is happening is you have a like button somewhere to be able to like her profile, then you have a list of items that you have liked somewhere. The list links to the item and that's where the full URL is coming from. Wherever that link is, it needs to be fixed up to point to the correct location.

What the error is saying is the file:
/modules/jrProfile/templates/item_detail.tpl

doesn't exist (or the cache is not writeable, but in this case its 'doesn't exist'.) so cant be copied. That is because the jrProfile module doesnt have an 'item_detail.tpl' file.

item_detail.tpl file is to show the item ON the profile. you cant show a profile ON a profile, so the template isn't needed or useful.

--edit--
Found the link on here timeline
https://www.dreadlockssite.com/daniela-jameelah-dublin/timeline

I'll go see if I can recreate.
updated by @michael: 09/13/15 04:03:23PM
soaringeagle
@soaringeagle
9 years ago
3,304 posts
yea its also in front page activity feed thats where i clicked it


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities
soaringeagle
@soaringeagle
9 years ago
3,304 posts
ps added the like dislike to commebts works great but cannot get it to work in the forums on the original post or on forum replies
"


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

Tags