I was having trouble setting up my php configuration, here.
Now that I have this fixed, I think that it is causing errors with my dropdown menus.
I am using bootstrap, and when I navigate to bootstraps example page, the dropdown menu works perfectly. When I copy the source code from the website into a sample file on my website, it doesn't work as expected.
(note: the dropdown did work before I changed my config).
If anything else is needed, just say.
current nginx config
listen 80;
server_name hamhut1066.com;
root /srv/http/public;
index index.php index.html index.htm;
location / {
try_files $uri $uri/ /index.php;
}
location ~ \.php {
include fastcgi.conf;
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}