Tag Archives: Wordpress

Fix “502 Bad Gateway” error on NGINX with PHP, ISPConfig, and WordPress

The Error I recently added a new site through ISPConfig and I was receiving 502 Bad Gateway errors when trying to access a WordPress install I was trying to set up. Diagnosis This error is due to the PHP endpoint not existing when the server tries to access it. I noticed that the web .sock in […]

Posted in Web Development| Also tagged , , , , | 1 Response

Fixing Double Line Spacing

This often happens wordpress’  internal editor. I’ve also experienced this issue when a friend of mine used sublime text editor and I then pulled the source from the web server and it had the same double line spacing issue. This is enough to destroy you if you try to fix this problem by hand, especially […]

Posted in Interesting Finds| Also tagged , , , , , , , , , , | Leave a comment

Reset File Permissions with PHP

Recently I transferred a WP – WordPress site and I was getting server response 500. Looking at the error log in cPanel I could see that WordPress was complaining about files being globally writable. So pretty much the whole site was down after being transfered, I’m not sure why it happened with this site since […]

Posted in Interesting Finds| Also tagged , , , | Leave a comment