Each time an AMF request is executed, the following drupal message is displayed (more precisely: queued and displayed at the next "page" display).

Notice: Undefined index: HTTPS in Zend_Amf_Response_Http->isIeOverSsl()

Comments

rolf vreijdenberger’s picture

Hi Garphy,

thanks for reporting. Do you have any more info?
what platform, browser, url etc are you using?

rolf vreijdenberger’s picture

I cannot find the method isIeOverSsl() in the Zend libs
what version of Zend library are you using?

darkooo’s picture

Hello i have the same bug;

I used Zend ZendFramework-1.11.11-minimal

and the function is here : Zend/Amf/Response/Http

@line59: $ssl = $_SERVER['HTTPS'];

I think they forgot isset so the line would be: $ssl = isset($_SERVER['HTTPS']);

If I change this line no more error...

rolf vreijdenberger’s picture

thanks darkoo.
notice setting is kindof high for a production site, still it's something that should be addressed. I'll contact zend about it, it's more of an issue on their side than the amfserver module, but since I cannot go without the Zend libs... I'm stuck with it :)

rolf vreijdenberger’s picture

Status: Active » Closed (works as designed)

works as designed by zend framework. I have no control over that.
solutions:
- use a lower error reporting level on the drupal site (no notices)
- hack the zend lib as darkoo did
- wait for an upgrade to zend libs or downgrade to a version without the above implementation

HyperD’s picture

I had the issue and I solved applying the solution #3
Just for curiosity, I downloaded the Zendlib last version (2.0.3 in this moment): the module amfserver doesn't find the lib in /sites/all/libraries/Zend

To me worked out only mounting the previous version of Zend libraries