Cannot Delete Phoca Gallery

Phoca Gallery - image gallery extension
PhraAnandapanyo
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 01 Sep 2009, 19:30

Cannot Delete Phoca Gallery

Post by PhraAnandapanyo »

Dear Jan,

I have searched the forums over and over. I have finally gotten Phoca Download to work and am very satisfied! Thanks..

I decided to add Phoca Gallery again..(I tried a while back and gave up due to so many problems with Thumbnail creation)

I reinstalled it and could not access the thumbnail folder in the images/phocagallery. So, I tried to uninstall Phoca Gallery again, and I want to start over with FTP layer enabled and so that I can set permissions like the guides say. However, I can't delete images/phocagallery or images/phocagallery/thumbs

In addition, every since I installed Phoca Gallery, I have been getting some errors from joomla:


Warning: opendir(/home/****/public_html/****/images/phocagallery/KPYretreat2009) [function.opendir]: failed to open dir: Permission denied in /home/watsanfr/public_html/kpyusaorg/libraries/joomla/filesystem/folder.php on line 484

Warning: readdir(): supplied argument is not a valid Directory resource in /home/****/public_html/****/libraries/joomla/filesystem/folder.php on line 485

Warning: closedir(): supplied argument is not a valid Directory resource in /home/****/public_html/****/libraries/joomla/filesystem/folder.php on line 511

Warning: opendir(/home/***/public_html/****/images/phocagallery/thumbs) [function.opendir]: failed to open dir: Permission denied in /home/****/public_html/****/libraries/joomla/filesystem/folder.php on line 484

Warning: readdir(): supplied argument is not a valid Directory resource in /home/****/public_html/****/libraries/joomla/filesystem/folder.php on line 485

Warning: closedir(): supplied argument is not a valid Directory resource in /home/****/public_html/****/libraries/joomla/filesystem/folder.php on line 511


When I try to delete through FTP I get permissions errors. When I try to delete through media manager I get:

Warning: dir(/home/****/public_html/****/images/phocagallery/KPYretreat2009) [function.dir]: failed to open dir: Permission denied in /home/****/public_html/****/administrator/components/com_media/helpers/media.php on line 169

Fatal error: Call to a member function read() on a non-object in /home/****/public_html/****/administrator/components/com_media/helpers/media.php on line 171


I really want to get Phoca Gallery working...Please help me!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Cannot Delete Phoca Gallery

Post by Jan »

Hi, which version of Phoca Gallery do you use?

In version 2.5.8 the folders are created by JFolder method (this worked in previous versions too) but now the permissions is not added as variable into the JFolder method, so there should not be problem with creating not correctly permission for a folder

Jan
If you find Phoca extensions useful, please support the project
Post Reply