[ansel] Error Question
David Cummings
lupinsansei_st at yahoo.com
Thu Jul 17 02:42:45 UTC 2008
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 <mrubinsk at horde.org>
To: ansel at lists.horde.org
Sent: Monday, July 14, 2008 11:26:14 PM
Subject: Re: [ansel] Error Question
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: var_dump2.zip
Type: application/zip
Size: 7918 bytes
Desc: not available
Url : http://lists.horde.org/archives/ansel/attachments/20080716/947ca0af/attachment.zip
More information about the ansel
mailing list