Closed (works as designed)
Project:
amfserver
Version:
7.x-3.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2011 at 11:44 UTC
Updated:
6 Nov 2012 at 09:30 UTC
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
Comment #1
rolf vreijdenberger commentedHi Garphy,
thanks for reporting. Do you have any more info?
what platform, browser, url etc are you using?
Comment #2
rolf vreijdenberger commentedI cannot find the method isIeOverSsl() in the Zend libs
what version of Zend library are you using?
Comment #3
darkooo commentedHello 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...
Comment #4
rolf vreijdenberger commentedthanks 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 :)
Comment #5
rolf vreijdenberger commentedworks 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
Comment #6
HyperD commentedI 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