Shopping cart portion won't function and i can't log into admin page

  • updated
  • Answered

When clicking on link to cart, this is on top of page

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead

Hello, Thank you for your question about this MySQL error. This is a warning to let you know that you the mysql_connect(): function will not be supported in later versions of PHP. You can turn off this warning by disabling error logging for your site. The warning suggests you change instances of mysql_connect(): to the newer mysqli function. As an alternative to changing the code, you can use PHP Configuration to use older versions of PHP. Best, Christopher M.