08-20-2009, 07:38 PM
When a user tries signing up for the service, it comes to this error
Not sure whats causing it but if you want to give it a shot go here: http://crutix.com/orderup
I'm running the latest THT.
Line 54 is and the surrounding lines are
Thanks.
Quote://///////////////THT ERROR
Error: mySQL Query Failed
Function: query
mySQL Error: MySQL server has gone away
/////////////////
/////////////////THT ERROR
Error: mySQL Query Failed
Function: query
mySQL Error: MySQL server has gone away
/////////////////
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/noland/public_html/orderup/includes/class_db.php on line 54
Your username doesn't exist in the DB meaning the query failed or it exists more than once!
Not sure whats causing it but if you want to give it a shot go here: http://crutix.com/orderup
I'm running the latest THT.
Line 54 is
PHP Code:
$n++;
PHP Code:
$array2['NAME'] = $data['name'];
$array2['DESCRIPTION'] = $data['description'];
$array2['ID'] = $data['id'];
$array['PACKAGES'] .= $style->replaceVar("tpl/orderpackages.tpl", $array2);
$n++;
if($n == 1) {
$array['PACKAGES'] .= '<td width="2%"></td>';
}
if($n == 2) {
$array['PACKAGES'] .= "</tr>";
$n = 0;
}
}
Thanks.