Re: [fw-general] Zend_Ldap bind errors

2012-01-20 Thread Narinder Chandi
ap ); > > if($this->_resource->getLastErrorCode()) >throw new >Exception($this->_resource->getLastErrorCode($this->_resource->getLastErro >r())); > > return $this; >} > >I tried putting a try/catch block, but for some reason my bind and search >wasn&#x

Re: [fw-general] Zend_Ldap bind errors

2012-01-19 Thread Narinder Chandi
Hi. Just a wild guess, but in my own LDAP implementation I explicitly issue connect/disconnect requests. Does your code do that? Maybe its wrapped up in some other code? FWIW, I'm not using the bind function either. I issue 1000s of search/add requests without problem. A fudged solution (hack!) wo

Re: [fw-general] Zend_Ldap bind errors

2012-01-19 Thread Narinder Chandi
Hi. Just a wild guess, but in my own LDAP implementation I explicitly issue connect/disconnect requests. Does your code do that? Maybe its wrapped up in some other code? FWIW, I'm not using the bind function either. I issue 1000s of search/add requests without problem. A fudged solution (hack!) wo

[fw-general] Problems Processing E-Mails with Large Attachments using Zend_Mail/Zend_Mail_Storage_Imap

2011-09-20 Thread Narinder Chandi
Hi. I'm heavily reliant on using Zend_Mail with Zend_Mail_Storage_Imap to read and process large volumes of e-mail. I have a need to extract attachments and write them to disk. The problem I'm frequently seeing is this kind of error: Fatal error: Allowed memory size of 134217728 bytes exhausted (t

Re: [fw-general] Zend LDAP search() method returns error

2011-06-29 Thread Narinder Chandi
'mail', 'm...@example.com')); $items = $ldapServer->search($filter, null, Zend_Ldap::SEARCH_SCOPE_ONE); Perhaps this can help you. Regards, Narinder. -- __ | Narinder Chandi, Director, | ToolBox Systems Limited, Surrey, England, UK. | t

Re: [fw-general] Performance and Example of Enterprice Applications

2010-09-03 Thread Narinder Chandi
Hi. These links should help you identify some potential enterprise level customers using Zend Framework: http://www.zend.com/en/company/customers/ http://www.zend.com/en/resources/case-studies/ Regards, Narinder. -- __ | Narinder Chandi

Re: [fw-general] Autloading classes from within library path - not found

2010-04-23 Thread Narinder Chandi
are named MyLib_SomeDir1_Foo and MyLib_SomeDir2_Bar. Regards, Narinder. -- __ | Narinder Chandi, Director, | ToolBox Systems Limited, Surrey, England, UK. | tel : +44 (0)1372 720117, mob : +44 (0)7973 512495 | www : http://www.toolbox.uk.co

Re: [fw-general] Getting all the created models name.

2010-04-05 Thread Narinder Chandi
ry tree but I would prefer to read the XML file. YMMV. Regards, Narinder. -- ______ | Narinder Chandi, Director, | ToolBox Systems Limited, Surrey, England, UK. | tel : +44 (0)1372 720117, mob : +44 (0)7973 512495 | www : http://www.too

Re: [fw-general] Navigating ZF manual

2010-03-31 Thread Narinder Chandi
scrollin through the web docs. to find sub-topics. Anyone who is using the ZF web docs should install this! If you don't use FF, well why not ;-) Regards, Narinder. -- __ | Narinder Chandi, Director, | ToolBox Systems Limited, Surrey, Englan

Re: [fw-general] Using Zend_Rest_Server with Zend_Controller

2010-03-30 Thread Narinder Chandi
uest']['object'] = $request; > > $restServer = new Zend_Rest_Server(); > $restServer->setClass('My_API_Rest_Server'); > $restServer->handle($params); >} > } > > c) In my Client > > $client = new Zend_Rest_Cl

Re: [fw-general] Using Zend_Rest_Server with Zend_Controller

2010-03-30 Thread Narinder Chandi
say so...thanks. I'd be interested to hear other opinions too. Regards, Narinder. -- __ | Narinder Chandi, Director, | ToolBox Systems Limited, Surrey, England, UK. | tel : +44 (0)1372 720117, mob : +44 (0)7973 512495 | www : http://www.to

Re: [fw-general] Get query and error messages from $db->update

2010-03-29 Thread Narinder Chandi
public function dumpSQL() >> { >> $db = Zend_Db_Table::getDefaultAdapter(); >> $dbProfiler = $db->getProfiler(); >> $dbQuery = $dbProfiler->getLastQueryProfile(); >> $dbSQL= $dbQuery->getQuery(); >> >> print_r(

Re: [fw-general] Get query and error messages from $db->update

2010-03-29 Thread Narinder Chandi
Regards, Narinder. -- __ | Narinder Chandi, Director, | ToolBox Systems Limited, Surrey, England, UK. | tel : +44 (0)1372 720117, mob : +44 (0)7973 512495 | www : http://www.toolbox.uk.com | Skype: NarinderChandi | Linked