Download & Extend

The directory 'imports' does not exist.

Project:Node import
Version:6.x-1.0-rc4
Component:Miscellaneous
Category:support request
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I keep getting the error: The directory imports does not exist. The error first appears after installing the node_imports module. I'm using drupal 6.14 version 6.x.1.0-rc4 of node_import and the latest version of ubercart. I checked my directory and the folder sites/default/files/import is there and definitely writeable.

Should node_import create this directory automatically? I think I created the directory myself.

Thanks for your help,

Steve

AttachmentSize
node_import_error.JPG47.93 KB

Comments

#1

Normally node_import creates the directory when you first visit the settings page or the "new import" page.

Could you remove the directory and revisit the settings page? Is the sites/default/files directory writable for the webserver user?

You say sites/default/files/import , while node_import expects sites/default/files/imports (extra "s"). Typo?

Could you install node_import-6.x-1.x-dev ? (see http://drupal.org/node/328041) and see if the issue still pops up. Do not forget to run update.php when you install the -dev version.

#2

Try setting the permissions on the imports folder to 777, at least temporarily.

#3

Status:active» postponed (maintainer needs more info)

No answer ... setting to postponed (maintainer needs more info)

#4

Same issue. I hope the attached info is helpful, let me know if there is anything else I can provide.

Node import (node_import) 6.x-1.x-dev
I did run update.php

Errors in UI are:
"The directory imports does not exist.
The settings have not been saved because of the errors."
Import Directory sites/mysite.local/files/imports/ (red highlight)

debugging info below
-------------------
$drush st
Drupal version : 6.19
Drupal root : /home/me/public_html/drupal/cores/drupal-6.19
Site path : sites/mysite.local
File directory path : sites/mysite.local/files

~/public_html/drupal/cores/drupal-6.19/sites/mysite.local/files/imports$ ls -al
drwxrwxrwx 2 me www-data 4096 2010-11-04 15:40 .
drwxrwxrwx 8 me www-data 4096 2010-11-04 16:00 ..

$php -v
PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built: Jan 6 2010 22:41:56)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

#5

Resolved after correcting admin/settings/file-system > Temporary directory.

#6

Priority:critical» minor

#7

How can i use token [uid] in import directory? And how set the permission to the directory to user with [uid] only? thx

#8

and i changed the directory to "u[uid]/imports" (in edit-field), and now i have a red message about "directory does not exists" and the module does not works and finally i can't change the directory. i'm confused %

#9

Priority:minor» major

#10

Priority:major» minor

You can't use tokens in the directory name.
It can't vary on a per user basis
The directory must be present and permissions set correctly.

#11

ok, but the directory really exists with maximum permissions. i have no idea.
How correctly uninstall the module? when i remove and reinstall it: the bad path saved and then can not be changed.

dev version does not have these problems.

#12

Status:postponed (maintainer needs more info)» fixed

#13

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here