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 »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Drupal 7, CiviCRM 4.0.4, Views, memory error
Pages: [1] 2 3

Author Topic: Drupal 7, CiviCRM 4.0.4, Views, memory error  (Read 7190 times)

staze

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
    • staze.org
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7
  • MySQL version: 5.0.67
  • PHP version: 5.2.9
Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 12:21:59 pm
All,

Seem to have found an issue, and for the life of me figure out if it's civicrm or views, or what that's causing the issue.

Basically, if civicrm is enabled, and I enable views, I get memory exceeded errors from php.


The following extensions will be enabled: views
Do you really want to continue? (y/n): y
PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 7720 bytes) in /Library/WebServer2/jrupal7/sites/all/modules/views/modules/aggregator.views.inc on line 819
Drush command terminated abnormally due to an unrecoverable error.                                               [error]
Error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 7720 bytes) in
/Library/WebServer2/jrupal7/sites/all/modules/views/modules/aggregator.views.inc, line 819

If I disable civicrm, I can enable views, but then when I try to enable civicrm, I get the same errors. The actual file that causes the error varies every time, so it's not that. Seemingly something broke CiviCRM and views integration with a views update a week or two ago, and I can't figure out what.

Has anyone else seen this?

Thanks!


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 02:28:57 pm
Yes, we hit this - do you have any other integration modules on? (we turned them all off for now)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

staze

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
    • staze.org
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7
  • MySQL version: 5.0.67
  • PHP version: 5.2.9
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 03:50:56 pm
Views integration modules?

