Hi Thijs,

On Fri, 2013-05-17 at 12:53 +0200, Thijs Kinkhorst wrote:
> 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?

Yes, this patch fixed the bug.


Cheers,

-- 
Marcelo Jorge Vieira
xmpp:me...@jabber-br.org
http://metaldot.alucinados.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to