Reputation: 41
ReferenceError: $ is not defined
. And IE is same with firefox.GET get_scripts.js.php?token.............
It seems like that the request is fail to load jquery src js file to make the blank page happened. Could you tell me how to solve this issue?
Upvotes: 4
Views: 4457
Reputation: 3417
Go to your phpmyadmin instalation folder and run:
yarn install --production
Upvotes: -1
Reputation: 567
Here is the resolution fixed for me.
server {
client_max_body_size 100M;
listen 80;
server_name phpmyadmin.dev;
root /usr/share/phpmyadmin;
access_log off;
index index.php index.html index.htm;
location ~ ^/(.+\.php)$ {
try_files $uri = 404;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include /etc/nginx/fastcgi_params;
fastcgi_buffers 8 512k;
fastcgi_buffer_size 256k;
fastcgi_send_timeout 5m;
fastcgi_read_timeout 5m;
fastcgi_connect_timeout 5m;
}
}
Upvotes: -2
Reputation: 87
What I finally deduced (after digging through many many posts) is that some of the PhpMyAdmin files the header & script tags load text/javascript when they should be application/javascript (new standard for Html5).
So you are going to have to go into the following phpmyadmin files and change:
text/javascript => application/javascript
In theses files:
js/getscript.js.php
js/getimage.js.php
core.lib.php
And add/append (to fix the blank white page):
$cfg['AllowThirdPartyFraming'] = true;
To this file:
config.inc.php
Save and restart.
Worked for me, might for you !?
Upvotes: 3