This topic is locked
[SOLVED]

 Suddenly... Error received :-(

6/3/2010 3:50:55 PM
PHPRunner General questions
G
guruspeaker author

While designing my site using PHPRunner 5.2 (Build 5482), it was working great until suddenly, I started getting this error:
------%<----------%<----------

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /storage/www/html/klwtddb/include/dbconnection.php on line 34
Fatal error: in /storage/www/html/klwtddb/include/dbconnection.php on line 36

------%<----------%<----------
Here's what line 34 and 36 of my dbconnection.php file look like:
------%<----------%<----------

28. function db_query($qstring,$conn)

29. {

30. global $strLastSQL,$dDebug;

31. if ($dDebug===true)

32. echo $qstring."
";

33. $strLastSQL=$qstring;
35. {

[color="#FF0000"]36. trigger_error(mysql_error(), E_USER_ERROR);

37. }

38. return $ret;

------%<----------%<----------
Anyone ever see this?
Any thoughts?

A
ann 6/4/2010

Paul,
It's difficult to tell you what's happening without seeing actual files. Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.