Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Troubles Uploading Media...

Team Treehouse!

I am having some issues with my latest wordpress job I am doing for a client. Since uploading a fresh wordpress directory and installing, it is not allowing me to upload any kind of media - its just saying "HTTP ERROR". I have deleted and reinstalled numerous times and just this morning tried by uploading a local site to the live server (as the local version was allowing me to upload media just fine).

I have also taken into account;

  • Each time I have redone the install I have cleaned out the public_html folder and downloaded a new wordpress directory from the wordpress website
  • I have changed my uploads folder to 777 permissions
  • I have gone into my Dashboard>Settings>Permalinks and clicked save to ensure the .htaccess file is operating

I assume it would be fine to build the site locally and then upload, but the website is to be a portfolio type thing and we'll need to continually be uploading fresh material when the site is live - I am worried that if I build it locally, when it comes time to going live the issue still won't be resolved.

I am happy to provide my login details etc if someone is willing to take a look - as I said I haven't even built the site yet, but want to make sure everything is operating as it should before I do so.

Any help is very much appreciated!

Regards, Ryan

6 Answers

kush sharma
PLUS
kush sharma
Courses Plus Student 2,360 Points

Hi Ryan , The error for uploading media can be caused due to permissions issue. Rest if you provide the login details, can have a look.. Cheers..:)..

Hi - yes I have changed the uploads folder to both 755 and 777 - neither seem to work. The site URL is www.olivierneukom.com

Username: tempuser Password: temppassword14

Any advice would be greatly appreciated!

kush sharma
PLUS
kush sharma
Courses Plus Student 2,360 Points

Hi Ryan, I looked it over the wordpress forums and found out there are some posts regarding this error.

Here is a one offering a solution:

http://wordpress.org/support/topic/media-upload-http-error

I found out this from googling this problem that this can be a server issue so call your hosts and ask for their help.Most likely the solution would likely be to edit your .htaccess file with some code as in the above link.You can also check ghe error log file for the specific error being generated here, it would help you to track down the cause.

You can try above things and it should definitely help you , and do share later developments on your problem after that here.

Cheers.:)..

I tried the suggested edit to the htaccess file but that didn't work. I have contacted my host provider and they are looking into it. I will post the solution if they find one.

Thanks for your input :)

After a few requests, my hosting provider (Crazy Domains - who I would not recommend as their support services are terrible) has responded with the following;

Hello Ryan,

Thank you for your email.

We updated all the file inside your php.ini. You can check this by going to your file manager and click php.ini and then click editor to see the content of the file.

Should you need further assistance, please do not hesitate to ask us. If you have further inquiries, you may browse through our website at http://www.crazydomains.com/help.

Thank you Theo J

Take note that they didn't tell me what they have altered in the php.ini file and did not specify what was missing/added to this - If anyone knows what this could have been please post a response as I am not aware of the php.ini file purpose/function.

Cheers!