Here's my list of enabled modules:
 @font-your-face               @font-your-face (fontyourface)                 Module  Enabled        7.x-1.3       
 @font-your-face               Google Fonts API (google_fonts_api)            Module  Enabled        7.x-1.3       
 @font-your-face               Typekit API (typekit_api)                      Module  Enabled        7.x-1.3       
 CCK                           CCK (cck)                                      Module  Enabled        7.x-2.x-dev   
 Chaos tool suite              Chaos tools (ctools)                           Module  Enabled        7.x-1.x-dev   
 Core                          Aggregator (aggregator)                        Module  Enabled        7.2           
 Core                          Block (block)                                  Module  Enabled        7.2           
 Core                          Blog (blog)                                    Module  Enabled        7.2           
 Core                          Color (color)                                  Module  Enabled        7.2           
 Core                          Comment (comment)                              Module  Enabled        7.2           
 Core                          Contextual links (contextual)                  Module  Enabled        7.2           
 Core                          Dashboard (dashboard)                          Module  Enabled        7.2           
 Core                          Database logging (dblog)                       Module  Enabled        7.2           
 Core                          Field (field)                                  Module  Enabled        7.2           
 Core                          Field SQL storage (field_sql_storage)          Module  Enabled        7.2           
 Core                          Field UI (field_ui)                            Module  Enabled        7.2           
 Core                          File (file)                                    Module  Enabled        7.2           
 Core                          Filter (filter)                                Module  Enabled        7.2           
 Core                          Help (help)                                    Module  Enabled        7.2           
 Core                          Image (image)                                  Module  Enabled        7.2           
 Core                          List (list)                                    Module  Enabled        7.2           
 Core                          Menu (menu)                                    Module  Enabled        7.2           
 Core                          Node (node)                                    Module  Enabled        7.2           
 Core                          Number (number)                                Module  Enabled        7.2           
 Core                          Options (options)                              Module  Enabled        7.2           
 Core                          Overlay (overlay)                              Module  Enabled        7.2           
 Core                          Path (path)                                    Module  Enabled        7.2           
 Core                          Poll (poll)                                    Module  Enabled        7.2           
 Core                          RDF (rdf)                                      Module  Enabled        7.2           
 Core                          Search (search)                                Module  Enabled        7.2           
 Core                          Shortcut (shortcut)                            Module  Enabled        7.2           
 Core                          Statistics (statistics)                        Module  Enabled        7.2           
 Core                          System (system)                                Module  Enabled        7.2           
 Core                          Taxonomy (taxonomy)                            Module  Enabled        7.2           
 Core                          Testing (simpletest)                           Module  Enabled        7.2           
 Core                          Text (text)                                    Module  Enabled        7.2           
 Core                          Toolbar (toolbar)                              Module  Enabled        7.2           
 Core                          Tracker (tracker)                              Module  Enabled        7.2           
 Core                          Trigger (trigger)                              Module  Enabled        7.2           
 Core                          Update manager (update)                        Module  Enabled        7.2           
 Core                          User (user)                                    Module  Enabled        7.2           
 Date/Time                     Date (date)                                    Module  Enabled        7.x-2.0-alpha3
 Date/Time                     Date API (date_api)                            Module  Enabled        7.x-2.0-alpha3
 Date/Time                     Date Popup (date_popup)                        Module  Enabled        7.x-2.0-alpha3
 Date/Time                     Date Tools (date_tools)                        Module  Enabled        7.x-2.0-alpha3
 Date/Time                     Date Views (date_views)                        Module  Enabled        7.x-2.0-alpha3
 Fields                        Link (link)                                    Module  Enabled        7.x-1.0-alpha3
 Fields                        Node Reference (node_reference)                Module  Enabled        7.x-2.0-beta3 
 Fields                        References (references)                        Module  Enabled        7.x-2.0-beta3 
 Fields                        User Reference (user_reference)                Module  Enabled        7.x-2.0-beta3 
 Flags                         Flag (flag)                                    Module  Enabled        7.x-2.0-beta5 
 Flags                         Flag actions (flag_actions)                    Module  Enabled        7.x-2.0-beta5 
 Media                         IMCE (imce)                                    Module  Enabled        7.x-1.4       
 MediaFront                    MediaFront (mediafront)                        Module  Enabled        7.x-1.0-rc9   
 MediaFront : Players          Open Standards Media Player (osmplayer)        Module  Enabled        7.x-1.0-rc9   
 Menus                         Mega Menu (megamenu)                           Module  Enabled        7.x-1.x-dev   
 Other                         AddThis (addthis)                              Module  Enabled        7.x-2.1-beta1 
 Other                         Advanced help (advanced_help)                  Module  Enabled        7.x-1.0-beta1 
 Other                         Entity API (entity)                            Module  Enabled        7.x-1.0-beta9 
 Other                         Entity tokens (entity_token)                   Module  Enabled        7.x-1.0-beta9 
 Other                         Libraries (libraries)                          Module  Enabled        7.x-1.0       
 Other                         Mollom (mollom)                                Module  Enabled        7.x-1.0       
 Other                         Multiple forms (multiform)                     Module  Enabled        7.x-1.0-beta2 
 Other                         Pathauto (pathauto)                            Module  Enabled        7.x-1.0-rc2   
 Other                         Profile2 (profile2)                            Module  Enabled        7.x-1.0-beta4 
 Other                         Profile2 pages (profile2_page)                 Module  Enabled        7.x-1.0-beta4 
 Other                         Real name (realname)                           Module  Enabled        7.x-1.0-rc1   
 Other                         Scheduler (scheduler)                          Module  Enabled        7.x-1.0       
 Other                         Session API (session_api)                      Module  Enabled        7.x-1.0-beta2 
 Other                         Token (token)                                  Module  Enabled        7.x-1.0-beta2 
 Panels                        Panels (panels)                                Module  Enabled        7.x-3.0-alpha3
 Performance and scalability   Boost (boost)                                  Module  Enabled        7.x-1.x-dev   
 Preset Management             Preset (preset)                                Module  Enabled        7.x-1.x-dev   
 Rules                         Rules (rules)                                  Module  Enabled        7.x-2.0-beta2 
 Rules                         Rules Scheduler (rules_scheduler)              Module  Enabled        7.x-2.0-beta2 
 Rules                         Rules UI (rules_admin)                         Module  Enabled        7.x-2.0-beta2 
 Search Toolkit                Apache Solr Access (apachesolr_access)         Module  Enabled        7.x-1.0-beta8 
 Search Toolkit                Apache Solr framework (apachesolr)             Module  Enabled        7.x-1.0-beta8 
 Search Toolkit                Apache Solr search (apachesolr_search)         Module  Enabled        7.x-1.0-beta8 
 Search Toolkit                Apache Solr Taxonomy (apachesolr_taxonomy)     Module  Enabled        7.x-1.0-beta8 
 ThemeKey                      ThemeKey (themekey)                            Module  Enabled        7.x-1.1       
 ThemeKey                      ThemeKey UI (themekey_ui)                      Module  Enabled        7.x-1.1       
 User interface                IMCE Wysiwyg API bridge (imce_wysiwyg)         Module  Enabled        7.x-1.x-dev   
 User interface                Wysiwyg (wysiwyg)                              Module  Enabled        7.x-2.1       
 Views                         Views (views)                                  Module  Enabled        7.x-3.x-dev   
 Views                         Views Slideshow (views_slideshow)              Module  Enabled        7.x-3.0-alpha1
 Views                         Views UI (views_ui)                            Module  Enabled        7.x-3.x-dev   
 Webform                       Webform (webform)                              Module  Enabled        7.x-3.11       
 XML sitemap                   XML sitemap (xmlsitemap)                       Module  Enabled        7.x-2.0-beta3 
 XML sitemap                   XML sitemap custom (xmlsitemap_custom)         Module  Enabled        7.x-2.0-beta3 
 XML sitemap                   XML sitemap engines (xmlsitemap_engines)       Module  Enabled        7.x-2.0-beta3 
 XML sitemap                   XML sitemap menu (xmlsitemap_menu)             Module  Enabled        7.x-2.0-beta3 
 XML sitemap                   XML sitemap node (xmlsitemap_node)             Module  Enabled        7.x-2.0-beta3 
 XML sitemap                   XML sitemap taxonomy (xmlsitemap_taxonomy)     Module  Enabled        7.x-2.0-beta3 
 XML sitemap                   XML sitemap user (xmlsitemap_user)             Module  Enabled        7.x-2.0-beta3 
 Core                          Bartik (bartik)                                Theme   Enabled        7.2           
 Core                          Seven (seven)                                  Theme   Enabled        7.2       

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 03:57:20 pm
OK - we were trying to figure out if having rules enabled was part of the problem. There are some merge problems in the 4.0.4 version of CiviCRM rules but I didn't come up with a conclusive answer as we turned off views & rules & I haven't gone back to the site yet.

