Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Call to undefined function: mysqli_connect(). Please install the MySQL Connector for

    zencart 1.53

    This error has suddenly started appearing rather than the website

    "Call to undefined function: mysqli_connect(). Please install the MySQL Connector for PHP"

    Luckily its just the test site and it had been working fine up till now, I haven't touched it in weeks and went to look today and had that error instead of the site

    The real site which is 1.39h is working fine

    I am guessing the hosting company has changed something, but what exactly should i be looking at?
    Webzings Design
    Semi retired from Web Design

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Call to undefined function: mysqli_connect(). Please install the MySQL Connector

    When i go through the phpinfo file function thingie there is absolutely no mention of mysqli at all
    Webzings Design
    Semi retired from Web Design

  3. #3
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Call to undefined function: mysqli_connect(). Please install the MySQL Connector

    Quote Originally Posted by nigelt74 View Post
    When i go through the phpinfo file function thingie there is absolutely no mention of mysqli at all
    1.5.3 uses mysqli instead of the previously used mysql functions in the lower zen-cart versions.

    Your host needs to compile and load the mysqli functions onto the server

    They are now included as standard in php 5.4
    You didn't downgrade the php version did you?
    Last edited by gilby; 14 Oct 2014 at 07:20 AM.

  4. #4
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Call to undefined function: mysqli_connect(). Please install the MySQL Connector

    The host is a cheap bucket host, so i couldn't even if I wanted to downgrade, the thing is 1.53 was working fine and then suddenly it wasn't, I realise zen 1.53 uses mysqli so it probably means that for some reason the host has removed support for it.
    anyway i have lodged a query with the host

    PHP Version is
    PHP Version 5.4.33
    Last edited by nigelt74; 14 Oct 2014 at 07:38 AM.
    Webzings Design
    Semi retired from Web Design

 

 

Similar Threads

  1. v138a error on very end of the checkout process - Call to undefined function zen_catalog_h
    By tomphillipspcs in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 16 Aug 2012, 02:30 PM
  2. Replies: 4
    Last Post: 9 Mar 2011, 02:07 PM
  3. Call to undefined function
    By Forum5 in forum General Questions
    Replies: 10
    Last Post: 14 Sep 2010, 02:43 PM
  4. Replies: 1
    Last Post: 8 May 2010, 04:43 PM
  5. Replies: 0
    Last Post: 24 Dec 2008, 01:13 AM

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