File untouched for ages but now getting this error.
textex
5:40 pm on Sep 13, 2012 (gmt 0)
DBD::mysql::db selectrow_array failed: fetch() without execute() at page2.cgi line 126.
matrix_jan
6:05 pm on Sep 13, 2012 (gmt 0)
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.
janharders
6:36 pm on Sep 13, 2012 (gmt 0)
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
textex
6:50 pm on Sep 13, 2012 (gmt 0)
My host fixed it. They said the DB crashed... Thanks for the help people!
phranque
10:29 pm on Sep 13, 2012 (gmt 0)
that means you didn't put proper error checking in your script after you invoked execute.