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 CiviMail (Moderator: Piotr Szotkowski) »
  • Bounce processing error
Pages: [1]

Author Topic: Bounce processing error  (Read 361 times)

Tass

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
    • Holos
  • CiviCRM version: 4.5.3.
  • CMS version: Joomla 2.5.27
  • MySQL version: 5.5.32
  • PHP version: 5.3.28-pl3-gentoo
Bounce processing error
November 19, 2014, 04:56:20 am
Hello, I'm getting following errors when trying to run scheduled job for bounce processing. Open_basedir is set to be whole J25holos folder (joomla root), so I don't understand what's wrong.
Cen you please help me?
Many thanks.

Code: [Select]
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/tmp/8134-1/) is not within the allowed path(s): (/mnt/data/accounts/v/vanatomas/data/www/J25holos:/tmp/uploads) in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 145

Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/tmp/8134-1/) is not within the allowed path(s): (/mnt/data/accounts/v/vanatomas/data/www/J25holos:/tmp/uploads) in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 147

Warning: fopen() [function.fopen]: open_basedir restriction in effect. File(/tmp/8134-1/filename) is not within the allowed path(s): (/mnt/data/accounts/v/vanatomas/data/www/J25holos:/tmp/uploads) in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 154

Warning: fopen(/tmp/8134-1/filename) [function.fopen]: failed to open stream: Operation not permitted in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 154

Warning: fwrite() expects parameter 1 to be resource, boolean given in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 240

Warning: fclose() expects parameter 1 to be resource, boolean given in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parser/parts/file_parser.php on line 253

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/tmp/8134-1/filename) is not within the allowed path(s): (/mnt/data/accounts/v/vanatomas/data/www/J25holos:/tmp/uploads) in /mnt/data/accounts/v/vanatomas/data/www/J25holos/administrator/components/com_civicrm/civicrm/packages/ezc/Mail/src/parts/fileparts/disk_file.php on line 80

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Bounce processing error
November 20, 2014, 05:14:35 am
The directory it's trying to access is not within your Joomla root:

Code: [Select]
File(/tmp/8134-1/) is not within the allowed path(s)
It's in /tmp. That's the problem.
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.

Tass

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
    • Holos
  • CiviCRM version: 4.5.3.
  • CMS version: Joomla 2.5.27
  • MySQL version: 5.5.32
  • PHP version: 5.3.28-pl3-gentoo
Re: Bounce processing error
November 22, 2014, 11:50:37 am
Thank you for response. Ok, so it needs to get to the /tmp folder outside of my joomla root. My VPS provider allows me the /tmp/uploads folder. I can't change that. So is there some way to change the application to use /tmp/uploads instead of /tmp?
« Last Edit: November 22, 2014, 12:00:40 pm by Tass »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Bounce processing error
November 22, 2014, 12:16:11 pm
Trying editing your configuration.php file and set var $tmp_path to what you want.
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.

Tass

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
    • Holos
  • CiviCRM version: 4.5.3.
  • CMS version: Joomla 2.5.27
  • MySQL version: 5.5.32
  • PHP version: 5.3.28-pl3-gentoo
Re: Bounce processing error
November 22, 2014, 12:37:57 pm
There is my joomlaroot/tmp folder. I tried to change it both to /joomlaroot/tmp/uploads and /tmp/uploads, but no result. It's always trying to get to /tmp/.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Bounce processing error

This forum was archived on 2017-11-26.