Editing default.php manually fails - Permission denied

Phoca Gallery - image gallery extension
ChOpSueY!
Phoca Member
Phoca Member
Posts: 17
Joined: 08 Jul 2008, 15:18

Editing default.php manually fails - Permission denied

Post by ChOpSueY! »

Hello,
Im using the newest Phocagallery component. I activated comments and ratings and i saw, that this parts have not been translated to german language yet. So i wanted to customize these files manually.

I altered the default.php, stored in /category/tmpl and tryed to overwrite them on my webserver. I get following error message here:
Befehl: TYPE A
Antwort: 200 Type set to A
Befehl: PASV
Antwort: 227 Entering Passive Mode (85,13,130,28,195,95).
Befehl: STOR default.php
Antwort: 550 default.php: Permission denied
Fehler: Upload fehlgeschlagen

Status: Verzeichnisinhalt wird abgeholt...
Befehl: PWD
Antwort: 257 "/" is the current directory
Befehl: CWD /components/com_phocagallery/views/category/tmpl/
Antwort: 250 CWD command successful
Befehl: PWD
Antwort: 257 "/components/com_phocagallery/views/category/tmpl" is the current directory
Befehl: TYPE A
Antwort: 200 Type set to A
Befehl: PASV
Antwort: 227 Entering Passive Mode (85,13,130,28,195,109).
Befehl: LIST
i saw that i ony have -rw-r--r--r rights on this file so i tryed to change chmod, i get following error log here:
Antwort: 200 Type set to I
Status: Verbindung getrennt
Befehl: TYPE I
Antwort: 200 Type set to I
Befehl: REST 0
Antwort: 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer
Befehl: SITE CHMOD 777 /components/com_phocagallery/views/category/tmpl/default.php
Antwort: 550 CHMOD 777 /components/com_phocagallery/views/category/tmpl/default.php: Operation not permitted

Status: Verzeichnisinhalt wird abgeholt...
Befehl: TYPE A
Antwort: 200 Type set to A
Befehl: PASV
Antwort: 227 Entering Passive Mode (85,13,130,28,195,83).
Befehl: LIST
Antwort: 150 Openin
So whats wrong? Best regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48799
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Editing default.php manually fails - Permission denied

Post by Jan »

Hi, please don't do any changes regarding translation in the code... The translation should be changed in:

langauge/de-DE/phocagallery.ini (phocagallery.menu.ini)
administrator/language/de-DE/phocagallery.ini (phocagallery.menu.ini)

only.

BTW: there is new german translation from Jörn for 2.0.0 (I have added it today), you can download it here:

https://www.phoca.cz/documentation/index ... -component

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