close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

msql_free_result error after applying framework builder theme

Thread began 8/25/2016 11:45 am by tmcbinc99963 | Last modified 8/29/2016 5:12 pm by Ray Borduin | 916 views | 8 replies |

tmcbinc99963

msql_free_result error after applying framework builder theme

I've added themes to all pages and are working properly, with one exception. The ProdType.php page is giving me the following error message:

Warning: mysql_free_result(): 10 is not a valid MySQL result resource in /home/devadmin/public_html/test.website.com/ProdType.php on line 106

There is similar 'free result' code at the bottom of other themed pages, but only this one gives the error and won't load the php page. The page worked fine until the dwt template and theme were applied.

Page is attached; link in PM

Sign in to reply to this post

Ray BorduinWebAssist

Most likely there is another plugin that uses the same recordset name or variable named $rsProdType so that the recordset is already closed by the time you get to this point. You can probably remove that line without any detrimental effect.

Sign in to reply to this post

tmcbinc99963

The error message is gone, but the page doesn't load. Went back to previous file (without the theme) and the page loads fine. As soon as the dw template and theme are applied, I get a box with a question mark instead. This is the only page that's giving me this problem.

Sign in to reply to this post

Ray BorduinWebAssist

I'd need FTP access to debug.

Sign in to reply to this post

tmcbinc99963

See PM

Sign in to reply to this post

Ray BorduinWebAssist

Both your template and your page had a recordset named "rsProdType"... but the theme code was below the recordset on the page so it was being overwritten.

I corrected the problem by moving the theme code above your page recordset, but probably the best practice is to avoid using the same named recordsets so conflicts won't happen in the first place.

Sign in to reply to this post

tmcbinc99963

The background on the page is black and should be white. This may have happened when I added the theme and/or template in the wrong spot, though I added all the templates to the site in the same way, and this is the only one with a black background.

Detached the template and reapplied. Tried to reapply the theme, but it says the page already has a theme. Tested with the new template without reapplying the theme, and the background is still black.

Is it possible to adjust the placement of the page within the template/theme once it has been applied? If not, how can I detach the theme and start over? I had a backup without the template/theme, but you have edited the code recently on another issue with the theme applied.

Also tried editing the css for a white background, but that didn't work.

Sign in to reply to this post

Ray BorduinWebAssist

Your background color is coming from primrose.css line 154.

You can solve that problem by adding clear:both to the class: #container-fluid-tabs {

Sign in to reply to this post

tmcbinc99963

This post has been deleted.

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