Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2006
    Posts
    477
    Plugin Contributions
    0

    Default gettign a Call to undefined function: mysql_connect() ERROR

    my web host upgraded something over the weekend and now we are getting this error

    --> Call to undefined function: mysql_connect(). Please install the MySQL Connector for PHP <--

    they looked into it and told us

    Looking at the error "Call to undefined function: mysql_connect(). Please install the MySQL Connector for PHP" the issue is due to outdated coding on your site. Recently the server was upgraded to EasyApache 4 which removed the deprecated PHP 5.4 version. mysql_connect() was replaced with mysqli_connect(). What you will want to do is update your coding to mysqli_connect(). If you need any assistance with this we would recommend that you reach out to the site developer.

    what do i need to do ?

    thanks
    We sell ATV, Dirtbike, Streetbike, Snowmobile, Watercraft & Custom stickers & Banners. Check us out www.AD-DiscountPerformance.com

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,404
    Plugin Contributions
    87

    Default Re: gettign a Call to undefined function: mysql_connect() ERROR

    Either find a more tolerant web-host that will allow your store to continue to run on PHP 5.4.x or upgrade your Zen Cart -- the mysqli_* function usage was introduced in Zen Cart 1.5.3 (or perhaps the never-released 1.5.2).

  3. #3
    Join Date
    Apr 2020
    Location
    Albuquerque, NM
    Posts
    7
    Plugin Contributions
    0

    Default Re: gettign a Call to undefined function: mysql_connect() ERROR

    I agree you should upgrade, most web hosting providers are starting to disable php5, php 7.4 is the current and all the ones below it have hit end of life. Most hosting company still have previous versions enabled and you can use them.

    If your hosting providers has MultiPHP Manager you maybe able to change your php version around.

 

 

Similar Threads

  1. Replies: 4
    Last Post: 3 Sep 2018, 05:42 PM
  2. Replies: 1
    Last Post: 8 May 2010, 04:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR