Community Forums › Forums › Archived Forums › General Discussion › Add Media to Page/Post has stopped working
- This topic has 12 replies, 2 voices, and was last updated 10 years, 1 month ago by Mayur Somani.
-
AuthorPosts
-
March 25, 2014 at 11:46 am #96594danielleBParticipant
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 #96598Mayur SomaniMemberHi, Disable 'all' your active plugins and check.
March 25, 2014 at 1:26 pm #96631danielleBParticipantI 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 #96632Mayur SomaniMemberActivate default WordPress theme temporarily to see if that resolves the issue.
March 25, 2014 at 1:43 pm #96639danielleBParticipantNo 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 #96642Mayur SomaniMemberIt may have something to do with it. Please remove them and check.
March 25, 2014 at 2:08 pm #96644danielleBParticipantNope. 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 #96646Mayur SomaniMemberHi, 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 #96648danielleBParticipantThank you for your help, Mayur.
Can you recommend a WP developer?
Danielle
March 25, 2014 at 8:12 pm #96672danielleBParticipantI 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 #96707Mayur SomaniMemberDon'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 #96809danielleBParticipantThe 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 #96820Mayur SomaniMemberGlad its resolved and thanks for posting your solution.
-
AuthorPosts
- The topic ‘Add Media to Page/Post has stopped working’ is closed to new replies.