Welcome to WebmasterWorld Guest from 23.21.38.201

Forum Moderators: coopster & jatar k & phranque

Anyone know what this error is?

File untouched for ages but now getting this error.

   
5:40 pm on Sep 13, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



DBD::mysql::db selectrow_array failed: fetch() without execute() at page2.cgi line 126.
6:05 pm on Sep 13, 2012 (gmt 0)

5+ Year Member



File untouched for ages but now getting this error.

I file was untouched then most probably the platform version has been changed to a newer one. You need to adopt your files, I think.
6:36 pm on Sep 13, 2012 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



Or maybe there's some if-clause that just sets in sometimes and does it.

basically: the script is calling
$sth->selectrow_array (while $sth can be anything, it's the name of the statement handle) without executing a query. So it is asking for the result data but has not run a query. Look at line 126 for the variable name and then find $variablename->execute
6:50 pm on Sep 13, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



My host fixed it. They said the DB crashed... Thanks for the help people!
10:29 pm on Sep 13, 2012 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



that means you didn't put proper error checking in your script after you invoked execute.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month