theh1982 has asked for the wisdom of the Perl Monks concerning the following question:

Hi Guys,

I moved a script over from a CentOS server to a FreeBSD server and I am receiving the following error now:
[Wed Apr 08 10:35:37 2009] [error] [client 83.70.xx.230] DBD::mysql::s +t fetchrow_hashref failed: fetch() without execute() at /webdocroot/i +mma.ie/en/calendar.cgi line 583. [Wed Apr 08 10:35:48 2009] [error] [client 83.70.xx.230] DBD::mysql::s +t fetchrow_array failed: fetch() without execute() at /webdocroot/imm +a.ie/en/calendar.cgi line 472.
Any suggestions ?

Replies are listed 'Best First'.
Re: Move Perl script from CentOS to FreeBSD gives a DSB Error
by marto (Cardinal) on Apr 08, 2009 at 09:43 UTC

    Looks like your execute() failed. Are you properly checking errors?

    See Writeup Formatting Tips, and post your code (or even better, a small sample script which can reproduce the error) within the appropriate tags

    Thanks

    Martin