PDA

View Full Version : Cant install / update plugins via admin panel



Andreas_M
September 25, 2012, 05:53 PM
Hello,


I can't install or update any plugin via admin panel / plugin changelog.
Get the following error-message:

Unable to copy files, please contact Flynax Support.

Got someone the same problem or can help me please to fix it?

Thx

Steffen Buschkemper
September 25, 2012, 06:56 PM
Hi Andreas,

check the file permission via ftp for plugins folder and tmp folder chmod must have 750.

Best regards
Steffen

Mike
September 26, 2012, 05:04 AM
Hello Andreas,

On some servers necessary to have 777 permissions, and one small correction - writable permissions should be on files, plugins, and subfolders of tmp directory (compile, cache etc).
Tmp directory itself can be not writable.

In case permissions are not the reason please submit a ticket, we will investigate it.

Andreas_M
September 26, 2012, 07:29 PM
Hello Steffen , hello Mike,

thanks for your answers.

I tried chmod 750 with no result.
Tmp folder was 755 and subfolders are 777, also the plugin folder, but not the plugin subfolders. Should they all have 777?
Which files should have 777? If all plugin-files, i would like to prefer updating via ftp.

Best regards
Andreas

P.S. Steffen, ich bin auch aus Deutschland, schoene Gruesse

Steffen Buschkemper
September 26, 2012, 07:38 PM
Hi Andreas,

hast du ein Update gemacht von 4.01 auf 4.1 oder hast du frisch aufgesetzt?
Bei welchen Anbieter hostetst du?

Gruss Steffen

Andreas_M
September 26, 2012, 08:01 PM
Hi Steffen,

hatte ein Update auf 4.1, jedoch ist die Seite noch nicht online.
Bin bei hosteurope und bisher klappt eigentlich alles ganz gut.
Der Support von Flynax ist echt klasse und die sind recht fix.
Rechtliche Dinge sind leider nicht so hoch angesiedelt, da muss man immer ein wenig abwaegen. Gerade was den Bezahlvorgang usw. angeht, aber ich glaube die Jungs und Maedels von Flynax sind auf einem guten Weg. Das System ist unheimlich stabil und flexibel, wie ich finde.

Steffen Buschkemper
September 26, 2012, 08:12 PM
Ich denke das es beim Update nen Problem gab.
Deswegen das Problem mit deiner Plugin geschichte.
Ich denke da kann dir das Flynax Team helfen

Uebrigens hatte ich erfolg mit der Komma bei Preisen Geschichte.
Konnte ich sehr elegant loesen, jedoch muss ich noch etwas optimieren.
Werde es im jeweiligen thread veroeffentlichen.

