Re: Error Question
David Cummings <[email protected]> Wed, 16 Jul 2008 19:42:45 -0700 (PDT)
| Newsgroups | gmane.comp.horde.ansel |
|---|---|
| Message-ID | <[email protected]> |
Hi, I tried sending the var_dump in the last email but it was too big so I've zipped it; this version is better: it's from my local box and has the same error but the output is formated and readable. Thanks for any help. David ----- Original Message ---- From: Michael Rubinsky <[email protected]> To: [email protected] Sent: Monday, July 14, 2008 11:26:14 PM Subject: Re: [ansel] Error Question 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]
var_dump2.zip
(application/zip, 7.7 KB) - not displayed