Erreur lors de migration vers php 5.3

More
14 years 1 month ago #21327 by Pitou
Salut tout le monde.

Mon hébergeur a fait migrer mon site d'un PHP 5.1 vers un PHP 5.3.
Depuis, lorsque j'essaye d'uploader un fichier, il me fait une erreur en me disant qu'il est impossible de modifier les droits du fichier.
Le fichier est bien uploadé, je le vois sur le ftp, mais ensuite flexicontent ne le voit plus du tout.

Depuis le serveur, une erreur est renvoyée :
"[Fri Dec 16 11:46:28 2011] [error] [client 172.29.229.226] PHP Warning: Missing argument 3 for flexicontent_upload::check(), called in /administrator/components/com_flexicontent/controllers/filemanager.php on line 78 and defined in /components/com_flexicontent/classes/flexicontent.helper.php on line 1028, referer: /administrator/index.php?option=com_flexicontent&view=fileselement&tmpl=component&index=0&field=15&itemid=207&items=0&filter_uploader=62

[Fri Dec 16 11:46:28 2011] [error] [client 172.29.229.226] PHP Notice: Undefined variable: params in /components/com_flexicontent/classes/flexicontent.helper.php on line 1030, referer: /administrator/index.php?option=com_flexicontent&view=fileselement&tmpl=component&index=0&field=15&itemid=207&items=0&filter_uploader=62


C'est un bug que vous connaissez ? Vous avez besoin d'autre chose pour m'aider ?

Merci.
Pitou

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21330 by micker
Hello
Quelle version de flexicontent ?

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21348 by Pitou
Salut

La dernière, bien sur.
Je suis sur la 1.5.4 R558

++
Pitou

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21350 by ggppdk


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21351 by Pitou
Salut

Je parlais de la dernière officielle, entre temps, je viens de voir qu'il y avait une version 1.5.5 stable.
Mais aucune publication officielle sur le site à ce propos ?

Du coup, j'ai installé la version 1.5.5 pour tester.
Installation version 1.5.5 :
Attention ! - Les permissions de fichier n'ont pas pu être modifiées
Installateur Composant Succès


Donc j'ai pensé à un bug de mon joomla. Il est bien à jour en 1.5.25.

J'ai installé une extension quelconque : installation OK

J'ai installé la 1.5.6RC2 :
Attention ! - Les permissions de fichier n'ont pas pu être modifiées
Installateur Composant Succès


Mais cependant, à la fois la 1.5.5 et la 1.5.6 semblent s'être installée correctement, le numéro de version indique bien les évolutions.
Vous y comprenez quelque chose ?

Merci.
Pitou

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21352 by ggppdk
It seems the access permissions of the folders having the files cannot be set. Login to the cpanel of your website and try to change them manually.

The folders are (unless you changed them in configuration):
components/com_flexicontent/medias
components/com_flexicontent/uploads


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21353 by Pitou
Hy

I cannot change this permissions (did you mean I had to do a CHMOD ?)
They are 707 for the folders and 606 for the files.

I can see the file into the good folder, but flexi don't let me see this file into the article.

The only thing that changed is that my hosting was before in php 5.1 and now is in Php 5.3.2

Nothing else has changed.

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21357 by ggppdk
This is not related to the version of PHP.

It is a file permissions issue related to your php/server configuration.

I 've sent you a PM.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21438 by ggppdk
As i said in my previous POST, the problem is not related to FLEXIcontent, but i have taken time to look at it, so that other users will benefit from this answer too.

Your file permissions should be 755, this is done via PHP functions:
umask() and chmod() (and others)

Your PHP/Apache configuration have these function disabled.
Various components that create files will have problems, not just FLEXIcontent.

To see the problem login to joomla backend goto
HELP/System Info, then click "PHP Information"

Press CTRL-F to search for string "disable_functions", you will see that umask() and chmod() are disabled !!!

Please contact you host provider asking them to enable or give you instructions on how to override them for your installation e.g. via an .htaccess directive (e.g php_admin_value disable_functions "").
But i don't think you can override this setting via .htaccess

Regards


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #21448 by Pitou
Hello

Thanks a lot !

++
Pitou

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save