I try to import a csv with a lot of nodes and i have create some fields with cck! Some of these fields or all these fields are content taxonomy fields like select list but when i try to import nodes with import content i can't see the cck content taxonomy fields to map with the csv columns and i can only simple cck fields like text!

Also when i try to import all these and i have some vocabularies with terms to tag my nodes when i map all these with the csv columns then i take this

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 279284 bytes) in C:\xampp\htdocs\drupal\includes\database.mysql-common.inc on line 41

Any ideas??

Just help me because i have a big project and it is a big problem to tag or to insert all these by hand!

Finally how can i insert cck fields select lists and not content taxonomy fields into my search form!
In my form for nodes for one content type i have some fields but these fields i want to be select list in my search form! If you understand what i mean!!!

Regards, Spiros Oikos

Comments

tryitonce’s picture

You need to change / amend your settings.php file around line 151.

at the end of -

/**
 * PHP settings: .............
...............  * duplicated there so as to avoid conflict issues.
 */

you add:

ini_set('memory_limit',             '500M');

That should solve it.

Did you read - http://drupal.org/node/827750 - might help if you find that some modules won't work.

spirosoik’s picture

thank you for your reply yes i fix it the problem with php_memory! do you know i read this but it's weird that i can't see cck content taxonomy fields to map them with csv columns!

Futhermore is a little bit slow my drupal (i install it localhost xampp) you know a way to increase the speed of my drupal except php configs! Also there is a way when i select a value to a cck field for one content type to select the same value to the vocabulary for autotagging because some fields for me are same for tags!

tryitonce’s picture

... that's life - have a look at - http://drupal.org/node/348202

it is all discussed there - and some of it should work for you ....

spirosoik’s picture

ok thanks man for your response!!!

spirosoik’s picture

anyone if know something about import problem! i can't see the cck content taxonomy fields to map them with csv columns and also if there is no way to see them tell me someone if you know a way when choose from a cck text field a value to send it and to vocabulary exactly the same! HELP!!!!

tryitonce’s picture

did you read the first few lines of http://drupal.org/node/348202

not all modules are supported - nothing you can do if your fileds are not supported - unless you write the filter.

spirosoik’s picture

this link is for drupal's installation!

And what do you mean to write the filter?

tryitonce’s picture

..... so sorry, I picked the wrong one from the messages above - look at this one from the earlier message - http://drupal.org/node/827750

spirosoik’s picture

yes i understand you but now it's a very big problem for me!!! ....that's life as you say!!!

when you say to write the filter, you mean to write the php code abou this! i searched for a patch but i didn't find something!

I don't have the time to write a php code (but generally i prefer to create something with my own code but my company doesn't want it this because it will take too much time) because the project is running fast to be first that's why i need a good advise or an example like this!

tryitonce’s picture

You need to see what is under ....sites/all/module/node_import/supported.

There you can see what the filters look like and what is supported in terms of core and contrib. modules - all is in the .inc files.

spirosoik’s picture

ok i see that not support content taxonomy fields! how can i now to put this filter for content taxonomy fields?

tryitonce’s picture

Sorry, but can't help you with this. If you find it or get it together do add it to Drupal.

That's why we help each other ---

spirosoik’s picture

thank you very much my friend!!! i appreciate your help!

Ok if i can take a little bit more time from my company i'll try!

thank you again!