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

WordPress Media Library is not loading.

My WordPress Media Library is not loading. It just hangs and the ball keeps spinning. No Media is showed. What is going on? Yesterday it worked just fine. In 24h I did not do any updates. I only changed some css that effect the site navigation.

The list view is working fine. Drag and drop to upload is not working.

http://www.apc.fi/sivudata

https://zonercloud.fi/public.php?service=files&t=04f49f41781527e5b607de2fa0b31dde

Someone posted a similar issue and got answered with this answer below. I tried all the steps excluding 19. Nothing helped.

Step 1: Log into your admin panel.

Step 2: Go to Settings > Media

Step 3: In the first writable field (Store uploads in this folder) it will state that the Default is wp-content/uploads but, it will not register this as “True”.

Step 4: Type “wp-content/uploads” within the field. (Also, make sure that “Full URL path to files” is blank.)

Step 5: Click, Save Changes. Now test to see if your Media Library is now functioning if not go to the next steps:

Step 6: Open up your File Transfer Protocol or (FTP).

Step 7: Go to your wp-content section. This will be listed within your sever at YOUR-SITE.COM/wp-content/

Step 8: Right click or highlight your “uploads” folder. If you do not have one then create one and test to see if your Media Library is now functioning. You need to have a folder here at YOUR-SITE.COM/wp-content/uploads/

Step 9: If you have an uploads folder already, select its “File Permissions”.

Step 10: Set the Numeric Value to 755 or 777 (777 can present a security risk see details below). Now test to see if your Media Library is now functioning if not go to the next steps:

Step 11: Go back into WordPress.

Step 12: Go back into Go to Settings > Media

Step 13: Uncheck “Organize my uploads into month- and year-based folders”.

Step 14: Click, Save Changes. Now test to see if your Media Library is now functioning if not go to the next steps:

Step 15: If your Media Library is still not working there is only one more step that I can fathom. Go back into your File Transfer Protocol or (FTP).

Step 16: Right click or highlight your “wp-content” folder.

Step 17: Select “File Permissions”.

Step 18: Set the Numeric Value to 777. Now test to see if your Media Library is now functioning and hopefully it is by now. Please note if your website is still down, it could potentially one of two things. The first being a plugin that you chose or created. Most free plugins do not take in consideration that your site matters. It is a pain, but do some research on the person who uploaded the theme and be sure that you check their reviews. The second reason could be due to some of your folder permissions — they might have been lost during a host transfer.

Step 19: If these solutions don’t work double check your .htaccess file and make sure this file matches with the theme you have installed on your site. Sometimes if this is not setup correctly it will re-write the path of the uploaded image. This is something you will have to investigate on your own and you can click here to fix your WordPress htaccess file. Try re-installing WordPress again, and re-importing your themes and plugins. If these solutions still do not work, feel free to contact us and we will try to help.