CiviCRM under Drupal 4.7.2

CiviCRM under Drupal 4.7.2

Posted by: silurius
Posted on: 2006-06-21 19:08:00

I have installed Drupal 4.7.2 and CiviCRM as a module, and when I navigate to CiviCRM in Drupal I get eleven open_basedir warnings:
___________________________________

(url is similar to
http://www...MYDRUPALPATH.../index.php?q=civicrm/contact/search/basic&reset=1
)

* warning: mkdir(): open_basedir restriction in effect.
File(/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates/%ß)
is not within the allowed path(s):
(/dh/web/phpmyadmin:/tmp:/usr/local/tmp:/dh/solidclient:/usr/local/lib/php:/home/MYUSER:/home/.saint/MYUSER)
in /home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/internals/core.create_dir_structure.php
on line 68.
* user warning: Smarty error: problem creating directory
'/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates/%ß'
in /home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/Smarty.class.php
on line 1095.
* warning: tempnam(): open_basedir restriction in effect.
File(/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates//%ß/DF1)
is not within the allowed path(s):
(/dh/web/phpmyadmin:/tmp:/usr/local/tmp:/dh/solidclient:/usr/local/lib/php:/home/MYUSER:/home/.saint/MYUSER)
in /home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/internals/core.write_file.php
on line 28.
* warning: fopen(): open_basedir restriction in effect.
File(/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates//%ß/DF1/wrt449890e189101)
is not within the allowed path(s):
(/dh/web/phpmyadmin:/tmp:/usr/local/tmp:/dh/solidclient:/usr/local/lib/php:/home/MYUSER:/home/.saint/MYUSER)
in /home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/internals/core.write_file.php
on line 32.
* warning: fopen(/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates//%ß/DF1/wrt449890e189101):
failed to open stream: Operation not permitted in
/home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/internals/core.write_file.php
on line 32.
* user warning: Smarty error: problem writing temporary file
'/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates//%ß/DF1/wrt449890e189101'
in /home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/Smarty.class.php
on line 1095.
* warning: fetch(): open_basedir restriction in effect.
File(/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates//%ß/DF1/DF14E7A2%%index.tpl.php)
is not within the allowed path(s):
(/dh/web/phpmyadmin:/tmp:/usr/local/tmp:/dh/solidclient:/usr/local/lib/php:/home/MYUSER:/home/.saint/MYUSER)
in /home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/Smarty.class.php
on line 1265.
* warning: fetch(/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates//%ß/DF1/DF14E7A2%%index.tpl.php):
failed to open stream: Operation not permitted in
/home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/Smarty.class.php
on line 1265.
* warning: fetch(): open_basedir restriction in effect.
File(/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates//%ß/DF1/DF14E7A2%%index.tpl.php)
is not within the allowed path(s):
(/dh/web/phpmyadmin:/tmp:/usr/local/tmp:/dh/solidclient:/usr/local/lib/php:/home/MYUSER:/home/.saint/MYUSER)
in /home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/Smarty.class.php
on line 1265.
* warning: fetch(/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates//%ß/DF1/DF14E7A2%%index.tpl.php):
failed to open stream: Operation not permitted in
/home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/Smarty.class.php
on line 1265.
* warning: fetch(): Failed opening
'/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/templates//%ß/DF1/DF14E7A2%%index.tpl.php'
for inclusion (include_path='.:/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/:/home/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm//packages:.:/usr/local/lib/php')
in /home/.saint/MYUSER/MYSITE.COM/MYDRUPALPATH/modules/civicrm/packages/Smarty/Smarty.class.php
on line 1265.
___________________________________

I'm browsing the PHP files referenced there, re-checking my
civicrm.settings.php, but so far no clues are jumping out at me.

I have a feeling the CiviCRM configuration files may be incorrect somehow, but my PHP skills are still pretty weak.

Any ideas?

-s

Edited by silurius on 06/21/06 08:31 PM (server time).

Tags: phpurlindexcontactdrupalhttp