Open_basedir error for uploads and importsWhen attempting to upload files or import contact records into CiviCRM, the following errors are displayed on the page: warning: filesize(): open_basedir restriction in effect. warning: fopen(): open_basedir restriction in effect. For traditional apache, grep your httpd.conf (apache.conf) for "basedir" (no quotes) and comment out any open_basedir lines that reference your CRM implementation. For any SME Server users reading this in the mysterious future, here are the steps to fix this problem using their crazy templating system: Edit /etc/e-smith/templates/etc/httpd/conf/httpd.conf/95AddType00PHP2ibays Comment out line 19, which reads: $OUT .= " php_admin_value open_basedir $basedir\n"; |
Labels