[ansel] Error Question

Michael Rubinsky mrubinsk at horde.org
Tue Jul 15 03:26:14 UTC 2008


Quoting David Cummings <lupinsansei_st at yahoo.com>:

> 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)
mrubinsk at horde.org

"Time just hates me. That's why it made me an adult." - Josh Joplin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: PGP Digital Signature
Url : http://lists.horde.org/archives/ansel/attachments/20080714/b420391e/attachment.bin 


More information about the ansel mailing list