Jump to content

Error After Upgrade Of PHP


Recommended Posts

I upgraded my Ioncube and PHP and now I am getting this error

 

Warning: PDO::__construct(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/thewebse/public_html/billing/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php on line 47

 

Warning: PDO::__construct(): The server requested authentication method unknown to the client [mysql_old_password] in /home/thewebse/public_html/billing/vendor/illuminate/database/Illuminate/Database/Connectors/Connector.php on line 47

Critical Error

SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client

 

I am on a Linux server, any ideas how I can fix this issue?

Link to comment
Share on other sites

  • 2 weeks later...
  • WHMCS Support Manager

Hi,

To address your reported errors:

 

1. Please adjust your PHP configuration to specify a valid date.timezone value: http://www.inmotionhosting.com/support/website/php/setting-the-timezone-for-php-in-the-phpini-file

 

2. Resetting your MySQL user password should resolve this. If you change the password to something different, be sure to update the configuration.php file to match.

A more technical explanation and solution is available here: http://code.openark.org/blog/mysql/upgrading-passwords-from-old_passwords-to-new-passwords

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated