close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Update page not loading

Thread began 6/29/2020 7:13 am by MagsW | Last modified 6/29/2020 5:00 pm by Ray Borduin | 22 views | 4 replies |

MagsW

Update page not loading

Hi Ray, I have recently upgraded a site to PHP7 and I have one DA update page which is no longer loading. I added error reporting but it's not showing any errors - I just get Chrome's "This page isn't working" error. Could you possibly take a look for me? Copy of the page is attached.

Attached Files
target-articles_update.php
Sign in to reply to this post

Ray BorduinWebAssist

It looks like some of the recordset references weren't updated from MySQL to MySQLi. Do a find and replace to replace:

$row_WADAtargetarticles['Provider']

with:

$WADAtarget_articles->getColumnVal('Provider')

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

MagsW

I've done that but it's still not loading, although I am at least getting an error message now:

Warning: mysqli_stmt::bind_param(): Undefined fieldtype - (parameter 2) in /var/www/vhosts/mydomain.co.uk/httpdocs/webassist/mysqli/rsobj.php on line 208

Fatal error: Uncaught Error: Call to a member function fetch_fields() on bool in /var/www/vhosts/mydomain.co.uk/httpdocs/webassist/mysqli/rsobj.php:211 Stack trace: #0 /var/www/vhosts/mydomain.co.uk/httpdocs/management/target-articles_update.php(24): WA_MySQLi_RS->execute() #1 {main} thrown in /var/www/vhosts/mydomain.co.uk/httpdocs/webassist/mysqli/rsobj.php on line 211

This was actually a page you helped with last month when it wasn't loading and you managed to fix it. I've obviously un-fixed it! Any chance you could take a look for me? FTP details in PM.

Sign in to reply to this post

Ray BorduinWebAssist

Line 23 you have:
$WADAtarget_articles->bindParam("-", "".($_GET['ID']) ."", "-1");

it should be:
$WADAtarget_articles->bindParam("i", "".($_GET['ID']) ."", "-1");

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

MagsW

Thanks Ray, that fixed it!

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