laravel - phpmyadmin user interface repeating all clickable links -
pretty click-able links in interface repeated twice. life of me can't understand why or how fix it. else working fine. appreciated! running digitalocean ubuntu 14.04 nginx w/ laravel 4
http://i.stack.imgur.com/ddbhw.jpg
side note: on top of installation had edit sites-available/default file inserting manually phpmyadmin location give priority in order bypass laravel wanting override.
addition made >>
location ^~ /phpmyadmin { try_files $uri =404; root /usr/share/; 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; }
[solution]
i did not have proper code in nginx config file wasn't pulling proper file extentions pma dependencies. able running normal adding following code nginx config file.
note* fastcgi_pass along other variables may differ depending on server.
location ^~/phpmyadmin { root /usr/share/; index index.php index.html index.htm; location ~ ^/phpmyadmin/(.+\.php)$ { try_files $uri =404; root /usr/share/; 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; } location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; } } location /phpmyadmin { rewrite ^/* /phpmyadmin last; }
[solution]
i did not have proper code in nginx config file wasn't pulling proper file extentions pma dependencies. able running normal adding following code nginx config file.
note* fastcgi_pass along other variables may differ depending on server.
location ^~/phpmyadmin { root /usr/share/; index index.php index.html index.htm; location ~ ^/phpmyadmin/(.+\.php)$ { try_files $uri =404; root /usr/share/; 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; } location ~* ^/phpmyadmin/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ { root /usr/share/; } } location /phpmyadmin { rewrite ^/* /phpmyadmin last; }
Comments
Post a Comment