Page 1 of 1

New and Multiple Add redirects to admin menu

Posted: 17 Apr 2009, 21:19
by bnorton
I just installed Phoca Gallery last night and everything seemed to go fine. No errors. I am using the rhuk_milkyway template running joomla 1.5. The images/phocagallery directory was created and I ftped a few jpegs to it I also used the joomla media uploader for a couple. When I go to Components > Phoca Gallery > Images there are no images to choose from. If I click Multiple Add or new I get redirected to the main joomla administration screen. I don't receive any errors when this happens.

I am using godaddy for hosting and they did the joomla installation and database setup. When first trying to install packages it seems like joomla didn't have write access to the tmp directory so I created a new directory temp and changed joomla to use it instead. As far as I know I don't have the access to change the owner of the tmp directory. I just wanted to mention that in case phoca is trying to write to the tmp directory.

I did install very simple image gallery and it worked just fine. It looks like someone else had the same problem about a year ago but no solution was ever posted. viewtopic.php?f=1&t=1340&p=7458&hilit=godaddy#p7458


Thanks

Re: New and Multiple Add redirects to admin menu

Posted: 25 Apr 2009, 20:53
by bnorton
Can someone at least tell me what directories phoca needs write access to?

Re: New and Multiple Add redirects to admin menu

Posted: 27 Apr 2009, 09:28
by caro84g
Hi,

Phoca creates the thumbs folder and the thumbnails. It creates a thumbs folder in the folder where the images are. So if you have subfolders in images/phocagallery, then Phoca will create a thumbs folder in the subfolder.

To create the thumbs folder Phoca needs writing access to the folder where the images are. (depending on your server 755 with FTP layer could be enough, otherwise it needs to be the insecure 777). The thumbs folder need to be writable, 'cause that's where the images are stored. If you create the thumbsfolder yourself, then only the thumbs folder needs to be writable.

As soon as Phoca gives the message 'image upload failed' or something like that, then the image folder needs to be writable too.

I think I'm writing kinda difficult, so here's an example:

You save your images to images/phocagallery/general
- this folder needs to be writable (so the subfolder thumbs can be created).
- if it is created then images/phocagallery/general/thumbs needs to be writable.

Regards, Carolien