Support Question: CRI ERROR

Isleander
Isleander
@isleander
11 years ago
558 posts
Can anyone explain why I get this error in the "activity" when clicking on a user profile link.
After leaving a comment for the user it shows up in the activity feed, but when clicking on the user link in the activity I always get this error - "CRI: Unable to copy modules/jrProfile/templates/item_detail.tpl to template cache directory: data/cache/jrCore"

Any suggestions would be most welcome.

Thank you.
updated by @isleander: 12/18/14 04:45:38AM
douglas
@douglas
11 years ago
2,804 posts
This sounds like your folders do not have the correct permissions set... the web user can not write to the folder. You can use an FTP client to try and CHMOD the folders to 755 and make sure the files are CHMOD to 644.

If you can't change them via FTP, you'll want to contact your hosting provider and have them set it for you.

Hope this helps! :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
Isleander
Isleander
@isleander
11 years ago
558 posts
douglas:
This sounds like your folders do not have the correct permissions set... the web user can not write to the folder. You can use an FTP client to try and CHMOD the folders to 755 and make sure the files are CHMOD to 644.

Hope this helps! :)

OK.

I have 3 different jrProfile folders

jrProfile
jrProfile-release-1.1.30
jrProfile-release-1.1.31

Attributes/Permissions for all Folders are set at 755
Attributes/Permissions for all Files are set at 644

The template file which is being call for (item_detail.tpl) is not present in any of jrProfile folders

???
updated by @isleander: 11/14/14 08:19:42AM
douglas
@douglas
11 years ago
2,804 posts
Go to your ACP > Marketplace > Tools > Reload Modules And Skins and reload the Profile module, then run the integrity check tool and clear your caches and see if that fixes it.


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
gary.moncrieff
gary.moncrieff
@garymoncrieff
11 years ago
865 posts
I have seen this before when I made an error modifying a template file, have you manually changed any files?
Isleander
Isleander
@isleander
11 years ago
558 posts
douglas:
Go to your ACP > Marketplace > Tools > Reload Modules And Skins and reload the Profile module, then run the integrity check tool and clear your caches and see if that fixes it.

OK, but will doing that override the changes made to the site?

My thought is this ... does the template actually exist in the build or was it somehow overlooked?

I have the new Ningja skin. Is there a way of checking this out before I reload?

Thanks
updated by @isleander: 11/14/14 08:52:52AM
Isleander
Isleander
@isleander
11 years ago
558 posts
gary.moncrieff:
I have seen this before when I made an error modifying a template file, have you manually changed any files?

Gary, surely changing a file wouldn't delete a template.
brian
@brian
11 years ago
10,149 posts
Isleander:
My thought is this ... does the template actually exist in the build or was it somehow overlooked?

Profiles do not have an "item_detail.tpl" file, since the profile "detail page" is constructed by the skin. It sounds like a bad URL in the activity timeline to me, so we can check that out.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,149 posts
Ahh - OK I think I see the issue. Was this for a comment posted via the "Comments" popup on the profile? If so, that has actually been removed from the Skin and will be gone in the next push - we need to find a proper way of just doing comments directly on the profile (right now in Jamroom all comments are on an ITEM that belongs to a profile).

So ignore that for now - we'll get a fix in as soon as we can.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Isleander
Isleander
@isleander
11 years ago
558 posts
brian:
Was this for a comment posted via the "Comments" popup on the profile?

Yes Brian - you got it.

OK Thanks..
brian
@brian
11 years ago
10,149 posts
Isleander:
brian:
Was this for a comment posted via the "Comments" popup on the profile?

Yes Brian - you got it.

OK Thanks..

Thanks - I've got some updates coming for the comments module so will make sure we get this supported.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Isleander
Isleander
@isleander
11 years ago
558 posts
OK - you're doing a good job.
updated by @isleander: 11/14/14 09:24:17AM