Report this

What is the reason for this report?

Failed to load resource: 500 Internal Server Error

Posted on June 22, 2014

Hi,

I just moved my site to DigitalOcean. My site is 100% working at older hosting. But here I’m facing a couple of issues.

I’m at wordpress. I installed the default image of wordpress that appear in Droplet creation panel. I believe its not wordpress related error.

My php files loads via jquery function like this “$(”#magichappend").load(‘/temp.php’, {selectedInputValue : inputValue});"

When function is executed. It returns an error "Failed to load resource: the server responded with a status of 500 (Internal Server Error) http://exmple.com/temp.php

Or in case of retry I’m getting: “POST http://exmaple.com/temp.php 500 (Internal Server Error) jquery.js:9597”

I tried using absolute path in jquery function but the error persists.

Another error I’m facing is that It appears that function file_get_contents_curl() function is not working on my droplet.

There are no errors in my Apache2 log.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

apt-get install php5-curl

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.