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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • import issue
Pages: [1]

Author Topic: import issue  (Read 1783 times)

vijai

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
import issue
December 16, 2007, 06:50:48 am
I keep getting this error:

 We could not move the uploaded file institution.csv to the upload directory /. Please verify that the CIVICRM_IMAGE_UPLOADDIR setting points to a valid path which is writable by your web server.

I know that all the upload directories exist, but it is apparently trying to write to '/'

Any pointers?

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: import issue
December 16, 2007, 07:10:34 am
Hey,

Please double verify that "Temporary Files" in Administer CiviCRM › Global Settings › Directories is set to proper value - for example, you might have space between first character ("/") and the rest of the path. If that's not the issue, please let us know which version of CiviCRM are you using.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

vijai

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
Re: import issue
December 16, 2007, 07:38:05 am
no space

path is /var/www/html/tempweb/files/civicrm/upload/ which exists and is writable

version CiviCRM 1.9.12432.

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: import issue
December 16, 2007, 08:13:49 am
Hey,

Could you enable debugging in your install (Administer CiviCRM › Global Settings › Debugging, "Enable Debugging" option) and check what's the value for uploadDir in smarty debug window (in {$config} section)? (instructions on how to do it are on the Debugging screen, you can see them after hovering mouse over yellow question mark).

I assume you didn't do any custom code modifications on your CiviCRM install?

Thanks,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

vijai

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
Re: import issue
December 16, 2007, 08:28:38 am
Hi,

smartyDir => /var/www/html/tempweb/modules/civicrm//pa...
pluginsDir => /var/www/html/tempweb/modules/civicrm//CR...
templateDir => /var/www/html/tempweb/modules/civicrm//te...
templateCompileDir => /var/www/html/tempweb/files/civicrm/templ...
mainMenu => empty
uploadDir => /
imageUploadDir => empty
customFileUploadDir => /

Why is uploaddir / ?

vijai

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
Re: import issue
December 16, 2007, 08:37:10 am
umm

apache didnt like that

 Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

vijai

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
Re: import issue
December 16, 2007, 09:37:36 am
Okay, I am not sure why it's seeing those values for uploaddir. I have also tried resetting session, cleaning template folder, resetting menus..

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: import issue
December 16, 2007, 12:10:56 pm
Hey,

Pretty interesting problem. Those three settings seem invalid:

Quote from: vijaiprao on December 16, 2007, 08:28:38 am
uploadDir => /
imageUploadDir => empty
customFileUploadDir => /

I don't know if you did it already, but quick potential remedy that I can think of is going to CiviCRM › Global Settings › Directories, verifying that paths are correct and than hitting "Save". That doesn't explain where this problem came from, but might help to fix it.

Again, did you make any custom modifications to the code on your install or is it a clean instance? Are you running Joomla or Drupal? If you are running Drupal, which installation method did you use?

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

vijai

  • I post occasionally
  • **
  • Posts: 46
  • Karma: 0
Re: import issue
December 16, 2007, 07:21:17 pm
saving directories again seemed to fix it. thanks

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • import issue

This forum was archived on 2017-11-26.