close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Error Log Messages

Thread began 10/10/2011 12:04 pm by jam396972 | Last modified 10/11/2011 5:30 am by jam396972 | 1744 views | 4 replies |

jam396972

Error Log Messages

Hi Jason,
I've been getting error messages on my PHP error logs that pertain to the code after the closing </html>

The code is:
<?php mysql_free_result($WADAitems); ?>

The log error messages are:
[09-Oct-2011 08:29:14] PHP Warning: mysql_free_result(): 7 is not a valid MySQL result resource in /*******/******/**_Detail.php on line 429

And on Source View:
Warning: mysql_free_result(): 7 is not a valid MySQL result resource in /****/****/******/****_Detail.php on line 343

I spoke with Hostmonster regarding this, and they are not sure if this code is necessary. I am also wondering if the code should be within the HEAD, BODY, HTML tags. When I was setting up the pages, the "body" code never went into the correct editable template tags and I had to move it around. The code that came after the ending </html> tag, I left as is. Please let me know if it should be moved or can be removed. A similar error shows up for the cart.php page as well.

Thank you

Sign in to reply to this post

Jason ByrnesWebAssist

that code is in place to remove the contents of a recordset from the servers memory


if the is a recordset on the page named:
WADAitems

then the code should be left in place, unless, it is duplicated.

Sign in to reply to this post

jam396972

Error Logs Messages

Hi Jason,

I am attaching a typical Results page and Details page. The recordset is named WADAitems. On the details pages, I see that mysql_free_result($WADAitems); is also found on line 196. This is the way the pages were created. Can I remove the code on line 196? Is this a duplication or should it be in both places? Thank you

Attached Files
ErrorLogs.zip
Sign in to reply to this post

Jason ByrnesWebAssist

delete the instance at 196, only the instance after the </html> tag is needed.

Sign in to reply to this post

jam396972

Error Logs Messages

Thanks Jason!

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...