close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Count error all of a sudden

Thread begun 3/20/2023 1:43 pm by LionsMane | Last modified 3/28/2023 10:54 am by Ray Borduin | 415 views | 6 replies |

LionsMane

Count error all of a sudden

My site has been working fine, and suddenly now I'm getting this error when trying to build an recordset. PHP is 7.4, nothing has changed in the code. Thoughts? Here's the error: Warning: sizeof(): Parameter must be an array or an object that implements Countable in /homepages/10/d169853639/htdocs/webassist/mysqli/rsobj.php on line 206

Sign in to reply to this post

Ray BorduinWebAssist

Download and install the latest version of the extension. Most likely the rsobj.php file has been updated to correct this issue.

Sign in to reply to this post
Did this help? Tips are appreciated...

LionsMane

Errors

This post has been deleted.

LionsMane

still an issue

OK, that solved the error, but now all the HTML markup in the dynamic content is showing as HTML/plain text instead of actual renderable HTML???

Sign in to reply to this post

LionsMane

This post has been deleted.

LionsMane

I found a reference to where I have to make the RS reference $Recordset->getColumnVal("column",false); including the ",false" designation. I have a LOT of pages on this site! I have to manually do this to ever page?????? I've never had to before??

Sign in to reply to this post

Ray BorduinWebAssist

The new version has built in cross site scripting protection. You could turn it off globally in the rsobj.php file as well and you wouldn't have to update your pages individually, but you open up the potential for cross site scripting (potentially depending on how you are allowing user input throughout the site).

Sign in to reply to this post
Did this help? Tips are appreciated...

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