• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Add Media to Page/Post has stopped working

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Add Media to Page/Post has stopped working

This topic is: resolved

Tagged: blank media library, media library, set featured image

  • This topic has 12 replies, 2 voices, and was last updated 12 years ago by Mayur Somani.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • March 25, 2014 at 11:46 am #96594
    danielleB
    Participant

    When I try to add a media to a page, it opens a 'blank' image library. If I try to upload an image, it will return an error message: "An error occurred in the upload. Please try again later."

    That said, the image does upload to the "Media Library" saved at: URL/wp-admin/upload.php. When I click on Media Library in the Dashboard, I see all my images, but I can't automatically insert them into post. I have to manually write the HTML code.

    Furthermore, I can't use the "Set Featured Image" tool in Pages.

    Now all that worked when I first started working on the site, so I suspect that a Plug-in may be interfering with the Media Library.

    I'm designing with the Minimum Pro child theme, and I recently added the Photo Gallery (Web-Dorado) plug-in. I thought that it might be the problem, but when I deactivated the plug-in, it didn't change anything.

    Has anyone else encountered a similar problem and/or can recommend a fix?

    Many thanks in advance.


    Danielle

    March 25, 2014 at 11:56 am #96598
    Mayur Somani
    Member

    Hi, Disable 'all' your active plugins and check.

    March 25, 2014 at 1:26 pm #96631
    danielleB
    Participant

    I deactivated all my plug-ins, one by one, and that didn't make a difference either. When I click the "Add Media" button in the Page/Post, it still calls up an empty Library.

    ??? I need to go live with this site tomorrow and I am at my wits' end.


    Danielle

    March 25, 2014 at 1:27 pm #96632
    Mayur Somani
    Member

    Activate default WordPress theme temporarily to see if that resolves the issue.

    March 25, 2014 at 1:43 pm #96639
    danielleB
    Participant

    No change. Still thinking that it's the Photo Gallery plug-in that's the culprit, I installed it in another site, and it didn't affect the media library. I'm now trying to retrace my steps to figure out what could have had an impact.

    I added some php codes (from the studiopress site) to the function.php file to tweak the design. Could that have an impact?


    Danielle

    March 25, 2014 at 1:50 pm #96642
    Mayur Somani
    Member

    It may have something to do with it. Please remove them and check.

    March 25, 2014 at 2:08 pm #96644
    danielleB
    Participant

    Nope. Darn, I hate taking up so much of your time, and I really appreciate your help.

    Yesterday, I changed the site URL in the WP - General Settings page and lost all site access until I went into the phpmyadmin file (via Desktopserver, which is what I use for development sites) and changed the URL back to the original one in the Options file.

    What I don't know is whether the "Add Media" link was already broken. I'm not a pro... the only reason I knew to go into the database files is because Desktopserver Support guided me through it.


    Danielle

    March 25, 2014 at 2:25 pm #96646
    Mayur Somani
    Member

    Hi, it may be an issue with the file permissions or it may be an issue with corruption in WordPress installation. If you are not sure how to fix it, I'd suggest you to hire a WordPress developer to look into it.

    March 25, 2014 at 2:56 pm #96648
    danielleB
    Participant

    Thank you for your help, Mayur.

    Can you recommend a WP developer?


    Danielle

    March 25, 2014 at 8:12 pm #96672
    danielleB
    Participant

    I continued my online search in various forums in hope of finding a resolution to this issue, and was stunned to find several WP users with the same problem, dating back to 2009 in earlier versions of WP as well as newer ones. There's quite a bit of frustration out there because of this issue and many responses, but none offering a fix.

    There's a beta version of WP just released, and I'm tempted to download it in a desperate attempt to solve this issue. Would I be wasting my time?

    Also, many people have mentioned changing permissions to 755 on wp-content/uploads folder as a possible solution, but I can't see anywhere to access permissions.


    Danielle

    March 26, 2014 at 7:01 am #96707
    Mayur Somani
    Member

    Don't install beta version of WP, it will create more problems then it would solve.

    You can login to your website via FTP to access wp-content/uploads and change its permissions. Make sure to do it recursively. Your FTP program will have an option to do it recursively.

    March 26, 2014 at 3:37 pm #96809
    danielleB
    Participant

    The problem has been solved! I'll share the fix in case this happens to someone else.

    I design locally in a Windows environment with DesktopServer (from serverpress.com, which I'll plug right away for their amazing customer support!) They resolved two problems for me this week in no time, along with super quick response. (I am a premium customer.)

    Following is their suggestion, which worked!

    It appears that on select Windows systems, a file can become corrupt and inject an additional carriage return which may be causing an issue. This issue can easily be fixed, here is how:

    1) Open the file at c:\xampplite\php\prepend.php in your favorite text editor, i.e. Notepad.
    2) Delete the entire contents of this file; please ensure that there are no carriage returns or any characters in this file and save it.
    3) Use DesktopServer's first option to "Stop or restart...", followed by the "Restart..." option. Please uncheck all checkboxes if you are not using these features (i.e. "Enable Dreamweaver...", "Enable Trace..").


    Danielle

    March 26, 2014 at 3:59 pm #96820
    Mayur Somani
    Member

    Glad its resolved and thanks for posting your solution.

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Add Media to Page/Post has stopped working’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble