Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I recently implemented Panels 2 and the Advanced Profile module. Everything has worked well with it, but now I am receiving an error message related to the Date module. Whenever I load the page I get the following:
- warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user 'ODBC'@'localhost' (using password: NO) in /htdocs/web/sites/all/modules/date/date.inc on line 2001.
- warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in /htdocs/web/sites/all/modules/date/date.inc on line 2001.
- warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user 'ODBC'@'localhost' (using password: NO) in /htdocs/web/sites/all/modules/date/date.inc on line 2006.
- warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in /htdocs/web/sites/all/modules/date/date.inc on line 2006.
What would be causing this problem? Obviously it isn't liking the mysql_get_server_info function. I was able to comment out the offending lines in date.inc to get around this issue (since I'm using MySQL 5.0.45), but I'd rather not have to change the core module.
Comment | File | Size | Author |
---|---|---|---|
#1 | date_api_sql.inc_.mysqli.patch | 1.3 KB | sun |
Comments
Comment #1
sunConfirming, still an issue in 5.x-2.0-rc.
Attached patch should fix this issue (sorry in advance, I'm in hurry, so it's against 5.x-2.0-rc).
Comment #2
sunComment #3
asimmonds CreditAttribution: asimmonds commentedDup with http://drupal.org/node/234360?
I think date_server_zone_adj() has gone in 2.x-dev...
Comment #4
sunTrue.