New site being built. New Install, everything works except changing/uploading a profile photo. I get a green bar but the photo never shows up. I have given my upload location and the cache folder 777 permissions and still doesn’t work. I’ve also changed the compatibility options within the settings and that didn’t make any difference either.
Can someone from support please help get it working?
Can you place a live URL to a broken uploaded photo in a private reply to have me debug it for you please?This reply has been marked as private.
I mean, what’s the URL (Where I can view that the image does not load or broken)?
peedy, can you test it here on your test profile?
as you can see I can change my profile pic on this site with the same files im trying to use on my site.6 years ago maxsriParticipant
Am also having the same problem. i have hosted my site in bluehost. While uploading it shows forbidden error.
If you get a forbidden error, that’s a host issue. Please contact your webhost about it.6 years ago maxsriParticipant
i have checked with my hosting bluehost.
The bluehost rep is telling:
That is definitely not a host issue, it is improper syntax with author code.
Below is the error bluehost representative are pointing to:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘WHERE id = 1’ at line 1 for query SELECT id FROM WHERE id = 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array, userpro_api->process_email_approve, userpro_api->activate, do_action(‘userpro_after_new_registration’), call_user_func_array, userpro_sc_new_user, userpro_sc_api->log_action, get_avatar, apply_filters(‘get_avatar’), call_user_func_array, bp_core_fetch_avatar_filter, bp_core_get_user_displayname, xprofile_set_field_data, BP_XProfile_ProfileData->save, BP_XProfile_ProfileData->is_valid_field
I still need help please!
Wanted to report I was able to fix the problem. Inside fileupload.php there is an include for wp-load.php. It wasn’t finding it (likely because I am using custom wp and wp_content directories). So I fixed the path and now profile photos are working correctly.
You must be logged in to reply to this topic.