Issue Type: Bug Created: 2010-08-13T02:08:45.000+0000 Last Updated: 2010-11-17T07:31:57.000+0000 Status: Resolved Fix version(s): - 1.11.1 (30/Nov/10)
Reporter: Margus Sipria (msipria) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Log
Related issues: - ZF-10081
Attachments: - ZendMonitor.patch
After holiday I upgraded to Zend Framework 1.10.7 and made my first bug and found out that Zend_Log_Writer_ZendMonitor was failing using Zend Server 5.0.2.
After doing some research i found this bug http://framework.zend.com/issues/browse/ZF-10081 that is been fixed for 1.10.7. User who filled out that bug was using Zend Platform (product that has come discontinued).
Zend_Log_Writer_ZendMonitor is ment to use with Zend Server Monitor, says Reference Guide so I did some digging and found that api for monitor has changed from Platform to Server: - http://files.zend.com/help/Zend-Platform/… - http://files.zend.com/help/Zend-Server/…
from: void monitor_custom_event(string $class, string $text[, integer $severe, mixed $user_data]) to: void zend_monitor_custom_event (string $class, string $text, mixed $user_data)
Some how monitor_custom_event-function is still available for Zend Server, but singnature is same as it is for zend_monitor_custom_event.
Both Platform and Server can be supported (I think, but didn't test) doing sniff if zend_monitor_custom_event (I think this isn't available in Zend Platform) is present then using it and if not using monitor_custom_event.
Or __constructor should fail if Zend Platform is used.
Posted by Margus Sipria (msipria) on 2010-08-13T02:25:01.000+0000
patch for my local mirror
Posted by Margus Sipria (msipria) on 2010-08-24T03:35:13.000+0000
Assigning to person who broke this first place
Posted by Matthew Weier O'Phinney (matthew) on 2010-11-16T10:19:33.000+0000
Fixed in trunk and 1.11 release branch. The original code was based off of a beta or RC of Zend Server -- and the API was later changed. Additionally, it was modified such that it was no longer compatible with Zend Platform.
I've updated the code to "sniff" for Zend Server, and to operate differently based on whether Zend Server is detected or Zend Platform is used.
The fix will be in 1.11.1.
Have you found an issue?
See the Overview section for more details.