close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Sites no longer work with php7

Thread began 12/26/2018 12:16 pm by Peterson Design Studio - jefferis | Last modified 12/31/2018 11:24 am by Ray Borduin | 684 views | 3 replies |

Peterson Design Studio - jefferis

what is broken?

Thanks Ray. I was able to php 5 installed for now, but I'm finding that the javascript pop up window is no longer transferring the data to the window. It is supposed to display a larger image than the thumbnail upon click. This is the code in the catalog page:
******
<p align="center"><a href="#" onclick="MM_openBrWindow('<?php echo "show_image.php?img={$row_viewall['pictures']}"; $img = $row_viewall['pictures'];?>','','toolbar=yes,scrollbars=yes,resizable=yes,width=550,height=500');return false">
<img src='http://yellow-diamonds.com/<?php echo $row_viewall['thumbnail']; ?>' alt="<?php echo $row_viewall['item_name']; ?>" border="0" /></a><br />

<span class="under"><?php echo $row_viewall['item']; ?></span>

***** Where pictures is the field for the larger image the thumbnail is what it says. I'll paste the popup window code below. Would appreciate if you can help me figure out what is no longer allowed. It used to work just fine.

Sign in to reply to this post

Ray BorduinWebAssist

Old MySQL code will not work with php7. Your best solution will be to downgrade php versions to v6 or below.

You could also update your pages to mySQLi with Data Bridge v2 or re-create them with MySQLi Server Behaviors. That would be a rather large project if you have lots of sites with lots of pages that need to be addressed, so I'd probably look into finding a server that supports mysql in the meantime even if you go down that route.

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

Peterson Design Studio - jefferis

can you auto update?

Does Data Bridge v2 have a simple means of updating existing webassist sites in DW to new mysqli compatibility.

Sign in to reply to this post

Ray BorduinWebAssist

It includes migration functionality that can be applied page by page. It won't migrate an entire site at once.

You just have to create a mySQLi connection and then open up any server behaviors that use a standard mySQL connection and choose the new MySQLi connection. Then when you click "ok" all of the code associated with that server behavior will be migrated.

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