Re: Error Question
Michael Rubinsky <[email protected]> Mon, 14 Jul 2008 23:26:14 -0400
| Newsgroups | gmane.comp.horde.ansel |
|---|---|
| Message-ID | <[email protected]> |
Quoting David Cummings <[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! We're going to need to know *what* the error is in order to help...try a var_dump($num_galleries) and see what the error message is. Thanks, mike -- The Horde Project (www.horde.org) [email protected] "Time just hates me. That's why it made me an adult." - Josh Joplin -- ansel mailing list - Join the hunt: http://horde.org/bounties/#ansel Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQBIfBjWTW0K6bINYV4RAtT5AJsHTqZUBP63o16qEd2tljGh2SPJpACbB9VE R1ZHcFjBBl75NraOdBgEPH8= =aVz6 -----END PGP SIGNATURE-----