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

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

I'm getting a parameter error from the webassist/mysqli/rsobj.php file

Thread began 3/17/2016 11:47 am by Jason | Last modified 3/17/2016 6:09 pm by Ray Borduin | 316 views | 8 replies |

Jason

I'm getting a parameter error from the webassist/mysqli/rsobj.php file

I'm getting this error:

PHP Warning: mysqli_num_fields() expects parameter 1 to be mysqli_result, boolean given in /public_html/webassist/mysqli/rsobj.php on line 233

I can't see exactly which file is creating the error, only the folder that contains this error log. How can I figure out which file is causing this issue?

Sign in to reply to this post

Ray BorduinWebAssist

This is an error in your SQL syntax. The most recent version of the extension should have a Debug Mode you can turn on to see the complete message... what is the SQL statement you have for that Recordset? I may be able to spot the problem.

Sign in to reply to this post

Jason

I have to set "big selects" on my server and this was the only way I knew to get it to work. I'm not sending any params though, so I'm unsure why it's throwing an error?

php:
<?php

$BIG_SELECTS 
= new WA_MySQLi_RS("BIG_SELECTS",$local_i,0);
$BIG_SELECTS->setQuery("SET SESSION SQL_BIG_SELECTS = 1");
$BIG_SELECTS->execute();
?>
Sign in to reply to this post

Ray BorduinWebAssist

That won't work. The RS object needs to have a SELECT statement that returns a result. The SQL you are using is causing an error.

You might be able to use something like:

SELECT (SET SESSION SQL_BIG_SELECTS = 1) AS ResultVal

But you would have to test it in your phpMyAdmin and make sure since I'm not familiar with using SET SESSION calls in general in MySQL.

Sign in to reply to this post

Jason

This post has been deleted.

Jason

Nope, that throws an error.

Sign in to reply to this post

Ray BorduinWebAssist

Try using the query object instead of the Recordset:

$BIG_SELECTS = new WA_MySQLi_Query($local_i);
$BIG_SELECTS->Statement = "SET SESSION SQL_BIG_SELECTS = 1";
$BIG_SELECTS->execute();

Sign in to reply to this post

Jason

That looks like it's going to work. At least it's working on my testing server. Won't be able to test it on the live server for a day or two. What is the queryobj used for in the plugin?

Sign in to reply to this post

Ray BorduinWebAssist

Insert, Update, and Delete Queries

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