chok/OAuthBase — Issue #1: Undefined method seems to end with an infinite loop
Author: sglessard
Created: 2011-10-27 16:54:32+00:00
State: open

While working with sfMelodyPlugin, I experienced unobvious OAuth class fatal errors :

```Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /Path/To/WebSite/plugins/sfDoctrineOAuthPlugin/lib/base/sfOAuth.class.php on line 1192
```
I found that when a sfMelody class does not exist, as if I mistyped a method name, I got the error.

```php
// Method sfTwitterMelody::retrieveByKeywords() exists
$results = $this->getUser()->getMelody('flickr')->retrieveByKyword(); // Mistyping Keyword
```
OAuth::__call seems to be called infinitely, causing memory error.