Answers.Body: <p>It looks like this was a regression caused by <a href="https://issues.civicrm.org/jira/browse/CRM-16513" rel="nofollow">https://issues.civicrm.org/jira/browse/CRM-16513</a>. Further information on the ticket.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-08T01:45:21.697Z
Answers.LastActivityDate: 2016-06-08T01:45:21.697Z
Answers.UserDisplayName: Coleman
Body: <p>On Drupal 7.43 (fresh install) / CiviCRM 4.7.8 (same issue on 4.7.4)</p>
  
  <p>After enabling the CiviCRM module the ajax upload of a custom image field added to drupal user accounts stopped working.</p>
  
  <p>Additionally the ajax call fails also when trying to remove previously uploaded images.</p>
  
  <p>The debug URL shows the generic error:
  "An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (80 MB) that this server supports"</p>
  
  <p>Is this a known bug? Any way to resolve it?</p>
  
  <p>Any help will be greatly appreciated.
  Thanks.</p>
  
  <p>List of enabled Drupal modules:</p>
  
  <p>CiviCRM  CiviCRM (civicrm)                      7.x-4.7.8
   CiviCRM  CiviCRM Theme (civicrmtheme)           7.x-4.7.8
   Core     Block (block)                          7.43
   Core     Color (color)                          7.43
   Core     Comment (comment)                      7.43
   Core     Contextual links (contextual)          7.43
   Core     Dashboard (dashboard)                  7.43
   Core     Database logging (dblog)               7.43
   Core     Field (field)                          7.43
   Core     Field SQL storage (field_sql_storage)  7.43
   Core     Field UI (field_ui)                    7.43
   Core     File (file)                            7.43
   Core     Filter (filter)                        7.43
   Core     Help (help)                            7.43
   Core     Image (image)                          7.43
   Core     List (list)                            7.43
   Core     Menu (menu)                            7.43
   Core     Node (node)                            7.43
   Core     Number (number)                        7.43
   Core     Options (options)                      7.43
   Core     Path (path)                            7.43
   Core     RDF (rdf)                              7.43
   Core     Search (search)                        7.43
   Core     Shortcut (shortcut)                    7.43
   Core     System (system)                        7.43
   Core     Taxonomy (taxonomy)                    7.43
   Core     Text (text)                            7.43
   Core     Toolbar (toolbar)                      7.43
   Core     Update manager (update)                7.43
   Core     User (user)                            7.43</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-06-07T16:13:33.993Z
Comments.Text: Solved by commenting lines 881 and 911 on civicm.module `$formValues['no_cache'] = TRUE;` although it's a workaround, would be great to see that fixed. Related to this issue https://issues.civicrm.org/jira/browse/CRM-16513
Comments.UserDisplayName: Mina
Tags: <drupal><4.7><ajax>
Title: CiviCRM 4.7.4 breaks Ajax image upload
ThreadText: # CiviCRM 4.7.4 breaks Ajax image upload
  
  (Asked by: username_0 on 2016-06-06)
  
  On Drupal 7.43 (fresh install) / CiviCRM 4.7.8 (same issue on 4.7.4)
  
  After enabling the CiviCRM module the ajax upload of a custom image field added to drupal user accounts stopped working.
  
  Additionally the ajax call fails also when trying to remove previously uploaded images.
  
  The debug URL shows the generic error:
  "An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (80 MB) that this server supports"
  
  Is this a known bug? Any way to resolve it?
  
  Any help will be greatly appreciated.
  Thanks.
  
  List of enabled Drupal modules:
  
  CiviCRM CiviCRM (civicrm) 7.x-4.7.8
  CiviCRM CiviCRM Theme (civicrmtheme) 7.x-4.7.8
  Core Block (block) 7.43
  Core Color (color) 7.43
  Core Comment (comment) 7.43
  Core Contextual links (contextual) 7.43
  Core Dashboard (dashboard) 7.43
  Core Database logging (dblog) 7.43
  Core Field (field) 7.43
  Core Field SQL storage (field\_sql\_storage) 7.43
  Core Field UI (field\_ui) 7.43
  Core File (file) 7.43
  Core Filter (filter) 7.43
  Core Help (help) 7.43
  Core Image (image) 7.43
  Core List (list) 7.43
  Core Menu (menu) 7.43
  Core Node (node) 7.43
  Core Number (number) 7.43
  Core Options (options) 7.43
  Core Path (path) 7.43
  Core RDF (rdf) 7.43
  Core Search (search) 7.43
  Core Shortcut (shortcut) 7.43
  Core System (system) 7.43
  Core Taxonomy (taxonomy) 7.43
  Core Text (text) 7.43
  Core Toolbar (toolbar) 7.43
  Core Update manager (update) 7.43
  Core User (user) 7.43
  
  **Tags:** drupal, 4.7, ajax
  
  > **Comments:**
  > **username_0**: Solved by commenting lines 881 and 911 on civicm.module `$formValues['no_cache'] = TRUE;` although it's a workaround, would be great to see that fixed. Related to this issue https://issues.civicrm.org/jira/browse/CRM-16513  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-06-08. Score: 1
  
  It looks like this was a regression caused by <https://issues.civicrm.org/jira/browse/CRM-16513>. Further information on the ticket.
  
  
  ---
  
  