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!!
|
|
|
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 |
|
|
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 |
|
|
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!
|
|
|
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.
|
|
|
|