solved Error: unable to copy modules/jrFollower/templates/button_pending.tpl to template cache directory: data/cache/jrCore

resif
@resif
6 years ago
187 posts
when i do chmod 755 under public_html all directiories

with this command on ssh

find -type d -exec chmod 755 {} \;

this error i see...

i deleted before manuel jcore its under data/cache/jrCore

updated by @resif: 07/19/19 04:27:17AM
alt=
@perfectgamestudios
6 years ago
106 posts
Hello,
I not sure how your server has PHP setup so if you are using either fast cgi or suexec you will want to make sure the files are 644 and 755 for directory.

or if you are using PHP as mod_php then you will want to use chmod as 777 for folders and 644 for files.

If these are not the issues you can try the following commands.

Just edit the $user and $group to the correct user and group for your server.

I have also added verbose so you can see the results, you can also pipe this to log file using &> output.txt.

find /home/$user/public_html -type d -exec chmod --verbose 755 {} \;

find /home/$user/public_html -type f -exec chmod --verbose 644 {} \;

chown --verbose -R $user:$group /home/$user/public_html/*

Kind Regards

Stephen Bishop

Tags