[Fwd: Re: [FX.php List] Fatal error: Cannot use object of type FX_Error]

DC dan.cynosure at dbmscan.com
Wed Mar 29 09:46:52 MST 2006


found this in the archives... remember, check the archives.

dan

-------- Original Message --------
Subject: 	Re: [FX.php List] Fatal error: Cannot use object of type FX_Error
Date: 	Wed, 14 Dec 2005 22:08:15 -0800
From: 	William Akey <wcakey at hotmail.com>
Reply-To: 	FX.php Discussion List <fx.php_list at mail.iviking.org>
To: 	FX.php Discussion List <fx.php_list at mail.iviking.org>
References:
<1085623821-44030551 at exit445.com><p06200706bf4ed3c96536@[192.168.1.105]><p0623091bbf666ef0280b@[192.168.44.102]><BAY12-DAV9C4A1E70CB7EC42F30127CD390 at phx.gbl><82FB74B4-15D4-4A9B-8C3A-C3B066AB01CA at moyergroup.com><BAY12-DAV8BFAD445407063BA7FD3BCD380 at phx.gbl><20123A9E-3991-4C84-8B0C-F0DBA1814700 at moyergroup.com> 

<5A4A36B0-A4F9-4D5F-9672-CA013F3E4992 at 9degrees.com>



Michael,

Thanks very much for this information. Your comments got me to thinking
and it turns out you were pretty close to the right answer. Indeed, it
was a permissions issue of a sort. This particular database requires a
username and password and for one reason or another, after successfully
making it through the login page and on through the search page, I
forgot that I still needed to pass this information along in the
query constructed on the search_results page. Once I supplied the
username and password, all was fine.

Sorry for all of the trouble, but I did learn a lot from each of the
suggestions that were sent to me, so all was not lost. Thank you all for
your contributions to this thread!

William

     ----- Original Message -----
     *From:* Michael Layne <mailto:fx at 9degrees.com>
     *To:* FX.php Discussion List <mailto:fx.php_list at mail.iviking.org>
     *Sent:* Tuesday, December 13, 2005 10:55 PM
     *Subject:* Re: [FX.php List] Fatal error: Cannot use object of type
     FX_Error

     Hi,

     Getting back to the initial problem, that particular return of data...

>     FX_Error Object ( [error_message_prefix] => [mode] => 1 [level] =>
>     1024
>     [code] => 100 [message] => FX: ExecuteQuery XML error: Mismatched
>     tag at
>     line 6 [userinfo] => [backtrace] => Array ( [0] => Array ( [file] =>



     ...etc.

     almost ALWAYS ends up being a permissions or privilege issue.  the
     " [level] => 1024" has become my friend...

     I would check that you (FX) have proper access the "fmxml"
     user/privilege, and don't forget if you have any invalid related
     fields in the layout you specify, place the field(s) inside a
     container of the same relationship.  That also might be it.

     HTH,

     Michael

     On Dec 14, 2005, at 1:40 AM, Greg Lane wrote:

>     The "-" characters are not actually part of the XML, they are
>     added by your browser so you can collapse or expand sections of
>     the tree. Try viewing the source of that page and then you can
>     view or copy the raw XML.
>
>     I'm curious if you get the same error you originally reported if
>     you change your FMFind function to use the 'basic' parameter, like:
>
>         FMFind(true, 'basic')
>
>     If the error goes away, I'd be suspicious of your data. Does the
>     error also occur with different find criteria?
>
>     Greg
>
>     On Dec 13, 2005, at 11:45 PM, William Akey wrote:
>
>
>>     I did follow the URL several times and all looked OK except
>>     for some odd "-" characters every few lines
>>
>
>     _______________________________________________
>     FX.php_List mailing list
>     FX.php_List at mail.iviking.org <mailto:FX.php_List at mail.iviking.org>
>     http://www.iviking.org/mailman/listinfo/fx.php_list
>


     Michael Layne  :  9 degrees development  :  www.9degrees.com  :
     404.226.7835


 
------------------------------------------------------------------------

     _______________________________________________
     FX.php_List mailing list
     FX.php_List at mail.iviking.org
     http://www.iviking.org/mailman/listinfo/fx.php_list
-------------- next part --------------
_______________________________________________
FX.php_List mailing list
FX.php_List at mail.iviking.org
http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list