close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Ecart 5 deprecated warnings

Thread began 1/15/2021 9:53 am by davehampton | Last modified 1/15/2021 12:49 pm by Ray Borduin | 308 views | 3 replies |

davehampton

Ecart 5 deprecated warnings

Is my Ecart 5.07 still viable or do I need to upgrade to the latest version. My customer's store is down and here are the warnings:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; eCart1_Definition has a deprecated constructor in /home/onf25u47vjro/public_html/prostuffcleaner.com/WA_eCart/eCart1_PHP.php on line 3

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; eCart1_ItemDefinition has a deprecated constructor in /home/onf25u47vjro/public_html/prostuffcleaner.com/WA_eCart/eCart1_PHP.php on line 275

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_eCart_Rule has a deprecated constructor in /home/onf25u47vjro/public_html/prostuffcleaner.com/WA_eCart/WA_eCart_Definition_PHP.php on line 3

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_eCartDefinition has a deprecated constructor in /home/onf25u47vjro/public_html/prostuffcleaner.com/WA_eCart/WA_eCart_Definition_PHP.php on line 18

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WA_eCartDisplayCSSLooper has a deprecated constructor in /home/onf25u47vjro/public_html/prostuffcleaner.com/WA_eCart/WA_eCart_Definition_PHP.php on line 921

Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /home/onf25u47vjro/public_html/prostuffcleaner.com/Connections/proconn.php:9 Stack trace: #0 /home/onf25u47vjro/public_html/prostuffcleaner.com/store.php(9): require_once() #1 {main} thrown in /home/onf25u47vjro/public_html/prostuffcleaner.com/Connections/proconn.php on line 9

Sign in to reply to this post

Ray BorduinWebAssist

You can see if your server can downgrade to php6 or below.

If you need to run php7, then you need to upgrade eCart to v6 for mySQLi support.

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

davehampton

Another deprecated warning

Hi Ray,
Thanks for the reply. I downgraded the PHP on the server and the store is now working. However, there is text at the top of the page over the page artwork that reads: Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/onf25u47vjro/public_html/prostuffcleaner.com/Connections/proconn.php on line 9

Here is line 9:
$proconn = mysql_pconnect($hostname_proconn, $username_proconn, $password_proconn) or trigger_error(mysql_error(),E_USER_ERROR);

Sign in to reply to this post

Ray BorduinWebAssist

You can just turn off deprecated messages in your php.ini file, or in the code before that error:

php:
<?php

ini_set
("display_errors",0);
?>
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...