close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Site breaks with update to PHP 5.6

Thread began 1/31/2018 11:51 am by BillHobbs | Last modified 1/31/2018 4:31 pm by Ray Borduin | 1078 views | 3 replies |

BillHobbs

Site breaks with update to PHP 5.6

Here is the error message I get. Godaddy said it was in the way the site is connecting to the database. I've added the connection script.

Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/content/01/9510801/html/BlackFitAndSingle/Connections/connSiteDB.php on line 9

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/content/01/9510801/html/BlackFitAndSingle/Connections/connSiteDB.php on line 14

Attached Files
connSiteDB.php
Sign in to reply to this post

Ray BorduinWebAssist

That is just a warning. You can turn warnings off and it won't effect the functionality. It is just warning you that your code won't work on php7, but it won't actually cause issues in 5 or even 6.

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

BillHobbs

How do I turn the warning off?

Sign in to reply to this post

Ray BorduinWebAssist

error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE

Or you may add the following line to a PHP file itself, inside existing or new <?php ?> tags:

error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);


You can contact godaddy support if you need help finding your php.ini file to update it.

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