Das hier (http://www.flynax.com/forum/showthread.php?634-Little-fix-for-currency-position-in-gt-my_packages-tpl) koennte dich auch interessieren.

Steffen Buschkemper
September 26, 2012, 08:26 PM
Ja die rechtlich Lage ist ziemlich Tricky.
Da werd ich mich demnaechst damit auseinander setzen.
Vor allem was Bezahlvorgang und MwSt. angeht.
Das neue Button Gesetz ist halt leider nur in Deutschland gueltig.
Und dieses Button Gesetz ist nicht nur die Buttonbezeichnung, sondern auch die gestalterische Vorgabe der Bezahlseite,
die ist bei Flynax uerberhaupt nicht vorhanden. Ein grosses Problem.

Gruss Steffen

Vladimir
September 27, 2012, 04:16 AM
Hello Andreas,

You must have disabled 'allow_url_fopen' option which processes files available through extrernal links. You should contact helpdesk of your hosting company and ask them to enable it.

Mike
September 27, 2012, 04:24 AM
Plugins folder itself should have 777, not subdirectories.

It can be not permissions issue, for example for some servers 755 is enough for the script to write the files.

Andreas_M
September 27, 2012, 06:43 PM
Hello!

@ Steffen: Danke f

Andreas_M
September 27, 2012, 06:44 PM
Hello!

@ Steffen: Danke fuer die Links, hatte ich die Tage schon gelesen. Werde mich am Wochenende dran setzen.
Die Buttonloesung und Mwst. habe ich die Tage als Checkout-Modification in Auftrag gegeben. Denke Du kannst Dich da dran haengen. Bin jedoch gespannt, wie es umgesetzt wird. Ich poste mal einen Screen, wenn es fertig ist.
Ein richtiges Rechnungsmodul waere die Kroenung, vielleicht koennten wir uns dafuer zusammen tun?


@ Vladimir & Mike: Thanks, I will check it.

Steffen Buschkemper
September 27, 2012, 06:50 PM
Hallo Andreas.

Umlaute und Sonderzeichen solltest du hier im Forum vermeiden.
Lieber oe, ae, ue und ss verwenden.
Sonst brechen deine Texte hier im Forum ab.

Andreas_M
September 30, 2012, 11:17 AM
Hallo Steffen,


war mir auch aufgefallen, nur vergisst man es manchmal. Danke fuer den Hinweis. Leider aendert die Autokorrektur von Safari manchmal ohne das ich es merke.

Petrache Nicolae
September 30, 2012, 01:36 PM
Andreas_M, Steffen Buschkemper , please use english becouse we all learn from users mistakes / problems. Thank you

Andreas_M
September 30, 2012, 01:46 PM
Hello Petrache Nicolae,


thanks for your comment.
But it was more small talk than problem-solving.


Best regards
Andreas

Andreas_M
October 6, 2012, 01:13 PM
Hello Andreas,

You must have disabled 'allow_url_fopen' option which processes files available through extrernal links. You should contact helpdesk of your hosting company and ask them to enable it.

Hello Vladimir,

I checked the php config an allow_url_fopen is on.
Updating via ftp is not my favorite, because every time I need to add the language phrases and settings again.
I think this points I dont need to do when updating via adminpanel?

Do you have any other idea?
How is the running of the installation? Specifically updating the database.

Best regards
Andreas

Andreas_M
October 6, 2012, 01:22 PM
Installing new plugins in the admin panel is working fine, I have just tested.
But updating existing plugins dont work.
It stop after extracting files and the step "updating plugin" with the following error message: Unable to copy files, please contact Flynax Support.

Kevin
October 9, 2012, 10:01 AM
1. Before updating the plugin the system must back up its files in backup directory;
2. The system cannot back up the plugin because the directory does not have appropriate permission;
3. You should check permission of the backup directory to update the plugin.

Andreas_M
October 9, 2012, 05:32 PM
Hello Kevin,

thanks for your reply.
I checked /backup and /backup/plugins permissions. Plugins was 777 and backup 755.
Even I had changed both to 777, I got the same error-message.

Kevin
October 10, 2012, 03:22 AM
Could you please create ticket with ftp account (or cpanel access)? I will able to check(fix) your website and write problem here. Thanks.

Andreas_M
October 12, 2012, 06:00 PM
Hello Kevin,

thanks, I will create a ticket.

John
October 15, 2012, 05:30 AM
Hi folks,
I would like to sum up this thread, here the factors which may prevent your admin panel to install/update
the plugins on the fly:

1. fopen php function and curl php library disabled or restricted to access remote files.

2. the required script directories hasn't writable permissions, this problem occurs in case when you use
the server with wrongly configured PHP user permissions, for example on proper hosting servers the PHP
user has system permissions and 755 access is enough to write content to necessary directories.
In case when PHP has guest user permissions you should set 777 for all directories which script should
write in, in this case you should set writable permission for the following directories:
- /plugins/ and each plugin directory inside (in update plugin case only)
- /tmp/upload/
- /backups/plugins/

3. your website has problem with Flynax license, in this case you have to contact Flynax Support.

John

Andreas_M
October 15, 2012, 05:44 PM
Hello John,


thank you for your answer.

1. Think there would be the problem, but fopen is on and curl is enabled.
2. After I changed the folder permission of the plugin directory, like reference number, I was able to update via admin panel.
With this solution I can live with.

Maybe it is a server or hosting problem.

Thanks a lot for your help to fix this.

Best regards
Andreas

Kevin
October 16, 2012, 05:31 AM
Hello Kevin,

thanks, I will create a ticket.

2. In case when PHP has guest user permissions you should set 777 for all directories which script should
write in, in this case you should set writable permission for the following directories:
- /plugins/ and each plugin directory inside (in update plugin case only)
- /tmp/upload/
- /backups/plugins/


It is a common problem when using Plesk Panel. All folders of plugin directory have permissions 755 and you should set 777

Kevin
October 16, 2012, 06:45 AM
Maybe it is a server or hosting problem.

Thanks a lot for your help to fix this.



The problem was resolved. I wrote in previous post that: It is a common problem when using Plesk Panel.
For example:
We wanted to update "compare" plugin then we set 777 for plugins/compare and plugins/compare/static