Error Question
David Cummings <[email protected]> Mon, 14 Jul 2008 18:53:32 -0700 (PDT)
| Newsgroups | gmane.comp.horde.ansel |
|---|---|
| Message-ID | <[email protected]> |
When I click on 'My Galleries' I get the broken page with a slew of MDB2_Errors such as this one which is the first:
"Notice: Object of class MDB2_Error could not be converted to int in /ansel/lib/Views/List.php on line 184"
Is this a bug or could my install simply by configured poorly; the app works fine otherwise. I was able to silence the messages and get the page to otherwise pop up correctly by putting in at two distinct areas checks for errors such as :
if(is_a($num_galleries, 'PEAR_Error)) ...
Where $num_galleries in most of the instances of the error messages is the culprit. Any thoughts or help appreciated!
David
--
ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]