My files/images/import directory is in place.
I did a chmod 777 on every file and directory under files including files and I cannot get this image import module to work.
When I go to the image import I get a list of all the images in the import directory and have the option to check a box beside all the images I want to import. When I go to import the images my browser navigates to a blank page. When I check the processes running on my server, I don't see anything that would indicate drupal is processing my images. I leave the page alone just for s and giggles, but when I come back to it hours later... just as I thought, still no images uploaded.
What is going on and can anyone help me fix this?
JaK
Comments
FYI, I have searched the
FYI, I have searched the forums but have not found a fix. I have spent three days working on this one fix. I am not posting before researching... I too hate on those that do. Any help is more than appreciated.
JaK
httpd<defunct>
topas command shows "httpd"
I am not having any other problems with other drupal modules or any other apache functions. I am sure this is why my Image Import Module isn't working... anyone?
JaK
A long shot
Who is the owner of the images/import directory? The drupal modules comes with a default user:group combo that is some kind of a number, so if you had logged in as root when you dowloaded and untarred the module, the files will fail to be written to the directory unless user:group is set to acctowner:acctowner.
----
Previously user Ramdak.
How do I find out my drupal
How do I find out my drupal user:group combo?
How do I set this?
I know this is something simple but I just can't figure this out. All insults are welcome, as I am somewhat of a newbie. Please help me discover and set these.
I thought the chmod 777 would have done the trick. I am thinking I will need to user the chown command but for who and what directory?
Thank you,
JaK
Does anyone know??? JaK
Does anyone know???
JaK
Did I mention that the
Did I mention that the individual uploads work properly. So, doesn't this mean that drupal or Apache already have access to write to my directory?
JaK
Could it be something to do
Could it be something to do with access control? When you try to import the images, are you logged in as uid1 (the first drupal account) or any other? If the latter, it might well be that permissions haven't been set for image import.
As for finding out the user:group details, it is simple enough. Login to your hosting account through an FTP program, go to the folder where you have stored in the image module and turn on the options in your FTP program to see the user:group details. Filezilla, for example, supports this. I don't know if FTP clients also allow you to change those details- I use SSH through PuTTY to make chose kind of changes.
----
Previously user Ramdak.
Yes, I run the import using
Yes, I run the import using uid1. It seems to begin to run but then hangs.
I have changed the owner to several different users and then back to the original which is 27743:27744.
Users I have tried were, admin, root, apache, www all still resulted in the same hang, some gave extra errors.
Oh, well... I guess I will have to spend months writing my own image module. I am not that great of a programmer so I will be super slow. I was hoping I could find something that would work out of the box with minor tweaking. I never had this problem with phpnuke or xoops. I was told that drupal was the best cms and easiest to work with. I am committed to drupal now as I have already paid for some items. To bad I can't get this one module to work. I guess I will be adding one image at a time for the foreseeable future.
thanks for your help. I guess there really isn't a solution to my issue.
JaK
Yes, I run the import using
Yes, I run the import using uid1. It seems to begin to run but then hangs.
I have changed the owner to several different users and then back to the original which is 27743:27744.
Users I have tried were, admin, root, apache, www all still resulted in the same hang, some gave extra errors.
Oh, well... I guess I will have to spend months writing my own image module. I am not that great of a programmer so I will be super slow. I was hoping I could find something that would work out of the box with minor tweaking. I never had this problem with phpnuke or xoops. I was told that drupal was the best cms and easiest to work with. I am committed to drupal now as I have already paid for some items. To bad I can't get this one module to work. I guess I will be adding one image at a time for the foreseeable future.
thanks for your help. I guess there really isn't a solution to my issue.
JaK
Guess what, I tried to
Guess what, I tried to import some images and got more or less the same kind of error (not a blank page, but something about memory).
Why don't you give it one last try by increasing the php memory settings in your php.ini? I am going to try the same thing too. Also file upload size, etc.
----
Previously user Ramdak.
Thanks, I had actually
Thanks,
I had actually already changed my Max upload size in the past. I didn't think to change time out limit or memory limit... how silly of me. Thank you for putting up with my endless moan and grown for help.
JaK
It is because of the php's
It is because of the php's 'max_execution_time'.
Change it or when the blank page appears simply go 'back' and import the rest of images (you must observe that some of them are disappeared from the list).
I love you
I love you both.
max_execution_time and memory_limit were set at 30s and 32M, I think that my primary problem was actually the memory as my httpd process would go defunct before 30seconds but if the memory was greater it would have then timed out had I not changed both time out limit and memory limit.
Thank you both so very much. Please let me know if there is anything I can do to repay your time and effort.
JaK
Of course you can. Enjoy Drupal. :)
Of course you can. Enjoy Drupal. :)
Yes, enjoy drupal! There's
Yes, enjoy drupal!
There's also a practical way to help. Can you write a couple of small paragraphs about this issue and send it to me through my drupal contact form? I will add it as a book page on drupal.org (and credit you in the log message for the page). That will help other users.
----
Previously user Ramdak.