CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 mySQL Resource Error

Print topic Send  topic

Author Message
snarf


Posts: 14
Posted: 07/06/2004, 11:42 AM

For some reason, an editable-grid form generated by CCS 2.3.1.85 is throwing this error after a query runs:

Warning: mysql_close(): 12 is not a valid MySQL-Link resource in db_mysql.php on line 378

Although the SQL query itself works, it seems that whatever CSS is passing to this function isn't what CSS thinks it is. When I add a mysql_ping to the db_mysql.php file (I tried to 'if' this away) it does not recognize the passed parameter as a DB connection, either.

This isn't happening anywhere else in a 60-screen project, except for editable grids. Has anyone seen this? I could find nothing on the forums or support.

Thanks in advance!!
View profile  Send private message
peterr


Posts: 5971
Posted: 07/06/2004, 12:39 PM

Carson,
I couldn't find your support case. Please let me know your support case number and I can follow up.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
klwillis


Posts: 428
Posted: 07/07/2004, 7:48 AM

Do you have a bit of code you can share? ;-)
_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
snarf


Posts: 14
Posted: 07/07/2004, 5:02 PM

Peter, I did not post a support ticket. Forums are generally faster.

klwillis, I figured out the issue by watching the mySQL monitor.... the connection is being closed, but I can't figure out from where. I am going to run a pinger in parallel and spit out a message after the each code-call to see who's closing it.

Thanks!
View profile  Send private message
Last Hero
Posted: 07/08/2004, 2:47 AM

Try enable/disable Persistent in connection setting.
If this does not help, make request to support. And receive patch.

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.