Koozali.org: home of the SME Server

Other Languages => Français => Topic started by: Marcelsme on February 10, 2021, 11:43:13 AM

Title: SME 10 et PhpmyAdmin
Post by: Marcelsme on February 10, 2021, 11:43:13 AM
Bonjour, j'ai installé phpmyadmin par l'instruction yum install smeserver-phpmyadmin --enablerepo=smedev,epel
Ça fonctionne (ou presque  :-D) sauf que j'ai le message suivant EN IMPORT et aussi en EXPORT :

Warning in ./libraries/file_listing.lib.php#22
 file_exists(): open_basedir restriction in effect. File(/var/lib/phpMyAdmin/upload/) is not within the allowed path(s): (/etc/phpMyAdmin:/usr/share/phpMyAdmin:/usr/share/phpMyAdmin/doc/html:/usr/share/php:/var/lib/php/phpmyadmin:/var/log/phpmyadmin:/dev/urandom:/proc/meminfo:)

J'ai essayé plusieurs manips, entre autre une modif du phpmyadmin.conf en ajoutant une ligne open_basedir mais ça plait pas à SME  :shock:
Une idée ?
merci
Title: Re: SME 10 et PhpmyAdmin
Post by: ReetP on February 10, 2021, 12:34:09 PM
Please see this page https://wiki.contribs.org/PHPMyAdmin

Note that this contrib has not been finished yet - it has been imported but there are fixes still required.

Open a bug against smeserver-phpmyadmin

https://bugs.contribs.org/enter_bug.cgi?product=SME%20Contribs&component=smeserver-phpmyadmin&short_desc=&comment=

Thank you.
Title: Re: SME 10 et PhpmyAdmin
Post by: Marcelsme on February 10, 2021, 06:32:58 PM
 8-) Merci Reetp, ok bug rapporté !
Title: Re: SME 10 et PhpmyAdmin
Post by: ReetP on February 10, 2021, 07:25:58 PM
8-) Merci Reetp, ok bug rapporté !

And thank you!!

There are some other issues too, but we will look once the Beta is released.
Title: Re: SME 10 et PhpmyAdmin
Post by: ReetP on February 10, 2021, 07:26:56 PM
https://bugs.contribs.org/show_bug.cgi?id=11341
Title: Re: SME 10 et PhpmyAdmin
Post by: Marcelsme on February 12, 2021, 01:16:12 AM
Hello ! Bon, j'ai remplacé le répertoire de PhpMyAdmin contenu dans /usr/share par la dernière version de PhpMyAdmin, plus de message comme cité ci-dessus ! c'est bien le fichier rpm qui est buggué. :grin:
Title: Re: SME 10 et PhpmyAdmin
Post by: ReetP on February 12, 2021, 01:35:05 AM
It may be, but reporting it here does not help any one. Please stick to the bug tracker. It is designed for it.

Also note we usually use the upstream rpm for phpmyadmin with SME customisations in smeserver-phpmyadmin. We do not randomly just drop another version in there.

When you next update it will probably break your install........

This probably needs fixing in smeserver-phpmyadmin. It is probably not complicated, but the small amount of time people have is focussed on v10 Beta. We can focus properly on Contribs later.

If you want to help get this fixed then do so on the bug tracker, and look at fixing the real issue in the code as it is at the minute. There is plenty of documentation on the wiki on how to make patches for rpms.

If you want to do your own thing then uninstall the existing rpms first so you don't get any other issues during updates.