• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Database connection with dreamweaver 8

New Here ,
Mar 07, 2024 Mar 07, 2024

Copy link to clipboard

Copied

Hello I want to create project of flower shop using Dreamweaver and php xamp..but when I build site and try to add database then it give error php server doesn't have MySQL module loaded or you canot use mysql_p connect function

 

Views

153

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 07, 2024 Mar 07, 2024

Copy link to clipboard

Copied

The connection scripts in DW 8 are extremely out of date and can't be used with a modern PHP installation.

As far as I know, there is nothing you can do with DW8 to bring it up to speed, aside from hand-writing the scripts to modern standards. Even the current version of DW can't do this for you without a paid extension since Adobe gave up on database functionality in the program.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 07, 2024 Mar 07, 2024

Copy link to clipboard

Copied

Dreamweaver 8 does not support the latest versions of PHP. Even if you get the site to work locally, it will not work on a remote server that is worth its salt.

 

Have a look at using VSCode instead.

 

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 07, 2024 Mar 07, 2024

Copy link to clipboard

Copied

The current version of Xampp you are using, presumably you downloaded it recently is using php v7 or v8. The database connection and query code created in your Dreamweaver application by the default server behaviours is not compatible as the code uses mysql to connect/query which is why youre getting error feedback. Dreamweaver alone no longer has a way to use more up-to-date connection/querying such as mysqli or pdo. 

 

You either need to purchase an extention for Dreamweaver from a 3rd party vendor which will give you some basic functionality to connect/query your database or write the code yourself. There are plenty of examples on YouTube which will walk you through the process. It's fairly simple enough if you have a few spare hours to allocate., you get to learn something in the process as we'll, rather than just using a pick and select extention, plus you save some money too, all is positive.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 07, 2024 Mar 07, 2024

Copy link to clipboard

Copied

LATEST

Dreamweaver 8 from 20+ years ago is very obsolete.  I'm not sure you can activate it anymore. The CS2 activation servers were discontinued several years ago.  That said, obsolete software won't help you build a modern shopping cart site. 

 

1. Start by contacting your bank. Ask them which payment processing gateway is compatible with your merchant account so you can get paid. 

2. Find a PCI compliant shopping cart that supports your payment gateway.  The shopping cart is where customers can safely place orders and securely pay be credit card.

 

Shopify is one of the leading e-commerce solutions.  You can try it free to see if it fits your needs. 

https://www.shopify.com/pricing

 

Hope that helps.  Good luck.

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines