Cannot Import - Access Denied

pauldawg - June 18, 2009 - 18:34
Project:Taxonomy CSV import/export
Version:6.x-4.7
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I am unable to use this module. I am getting "you are not authorized to access this page" upon submission. I am running with Taxonomy Manager, Taxonomy VTN, and Taxonomy Node installed. I have tried running as user/1 or any authorized user.

#1

redpuma - June 24, 2009 - 11:26

I am experiencing this as well.

I have just done two imports with three or four a week ago on this current project, but on the last import attempt have this issue.

I've logged out and back in, cleared caches. Uninstalled this module re-enabled it. Of course I'm user 1 with all perms granted.

[mydomain]/batch?op=start&id=35

"Access denied
You are not authorized to access this page."

#2

redpuma - June 24, 2009 - 12:00

UPDATE:

I can import sometimes - seems to be a combination of settings or some ad-hoc thing. I haven't yet managed to identify a pattern to it. Doesn't look like I'm doing anything wrong or anything the GUI is not letting me do. However I've a feeling the "Update terms and merge existing" might be where this starts to be a problem.

#3

pauldawg - June 24, 2009 - 12:08

I have tried this with all options including creating a new vocabulary, with the same results. It was able to create the new vocabulary but no terms were created.

#4

Daniel_KM - June 24, 2009 - 13:24

Hi,

I 'm currently checking module on access rights with the last (6.12) version of Drupal. Could you send me your import file (or an anonymized extract of it)?

Sincerely,

Daniel Berthereau

#5

redpuma - June 25, 2009 - 16:05

Hi Daniel,

I've attached my import file. I've since managed to successfully import this file (to be used with the Glossary module).

(Note: I had to rename it as .txt as .csv is not in permitted list)

regards
Steve

AttachmentSize
Copy_glossary2.txt 28.58 KB

#6

pauldawg - June 25, 2009 - 17:50

Unfortunately I didn't use a file for the import. I just copied and pasted the terms. I only listed the terms I wanted to import, with no description, so the import looked something like this:

TermA
TermB
TermC
.
.
.
TermZZZ

#7

pauldawg - June 26, 2009 - 14:25
Priority:critical» normal

It seems this may be related to the number of items. I was importing about 450 items and it failed every time. But if I split it up into chunks it imports just fine. Downgrading priority to normal.

#8

Daniel_KM - August 12, 2009 - 12:32

Hi,

New release 6.x-4.1 may correct this type of problem, but I can't replicate an issue with access rights problems.

Daniel Berthereau
Knowledge manager

#9

chrism2671 - November 1, 2009 - 15:19
Version:6.x-3.1» 6.x-4.7

I'm also having this problem with 4.7. Attaching CSV.

AttachmentSize
testcsv.txt 11.61 KB

#10

chrism2671 - November 1, 2009 - 15:30

I tried enabling all the big file tweaks at the bottom and this didn't help.

#11

chrism2671 - November 1, 2009 - 16:13

I tried this on a fresh install of D6 and it worked just fine. My guess is that another module is interfering. Can't say what though.

#12

Daniel_KM - November 16, 2009 - 12:45

Hi,

Thanks for your remarks. That's right, there are some taxonomies modules which interfere with Taxonomy csv.

Sorry for this late answer: I saw you find a solution. Taxonomy csv module is a one shot module: you use it and you uninstall or forget it. So, currently, in case of interferences, best solution is to import terms first, then install and use interfering modules.

4.8 release (next week) will automatically bypass identified interfering modules (as pathauto).

Sincerely,

Daniel Berthereau
Knowledge manager

 
 

Drupal is a registered trademark of Dries Buytaert.