Closed (fixed)
Project:
Apps
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Jul 2012 at 17:25 UTC
Updated:
4 Jan 2014 at 02:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
soumitra_chakravarti commentedI got the similar error while installing open enterprise on my local laptop!
Notice: Undefined index: content-length in apps_retrieve_app_image() (line 261 of C:\Users\Soumitra\Documents\Tagndo\Blueleaf Events\profiles\openenterprise\modules\apps\apps.manifest.inc).
Please help!
Comment #2
fabsor commentedThis seems to be a bug in the apps module rather than in NodeStream and Open Enterprise. I'm moving this over there. I don't think the error it's serious though, just go on and use your site.
Comment #3
populist commentedThe problem here is that drupal_http_request() will not return the 'content-length' header in cases where there is no actual content (http://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_h...). This could happen because of a misconfiguration on the apps server side or a problem with the web server talking to the app server.
Attached is a patch that should do a quick check on if that value exists before trying to compare it to the current content length, but I think there might be an underlying problem here because there *should* be content-length as part of returned http request.
Comment #4
febbraro commentedEasy enough fix so I committed it. If there are problems that exist, seems like it is in drupal_http_request and some spelunking can be done there is desired.
http://drupalcode.org/project/apps.git/commit/40b0911