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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Errors after Install
Pages: [1]

Author Topic: Errors after Install  (Read 1371 times)

scribe63

  • Guest
Errors after Install
November 04, 2010, 07:34:28 pm
These errors are on every page making the application unusable. I have to scroll all the way down on a page to see anything. Any help kindly appreciated.


    * warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/Permission.php on line 343.
    * warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/Invoke.php on line 184.
    * warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Contact/Page/AJAX.php on line 662.
    * warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/BAO/Dashboard.php on line 40.
    * warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/BAO/Dashboard.php on line 98.
    * warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/Invoke.php on line 197.
    * warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/OptionValue.php on line 37.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263.
    * warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/files/civicrm/templates_c/en_US/en_US/%%06/069/0693F89E%%drupal.tpl.php on line 3.
    * warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1367.
    * warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/internals/core.load_plugins.php on line 69.
    * warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/internals/core.load_plugins.php on line 69.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/internals/core.load_plugins.php on line 69.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/internals/core.load_plugins.php on line 69.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/internals/core.load_plugins.php on line 69.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263.
    * warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/internals/core.load_plugins.php on line 69.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263.
    * warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/internals/core.load_plugins.php on line 69.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263.




# warning: date(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/Error.php on line 388.
# warning: date(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/Error.php on line 390.
# warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Log.php on line 164.
# warning: strftime(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Log/file.php on line 294.
# warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/Controller.php on line 228.
# warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/Controller.php on line 382.
# warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Contact/Form/Domain.php on line 38.
# warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/HTML/QuickForm.php on line 385.
# warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/HTML/QuickForm/RuleRegistry.php on line 126.
# warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/Controller.php on line 327.


    * warning: require_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/Invoke.php on line 197.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include_once(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/internals/core.load_plugins.php on line 69.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1906.
    * warning: include(): Unable to allocate memory for pool. in /var/local/drupal-civicrm/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1263.




MichaƂ Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Errors after Install
November 05, 2010, 05:17:04 am
You probably need to check your php's available memory limit, check http://forum.civicrm.org/index.php/topic,1855.0.html for more details.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

scribe63

  • Guest
Re: Errors after Install
November 05, 2010, 03:49:53 pm
@Michal

Thanks for your reply.
 
I get those memory warnings, immediately after i login into civicrrm after the initial installation.  Prior to drupal/civicrm installations, i did set the memory  limit in /etc/php.ini to the below.

memory_limit = 128M

The memory warnings seem to go away after i reboot.

But i am still getting the following warnings, in reference to date/time/timezones at the top of every page i go to which repeats over and over again.
I have to scroll way down to see the items of the actual.

The correct  time for my timezoze is displayed on the computer.
The setting in drupal date and time seeting has the correct time, as shown in the attached image.

Any help kindly appreciated.


warning: date(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Core/BAO/Cache.php on line 70.

warning: date(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Contact/BAO/Relationship.php on line 740.

warning: date(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Contact/BAO/GroupContact.php on line 146.

warning: date(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Contact/BAO/SubscriptionHistory.php on line 58.

warning: date(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Contact/BAO/GroupContactCache.php on line 165.

warning: mktime(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Utils/Date.php on line 217.

warning: strftime(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Utils/Date.php on line 241

warning: mktime(): 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 'America/New_York' for 'EDT/-4.0/DST' instead in /var/local/drupal-civicrm/sites/all/modules/civicrm/CRM/Utils/Date.php on line 241.

scribe63

  • Guest
Re: Errors after Install
November 05, 2010, 06:18:58 pm
Ok, i think i may have got the "timezone" error warnings in my previous reply fixed.

In "/etc/php.ini', i added the following which was not there, for my location.

[Date]
; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
date.timezone = "America/New_York"

; http://www.php.net/manual/en/datetime.configuration.php#ini.date.default-latitude
date.default_latitude = 40.638611

; http://www.php.net/manual/en/datetime.configuration.php#ini.date.default-longitude
date.default_longitude = 73.762222

# /sbin/service httpd restart

Found via these post and pages.

http://forum.civicrm.org/index.php/topic,13277.msg56966.html#msg56966
http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone

I am still a bit concerned, that a reboot seems to get rid of the memory_limit error warning after an install. Even though the setting were in place.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Errors after Install

This forum was archived on 2017-11-26.