(I think it's fixed in the latest version in svn http://svn.civicrm.org/civicrm/branches/v4.0/drupal/modules/civicrm_rules)

Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

staze

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
    • staze.org
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7
  • MySQL version: 5.0.67
  • PHP version: 5.2.9
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 03:58:40 pm
ah, okay. so I should try svn. will give that a shot and let you know.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 03:59:17 pm
You can also play with turning rules on & off - although you don't actually seem to have civicrm_rules enabled
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

staze

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
    • staze.org
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7
  • MySQL version: 5.0.67
  • PHP version: 5.2.9
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 04:00:23 pm
true... though, I can't even get civicrm enabled at all at this point... so I'll try with SVN and get back to you momentarily.

staze

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
    • staze.org
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7
  • MySQL version: 5.0.67
  • PHP version: 5.2.9
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 04:04:22 pm
nada. still get the error. =/

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 04:07:35 pm
OK - so if you can't get Civi enabled try moving the folder out of the modules folder - then you should be able to get to the modules page to try turning other things off. Of course if it is in any way related to the civicrm_rules module you could just remove that
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

staze

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
    • staze.org
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7
  • MySQL version: 5.0.67
  • PHP version: 5.2.9
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 04:31:32 pm
nope. just tried removing the whole civicrm_rules module, and it still fails to enable civicrm...

I'd have to guess killing the views civicrm module would fix it, but not sure if civicrm will work without it.

the only way I've been able to get civicrm enabled at all is to disable the drupal views module, which obviously breaks a lot of other stuff. =/

It's no big rush since this is a dev server, but I would like to track this down. Let me know if there's anything I can try.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 04:46:04 pm
removing the civicrm views module should only break civicrm views integration - so worth trying
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

staze

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
    • staze.org
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7
  • MySQL version: 5.0.67
  • PHP version: 5.2.9
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 04:54:31 pm
that appears to have "worked" in that civicrm enables, and I can actually use the site.

So, it appears something with the civicrm views module isn't getting along with at least drupal views 7.0-3.0-rc1 (though I'm currently using 7.x-3.x-dev).

The real issue is, I'm not sure exactly when things broke, so I can't look at the changelog for views to see when it broke. =/


Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 05:05:03 pm
We have a site on 4.0.3 + commit 34901 & I think that's working (Pete says it is)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

staze

  • I’m new here
  • *
  • Posts: 24
  • Karma: 0
    • staze.org
  • CiviCRM version: 4.0.4
  • CMS version: Drupal 7
  • MySQL version: 5.0.67
  • PHP version: 5.2.9
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 05:43:05 pm
I don't think the issue is civicrm though. I think it's views. This started when I was running civicrm 4.0.  I updated to 4.0.4 to see if it worked.

I'll see if I can set up a new install of drupal 7, views, and civicrm and see what I get. Or try reverting back to a views from a few weeks ago.

Thanks!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Drupal 7, CiviCRM 4.0.4, Views, memory error
June 28, 2011, 05:45:31 pm
I don't know if it points to anything but the only other time I saw the same symptoms were when the payment processor code changed in core -  any processor classes that didn't implement a particular function then caused the same symptoms (we saw segmenation faults when the memory was high enought)
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Pages: [1] 2 3
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Drupal 7, CiviCRM 4.0.4, Views, memory error

This forum was archived on 2017-11-26.