[Midas] error message
Michael Grauer
michael.grauer at kitware.com
Wed Aug 22 14:27:49 EDT 2012
Mona and DJ,
We've now updated the master branch of Midas to give you a more informative
error message when in production mode.
Happy Debugging!
-Mike
On Tue, Aug 21, 2012 at 4:11 PM, Dhanannjay (DJ) Deo <
dhanannjay.deo at kitware.com> wrote:
> Hello Zach,
>
> I am getting that same error with latest master @
> 665f50110c2e4e59991e273fb2d8a28875f9e9da.
>
> The error in apache logs is -
>
> [Tue Aug 21 16:07:56 2012] [error] [client 192.168.1.241] PHP Fatal error:
> Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] No
> such file or directory' in
> /opt/web/largeimages/library/Zend/Db/Adapter/Pdo/Abstract.php:129\nStack
> trace:\n#0
> /opt/web/largeimages/library/Zend/Db/Adapter/Pdo/Abstract.php(129):
> PDO->__construct('mysql:host=loca...', 'midas', 'midas', Array)\n#1
> /opt/web/largeimages/library/Zend/Db/Adapter/Pdo/Mysql.php(96):
> Zend_Db_Adapter_Pdo_Abstract->_connect()\n#2
> /opt/web/largeimages/library/Zend/Db/Adapter/Abstract.php(459):
> Zend_Db_Adapter_Pdo_Mysql->_connect()\n#3
> /opt/web/largeimages/library/Zend/Db/Adapter/Pdo/Abstract.php(238):
> Zend_Db_Adapter_Abstract->query('INSERT INTO `er...', Array)\n#4
> /opt/web/largeimages/library/Zend/Db/Adapter/Abstract.php(574):
> Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `er...', Array)\n#5
> /opt/web/largeimages/library/Zend/Log/Writer/Db.php(137):
> Zend_Db_Adapter_Abstract->insert('errorlog', Array)\n#6
> /opt/web/largeimages/library/Zend/Log/Writer/Abstract.php(84):
> Zend_Log_Writer_Db->_write(Array)\n#7 /opt/web/largeim in
> /opt/web/largeimages/library/Zend/Db/Adapter/Pdo/Abstract.php on line 144
>
> Shall I checkout some other commit and try ?
>
> Thank you,
>
> :) Djay
>
> On Tue, Aug 21, 2012 at 3:35 PM, Zach Mullen <zach.mullen at kitware.com>wrote:
>
>> If you turn your server from Production mode into Development mode, it
>> should make an actual descriptive error message appear... I'm not sure why
>> the line and file aren't appearing correctly there.
>>
>> Thanks,
>>
>> Zach
>>
>> On Tue, Aug 21, 2012 at 3:26 PM, Mona Wong <mona at sdsc.edu> wrote:
>>
>>>
>>> Hi:
>>>
>>> I'm getting the following message when I try to access my controller:
>>>
>>> The system has encountered the following error:<br/><h3><br/>In , line:
>>> <br/>At 15:20:01 2012-08-21</h3><br/>Please notify your administrator with
>>> this information.<br/>
>>>
>>> It would be helpful if the error message was more specific about the
>>> problem (:
>>>
>>> How should I go about debugging why my controller is not working? I
>>> don't see any entry in the Midas log.
>>>
>>> thanks,
>>> Mona
>>>
>>> *********************************************
>>> Mona Wong
>>> Web & iPad Application Developer
>>> San Diego Supercomputer Center
>>>
>>> Believing we are in control is an
>>> illusion that brings suffering.
>>> *********************************************
>>>
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Midas mailing list
>>> Midas at public.kitware.com
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Midas mailing list
>> Midas at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>>
>>
>
>
> --
> Dhanannjay (DJ) Deo, Ph.D.
> Scientific Visualization
> Kitware Inc.
> www.kitware.com
> Phone : (518)-836-2196 <dhanannjay.deo at kitware.com>
>
> _______________________________________________
> Midas mailing list
> Midas at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/midas
>
>
--
Thanks,
Michael Grauer
R & D Engineer
Kitware, Inc.
919 969 6990 x322
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/midas/attachments/20120822/bca32deb/attachment.html>
More information about the Midas
mailing list