Bug#708611: phpmyadmin: css and js not updated
Package: phpmyadmin Version: 4:4.0.1-1 Severity: normal Hi, the .deb of phpmyadmin version 4:4.0.1-1 seeems to ahve problem with css and js. The login form has class .hidden, and the js for ajax editin, ecc... are not working. Replacing the folder css and js with the ones of the downloaded packages from phpmyadmin.net resolve the problem. -- System Information: Debian Release: 7.0 APT prefers stable APT policy: (501, 'stable'), (50, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages phpmyadmin depends on: ii dbconfig-common 1.8.47+nmu1 ii debconf [debconf-2.0] 1.5.49 ii libapache2-mod-php5 5.4.4-14 ii libjs-codemirror 2.23-1 ii libjs-jquery 1.7.2+dfsg-1 ii libjs-jquery-cookie 6-1 ii libjs-jquery-event-drag 6-1 ii libjs-jquery-mousewheel 6-1 ii libjs-jquery-tablesorter 6-1 ii libjs-jquery-ui 1.8.ooops.21+dfsg-2 ii libjs-underscore 1.1.6-1+deb7u1 ii perl 5.14.2-21 ii php-gettext 1.0.11-1 ii php5 5.4.4-14 ii php5-mcrypt 5.4.4-14 ii php5-mysql5.4.4-14 ii ttf-dejavu-core 2.33-3 ii ucf 3.0025+nmu3 Versions of packages phpmyadmin recommends: ii apache2-mpm-prefork [httpd] 2.2.22-13 ii mysql-client 5.5.31+dfsg-0+wheezy1 ii mysql-client-5.5 [mysql-client] 5.5.31+dfsg-0+wheezy1 ii php5-gd 5.4.4-14 Versions of packages phpmyadmin suggests: ii links [www-browser] 2.7-1 ii mysql-server 5.5.31+dfsg-0+wheezy1 ii w3m [www-browser]0.5.3-8 -- Configuration Files: /etc/phpmyadmin/config.inc.php changed [not included] -- debconf information: phpmyadmin/remove-error: abort phpmyadmin/setup-username: admin phpmyadmin/db/app-user: phpmyadmin phpmyadmin/install-error: retry * phpmyadmin/reconfigure-webserver: apache2 phpmyadmin/remote/host: * phpmyadmin/dbconfig-install: true phpmyadmin/remote/port: * phpmyadmin/dbconfig-upgrade: true phpmyadmin/mysql/admin-user: root phpmyadmin/internal/reconfiguring: false phpmyadmin/missing-db-package-error: abort phpmyadmin/remote/newhost: phpmyadmin/upgrade-error: abort phpmyadmin/dbconfig-reinstall: false phpmyadmin/db/dbname: phpmyadmin phpmyadmin/database-type: mysql phpmyadmin/internal/skip-preseed: false phpmyadmin/upgrade-backup: true phpmyadmin/dbconfig-remove: phpmyadmin/passwords-do-not-match: phpmyadmin/mysql/method: unix socket phpmyadmin/purge: false -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#708611: phpmyadmin: css and js not updated
Hi, On Fri, May 17, 2013 09:09, Gabriel Rolland [Res Novae] wrote: Hi, the .deb of phpmyadmin version 4:4.0.1-1 seeems to ahve problem with css and js. The login form has class .hidden, and the js for ajax editin, ecc... are not working. Replacing the folder css and js with the ones of the downloaded packages from phpmyadmin.net resolve the problem. Thanks for your report. I'm not able to reproduce this however. When I load phpMyAdmin CSS and JS seem to be working as expected. Using the web developer console I see CSS and JS being fetched without errors. Can you see in your browser with F12 if you get 404's for these files, if so, which? Or otherwise debug where it's going wrong? And just to be sure, this is not a caching issue (reload with shift-F5 to exclude that)? Cheers, Thijs -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#708611: phpmyadmin: css and js not updated
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
Bug#708611: phpmyadmin: css and js not updated
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 signature.asc Description: This is a digitally signed message part