Skip to main content
Participating Frequently
April 16, 2020
Question

Dreamweaver 2020 and databases issue

  • April 16, 2020
  • 1 reply
  • 1025 views

Hi all,

I've used DW many years ago and had the ability to create a database connection and create recordsets and login pages and lists of things etc.

I was suprised to find that I cannot do this in the newest version.

I have installed a version of DW Next that claims to have the ability but I'm getting errors everywhere.

I have been able to connect to my database, but I cannot create a login page.

I'm getting this error

Fatal error: Uncaught Error: Call to a member function real_escape_string() on null in

 

for this line: $theValue = $db->real_escape_string($theValue);

<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}

$theValue = $db->real_escape_string($theValue);

 

Have I installed something wrong?

This topic has been closed for replies.

1 reply

Nancy OShea
Community Expert
Community Expert
April 16, 2020

What is Dreamweaver Next?

 

Nancy O'Shea— Product User & Community Expert
Participating Frequently
April 16, 2020

Hi Nancy,

It's a Beta version of the current 2020 build but with the database functions added back in.

Take a look at this link:

https://www.adobeprerelease.com/beta/9EB451B5-D2E8-46E5-AFA2-78C85442FFA2#

 

Nancy OShea
Community Expert
Community Expert
April 16, 2020

Oh, I see.  You should never use PRE-RELEASE versions for production work.  They are rarely complete products and only for testing and evaluation purposes.  Furthermore, we cannot discuss pre-release versions in the the public forum.  Sorry.

 

 

 

 

Nancy O'Shea— Product User & Community Expert