ISSUE SUMMARY:
STEPS TO REPLICATE:
Steps to replicate
Login with the jstest user
enter to the next section:
portales.inder.gov.co/intranet/familia-inder
Clic in some photos, as I show you in the attachment: clic-some-fotos1.png
Now you can access to FTP
Today I updated the jomsocial version to the 4.1.6
In this moment I cant give you access to the database, because of the firewall...
I write in the miscelaneus information... in the first post... the link to download the database... please use in your system... and then tell me what I should modify in my database to fix the problem
thanks!
what files are you trying to write? I did a test with your users... and you belong to the same owner of the files (www-data) so you can do any changes on that folders and files...
can you be more specific please? (what folders or files?)
can you check again please?
Hi,
/var/www/html/intranet/components/com_community/helpers/access/photos.php
/var/www/html/intranet/components/com_community/controllers/photos.php
as you can see, if I tried to changing that files, the files onwer always changed into victorarango
and got this error message
Error: /var/www/html/intranet/components/com_community/helpers/access/photos.php: open for write: permission denied
Error: File transfer failed
Error: /var/www/html/intranet/components/com_community/controllers/photos.php: open for write: permission denied
Error: File transfer failed
you are right... I gave you the correct permissions... please check again...
thanks!
Hi,
please check it. I found small bug. there the fix that I put at:
/components/com_community/models/photos.php at line 300 I changing the code from
if (!is_null($permission)) {
if(is_array($permission)){
$permissions = implode(',', $permission);
$where .= 'AND a.`permissions` IN ('.$permissions.') ';
}else{
$where .= ' AND a.`permissions`'
. '=' . $db->Quote($permission);
}
}if (!is_null($permission)) {
if(is_array($permission)){
$permissions = implode(',', $permission);
$where .= 'AND b.`permissions` IN ('.$permissions.') ';
}else{
$where .= ' AND b.`permissions`'
. '=' . $db->Quote($permission);
}
}Thank you... great support!!!!