Welcome to WebmasterWorld Guest from 54.161.130.145

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Anyone know what this error is?

File untouched for ages but now getting this error.

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 31, 2003
posts: 906
votes: 1


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

Preferred Member

5+ Year Member

joined:Mar 27, 2010
posts:423
votes: 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.
6:36 pm on Sept 13, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:May 31, 2008
posts:661
votes: 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
6:50 pm on Sept 13, 2012 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 31, 2003
posts:906
votes: 1


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

Administrator

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

joined:Aug 10, 2004
posts:10590
votes: 21


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