Page 1 of 1

Crash when deleting phoca gallery

Posted: 29 Jul 2009, 18:00
by slakalot
Hi there,

I have a major problem, the second big one I have had with phocagallery today. I deleted it because the installation was all over the shop, couldn't upload images, etc, (no idea why, it works on my other sites on the same server) but got an error:
JFTP::delete: Bad response
Next thing the entire site has crashed and I get, of all weird things -

The configuration file for VirtueMart is missing!
It should be here: /administrator/components/com_virtuemart/virtuemart.cfg.php

(but it is there) and I was nowhere NEAR working on virtuemart!

and

404 - An error has occurred.

Component Not Found

on the back administration.

What the heck???????
Some help would be very much appreciated, I don't think I'm going to work this one out!

Re: Crash when deleting phoca gallery

Posted: 29 Jul 2009, 18:51
by Jan
Hi, first you should do is, you should check permissons and ownership.

Phoca Gallery now creates folder with 0755 permissions which means, you need e.g. ftp layer to have enabled or you need to set the folders to 0777 (you need to do manually for main phocagallery folder -> images/phocagallery and for other folders under this folder you can do it in parameters - the last parameter) But permissions set to 0777 is very dangerous as everbody can write something to your folders. The best way is to enable ftp layer and set the permissions to 755 (it is default). This is the problem of writing, deleting or accessing files on your server (in case Phoca Gallery - files means images and thumbnails and their folders)

Maybe try to reinstall the components but be sure you have enabled ftp and your ftp account has rights to write files (so none will be missed after the installation)

Jan