Hi Gabriel,

On Fri, May 17, 2013 11:43, Gabriel Rolland [Res Novae] wrote:
> Hi,
>     I have tried to reinstall the .deb package, same problem.
> No cache problem, no 404 errors.
>
> The problem seems to be in the file: get_scripts.js.php
>
> Xdebug error:
>
> Warning: is_readable(): open_basedir restriction in effect.
> File(js/codemirror/lib/codemirror.js) is not within the allowed path(s):
> (/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext)
> in /usr/share/phpmyadmin/js/get_scripts.js.php on line 31

Aha, open_basedir. That explains. I've changed /etc/phpmyadmin/apache.conf
in the following way:

- php_admin_value open_basedir
/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext
+ php_admin_value open_basedir
/usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext:/usr/share/javascript/

If you change this and reload Apache the problem should be solved. Can you
confirm that?


Thanks,
Thijs


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to