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 »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Strange memory overflow on first run
Pages: [1]

Author Topic: Strange memory overflow on first run  (Read 696 times)

i2c2k

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.8.1
  • MySQL version: 5.6.12
  • PHP version: 5.4.12
Strange memory overflow on first run
March 14, 2014, 08:20:08 am
Hello dear community,

I just installed CiviCRM with WordPress in a shared webspace environment - I hope you can help me with my issue.

Although I followed exactly the same steps as with my local Apache/PHP server it doesn't work the same way. When I click the CiviCRM-Button in the WordPress backend it takes some time till it shows me the following error message:

Quote
Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/.sites/307/.../web/wp-content/plugins/civicrm/civicrm/CRM/Utils/HttpClient.php on line 192

Then comes a cascade of error message boxes (see attachment!) which shows me that there might be an endless recursion somewhere. In the end PHP stopps the execution because of a memory overflow:

Quote
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 491520 bytes) in /home/.sites/307/site9505257/web/wp-content/plugins/civicrm/civicrm/packages/Log.php on line 554

To investigate further I installed a plugin to get me all the debug backtrace information. It shows that the error message boxes themselves seem to create a problem on its own (memory overflow) which is solved when using the dedicated debug backtrace plugin, so this is not the main problem.

These are two important error messages:

Quote
file_get_contents(http://latest.civicrm.org/stable.php): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden

Quote
opendir(/home/.sites/307/wp-includes): failed to open dir: Operation not permitted
/home/.sites/307/site9505257/web/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php:447

Also there is the "CURLOPT_FOLLOWLOCATION" warning again.

Here is the full backtrace information: http://pastebin.com/VtxqvgUh just in case.
The strange thing is, there are just warnings, no other errors (event with E_ALL) and execution just stops. What can I do in that case?

Thank you very much in advance!

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Strange memory overflow on first run
March 18, 2014, 09:17:48 am
Can you disable open_basedir ?
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

i2c2k

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.8.1
  • MySQL version: 5.6.12
  • PHP version: 5.4.12
Re: Strange memory overflow on first run
March 20, 2014, 10:27:36 am
Dear Hershel, no, unfortunately not. It's a shared environment, so I can't change these variables...


Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Strange memory overflow on first run
March 20, 2014, 11:52:11 am
Then ask your host for assistance and if they can't help, it seems you will need to find another host.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

i2c2k

  • I’m new here
  • *
  • Posts: 10
  • Karma: 0
  • CiviCRM version: 4.4.6
  • CMS version: WordPress 3.8.1
  • MySQL version: 5.6.12
  • PHP version: 5.4.12
Re: Strange memory overflow on first run
March 21, 2014, 01:49:30 am
Doesn't CiviCRM work with open_basedir on? Definitively?  ???

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Strange memory overflow on first run

This forum was archived on 2017-11-26.