close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Datassist error: Deprecated: mysql_pconnect(): The nysql extensiuon is deprecated and will be removed in the future: use mysqli or PDO instead . . .

Thread began 6/15/2015 9:33 am by Charles | Last modified 6/16/2015 5:20 pm by Ray Borduin | 2193 views | 4 replies |

Charles

Datassist error: Deprecated: mysql_pconnect(): The nysql extensiuon is deprecated and will be removed in the future: use mysqli or PDO instead . . .

On datassist and security assist generated pages. In DW 'Live' view, I get the page displayed well but with this error on top: 'Deprecated: mysql_pconnect(): The nysql extensiuon is deprecated and will be removed in the future: use mysqli or PDO instead in myserver\www\Connections\GSCsql.php. If I try to display the same page in a browser(chrome), I just see raw code.

Sign in to reply to this post

Ray BorduinWebAssist

You can turn off warnings in your php.ini file and these messages will go away. They won't keep your page from functioning properly and just need to be turned off.

You can do it on the page itself by adding this to the top of each page:

php:
<?php

error_reporting
(E_ERROR E_PARSE);
?>
Sign in to reply to this post
Did this help? Tips are appreciated...

Charles

DataAssist generated pages display as raw code in browsers

Errors no longer display in DW 'Live' view and page looks correct and displays data from my MYSQL DB - good. Thanks. But same pages still display as raw code in both Chrome and Firefox.

Sign in to reply to this post

Ray BorduinWebAssist

You are browsing the pages with a file:// url... you have to browse them with http:// to have the php code rendered. It would probably begin with http://localhost/

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

Charles

Thanks. That worked!

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