CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Server URL changed - many warnings - can't turn debugging off
Pages: [1]

Author Topic: Server URL changed - many warnings - can't turn debugging off  (Read 633 times)

Thrutch

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Druple 7.24
  • MySQL version: Ver 14.14 Distrib 5.1.66
  • PHP version: 5.4
Server URL changed - many warnings - can't turn debugging off
January 30, 2014, 07:28:39 pm
Following a change in the server URL I am experiencing multiple warnings:
Strict warning: Non-static method DB_DataObject::debugLevel() should not be called statically in DB_DataObject::debugLevel() (line 106 of /var/www/drupal/sites/all/modules/civicrm/CRM/Core/DAO.php).
Strict warning: Non-static method DB_DataObject::_loadConfig() should not be called statically in DB_DataObject::_loadConfig() (line 4144 of /var/www/drupal/sites/all/modules/civicrm/packages/DB/DataObject.php).
Warning: array_key_exists() expects parameter 2 to be array, null given in CRM_Core_BAO_ConfigSetting::formatParams() (line 190 of /var/www/drupal/sites/all/modules/civicrm/CRM/Core/BAO/ConfigSetting.php).

I have the updated URL in the settings file and the site appears to work with the exception of the Admin section. I can't turn debugging off for example. The above errors are from the watchdog file which I can not turn off.  The directory and Resource URL's appear correct.

Can anyone suggest how to correct these errors?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Server URL changed - many warnings - can't turn debugging off
January 31, 2014, 08:08:20 am

u will need to turn off strict warnings. i think u can do this from drupal admin

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Thrutch

  • I’m new here
  • *
  • Posts: 2
  • Karma: 0
  • CiviCRM version: 4.4.3
  • CMS version: Druple 7.24
  • MySQL version: Ver 14.14 Distrib 5.1.66
  • PHP version: 5.4
Re: Server URL changed - many warnings - can't turn debugging off
February 01, 2014, 01:38:14 am
Thank you Donald. I was able to turn off debugging in the Drupal admin panel, then and only then turn off the debugging options in the civcrm admin panel. This of cause does not actually stop the errors from taking up time during a page load. The strict warnings seem to point to an incompatibility between the code and the php version. The array_key_exists() warnings (about 20 generated on each page load) indicate that I have a mixture of old and new code ?? Hard to believe as this is a relatively new install from scratch.

Any help in actually stopping the warnings would be greatly appreciated.

Thrutch

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Server URL changed - many warnings - can't turn debugging off

This forum was archived on 2017-11-26.