An error occurred in the upload. Please try again later
-
reproduce the error:
1.new install of wp 3.5.1
2.use register role: contributor
3.hack the default theme twentytwelve function.php to add upload files://https://www.wprecipes.com/wordpress-tip-allow-contributors-to-upload-files //https://www.ads-software.com/support/topic/allow-contributor-to-upload-media#post-1438467 if ( current_user_can('contributor') && !current_user_can('upload_files') ) add_action('admin_init', 'allow_contributor_uploads'); function allow_contributor_uploads() { $contributor = get_role('contributor'); $contributor->add_cap('upload_files'); }
4.download and enable the https://www.ads-software.com/extend/plugins/post-from-frontend https://downloads.www.ads-software.com/plugin/post-from-frontend.zip
5.add page with post-from-frontend short-code [wpeden_post_from_frontend]
6.errors occur when contributor add post in front-page while upload media.7.and no js console.log ,no php error , no mysql error,no agache error.
and the same like Question link: https://www.ads-software.com/support/topic/an-error-occurred-in-the-upload-please-try-again-later-4?replies=18
- The topic ‘An error occurred in the upload. Please try again later’ is closed to new replies.