Category tree import

Post

Posted
Rating:
#5433 (In Topic #1109)
I'm building out Composr and everything works but one. I built out parent categories (Movies, TV Series, Literature, etc) and then figured out what table on the backend held the data, so I imported via SQL. I tried one as a trst and it worked fine. Then I imported 950ish under one parent category, which looked fine. But when I click on an imported category, i get 'An error has occurred. The requested catalogue does not exist. It has probably been deleted.'

Did I miss a table or something?  

From what I can tell this doesn't have an import tool, so I had to use straight SQL. 

Post

Posted
Rating:
#5434
Did you get the c_name column right when you imported into catalogue_categories? Should be the codename of the catalogue you are using.

There is a mass-create feature for catalogues actually, "Auto-fill with categories" on the add catalogue form.

Post

Posted
Rating:
#5435
I did, yes. They are all set to 'link'.  I will try some things tomorrow.

I only need the skeleton, because the actual links will come from end users.

Post

Posted
Rating:
#5436
It probably is offering you to see a stack trace, which will tell us where the error is being thrown from. Will likely be a huge clue.

Post

Posted
Rating:
#5437
You were right about the c_name column.  I'd set all the imported things to 'link' when it should have been 'links'.  I just did an SQL update and that fixed it.  Thanks!

2 guests and 0 members have recently viewed this.