Thanks a lot! I found the bug! It is indeed in the actual codes rather than in the config file which I initially thought. Wendy On 7/4/16, 4:58 PM, "dancer-users on behalf of Stefan Hornburg (Racke)" <dancer-users-bounces@dancer.pm on behalf of racke@linuxia.de> wrote:
On 07/04/2016 05:53 PM, Wanjuan Yang wrote:
Hi Racke,
Yes.
request to GET /translation/drug_list crashed: Can't call method "fetchrow_array" on an undefined value at /data/www/live/Gdsc/lib/Dancer/Plugin/Utils.pm line 182. in /data/perl5/lib/perl5/Dancer/Handler.pm l. 98
It looks like the database do differently when the environment changes.
Wendy
Hello Wendy,
yes indeed. Looks like you need to debug why this happens.
Regards Racke
-- Please visit our 3rd Perl Dancer Conference 2016 in Vienna: https://www.perl.dance/.
_______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users