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 CiviContribute (Moderator: Donald Lobo) »
  • PayPal package on a shared server writes to /tmp
Pages: [1]

Author Topic: PayPal package on a shared server writes to /tmp  (Read 1572 times)

michaels23

  • I post occasionally
  • **
  • Posts: 77
  • Karma: 1
PayPal package on a shared server writes to /tmp
August 15, 2007, 08:15:18 am
Hi all,

I could use some advice using Paypal for CiviContribute on a shared server. Judging from this message, it wants to create log files in /tmp:

open_basedir restriction in effect. File(/tmp/20070815.PayPal.log) is not within the allowed path(s): (/home/mbadiversity/domains/gradprep.org) in /home/mbadiversity/domains/gradprep.org/public_html/modules/civicrm/packages/PayPal/CallerServices.php on line 250

I need to make this work on a shared server, which won't allow me to write to /tmp. Is there a way to coax the Paypal package to only use directories I have control over? I think I've found where to hack the code, but I am loathe to do so.

TIA for any suggestions.

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: PayPal package on a shared server writes to /tmp
August 15, 2007, 04:53:02 pm

You might have better luck asking the below question on the paypal developer forums. We use that package as-is from paypal and followed their documentation etc. I suspect the below is related to open_basedir settings?

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • PayPal package on a shared server writes to /tmp

This forum was archived on 2017-11-26.