Jump to content

website down, cant enter admin! please help!


mayhem69
 Share

Recommended Posts

Hi professional cubecarters, got a call from a customer trying to place an order saying site is down.  Im getting this error

 
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/unionshi/public_html/store/classes/db/mysql.class.php on line 30

Warning: mysql_connect(): The server requested authentication method unknown to the client [mysql_old_password] in /home/unionshi/public_html/store/classes/db/mysql.class.php on line 30

Warning: mysql_connect(): The server requested authentication method unknown to the client in /home/unionshi/public_html/store/classes/db/mysql.class.php on line 30

Fatal error: The server requested authentication method unknown to the client in /home/unionshi/public_html/store/classes/db/mysql.class.php on line 31

Link to comment
Share on other sites

I think your hosting provider has upgraded the environment of your site.

They may have installed a higher version of PHP (which now complains about deprecated features - and which there are ways to switch off those warnings)

They may have installed a higher version of MySQL server and have yet to finish configuring it.

CubeCart 5 and 6 will use mysqli, instead of mysql if PHP is configured to use it (loads an extension in the PHP.INI file).

Because you see the Deprecated message, I conclude you may be using an older version of CubeCart. Do a search on these forums for deprecated.

Link to comment
Share on other sites

Assuming your using CC5 or CC6,

Can almost guarentee this is because your hosting upgraded PHP version doesn't appear to have MySQLi enabled.

I am guessing you've moved to PHP7, since in 7 the MySQL functions were removed.

Log into your cPanel for your hosting provided and if possible set your PHP level to be 5.6, this will fix the issue for you for now. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...