homepage Welcome to WebmasterWorld Guest from 54.163.72.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
Forum Library, Charter, Moderators: coopster & jatar k & phranque

Perl Server Side CGI Scripting Forum

    
Anyone know what this error is?
File untouched for ages but now getting this error.
textex




msg:4494818
 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




msg:4494834
 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




msg:4494842
 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




msg:4494844
 6:50 pm on Sep 13, 2012 (gmt 0)

My host fixed it. They said the DB crashed... Thanks for the help people!

phranque




msg:4494926
 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Perl Server Side CGI Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved