- This topic has 24 replies, 2 contibutors, and was last updated 10 years, 2 months ago by .
-
Question
Answers
- The question ‘Photo upload error’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Photo upload error
Ok a bigger twist to this mystery when i go to my media section click the greyed out box and then click ‘edit more details’ the image shows.
As you can see from this image large images are uploading
But when i go to click on view attachment page it shows a page with the original error message that has buddyboss inc in it view attachment page
Hotlinking not allowed in the first image 🙂
Hi sorry about that had hotlink protection switched on in cloudflare, its now switched off.
Sadly it seems that this is 100% a wordpress 4.0 issue that seems to be being ignored, I’m now being forced into looking at going back to socialengine, which is the last thing I wanted to do, hopefully some time today a fix by wordpress will be found for this issue, otherwise i’ve wasted a lot of man hours and $$$’s on a website setup that is no longer functional ( on the media side ) for it’s users 🙁
If anyone out there following this has a fix please post it!!
Sorry guys back here again after being told to get support here from a wordpress forum moderator who says the issue is to do with your theme 🙁
@jerseypeeps what kind of edits have you made to the theme so far? Any chance you can try to reupload the theme from scratch?
Hi TJ I have made very little changes if any, its not just with your theme but any other that i try out and test on my demo website.
I have had the pleasure so far of wordpress admins telling me to get support here as it was your theme only then to have to go back to the wordpress forums to tell them that the issue isn’t with your theme at all but with wordpress.
I can only apologise for taking up your time on your forum here, with what looks like a wordpress bug.
I have tried downgrading wordpress, in fact i have even tried standing on my head for an hour to see if that would fix the issue.
Quote from wordpress user on the media upload error.
Some progress <?> or at least more data points towards finding a fix:
In theme 2014, commenting out these two lines allows larger file uploads to work:
// Enable support for Post Thumbnails, and declare two sizes.
add_theme_support( ‘post-thumbnails’ );
//set_post_thumbnail_size( 672, 372, true );
//add_image_size( ‘twentyfourteen-full-width’, 1038, 576, true );
In Genesis themes, using add_image_size causes uploads to fail. Removing this from the child theme allows the uploads to work.Turning on “Crop thumbnail to exact dimensions (normally thumbnails are proportional)” consistently causes media uploads to fail.
Is there any similar coding in the buddyboss theme??
@jerseypeeps absolutely, however it will cause images not to be sized properly on walls/profiles. Located in these locations: buddyboss/buddyboss-inc/theme-functions.php:56-59 (deprecated)
buddyboss/buddyboss-inc/buddyboss-slides/buddyboss-slides-loader.php:165 (important if you use slider)
BB Media Plugin
buddyboss-media/includes/types/photo-class.php:143-146 (important ones)
Let me know how it goes.
Annnnd I’m back again, having posted to the WordPress support forums, no idea why they are called this, as most of the media upload problems are now being ignored and brushed under the carpet by the admins there.
I have had no choice but to come back here to see if anybody has found a fix for the ‘upload error’ which only came into effect after the 4.0 wordpress upgrade, which seems to affect large photo uploads.
Even downgrading and disabling all plugins does nothing to fix this issue.
Do you have any devs that can look into this as my users are now getting very very impatient with the issue not being fixed. I have put a work around for them to downsize files but this means them going to a different website uploading resizing and then downloading and uploading……something like this in this day and age of FB??
Any help on this would be great!!
@jerseypeeps I do not have any time right now and our devs are working on fixing theme issues at the moment. https://wordpress.org/plugins/imsanity/ is the only plugin I can think of to try.