After installing Nodestream 7.x-2.0-beta1, using a MySQL Database, with all feature boxes checked during the install, I got the following error on the 'finished' page:

Notice: Undefined index: content-length in apps_retrieve_app_image() (line 261 of /home/kevins/public_html/collabthink.com/profiles/nodestream/modules/contrib/apps/apps.manifest.inc).

How can this be corrected? Please give an answer that non coders can understand.

Thanks

Comments

I 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!

Title:Installation Error Undefined index: content-length warning on installation
Project:NodeStream» Apps
Version:7.x-2.0-beta1» 7.x-1.x-dev

This 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.

The 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.

Status:Active» Fixed

Easy 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

Automatically closed -- issue fixed for 2 weeks with no activity.