Hi mate, finsihed setting up my server but I seem to have issues with connecting the Chrome Alidropship extension, it keep saying
"The requested URL /oauth1/extension was not found on this server."
Any idea on how to fix this issue, been searching every where but cant fin any info
Well looks like wordpress is having some issues, a few things to try (if you followed my tutorial) would be to try the following:
1. Install the php-xml package (sudo apt-get install php-xml) this will relieve errors from ajax.php
2. Try the wordpress permission fix: this file is located at
https://github.com/whitedogtech/nginx-init-script/blob/master/wp-fix.sh
cd
wget
https://github.com/whitedogtech/nginx-init-script/blob/master/wp-fix.sh
chmod +x ~/wp-fix
2A. once downloaded you use it like the following: eg. my files are at /srv/whitedogtech/public_html/ so i would run "sudo ~/wp-fix.sh /srv/whitedogtech/public_html/"
This will take a few minutes on a bigger site from time to time, this is also very useful if you bulk upload files to your wordpress install to correct file and folder permissions.
One thing to note, if you continue down the route with digitalocean, check your login panel for Networking-> Firewall and setup a firewall for your server, to do this add port 80 and port 443 access able by everyone, after that add a rule for ssh access (port 22, unless you changed it) to be accessible by and to your ip only. Goto
http://whatismyip.host/, once you have your ip enter it as such in the firewall panel: "x.x.x.x/32" this will tell the panel that *only* your ip address is able to access this server.
If this helps then great your on your way, if your still having issues, double check everything and also run these commands from the terminal to see whats going on,
sudo tail -f /var/log/nginx/access.log - check here for file permissions
sudo tail -f /var/log/nginx/error.log - if you have errors check this
The sudo tail -f {filename} is a log watcher, once you run it it will keep reading out new lines in the specified log file. To exit the log reader, press ctrl + c.