By Anonymous (not verified) on
Hi,
IMCE seemed to install correctly giving the The directory files/img has been created message
However, when trying to upload an image, I get the following message: No files were uploaded.
The folder is writable. The file size and type is okay.
Any idea what it may be?
Any possible link with the download method (public/private)?
Perhaps a more verbose message would be desirable.
Using IMCE 4.7.0, 30/10/2006 - 03:32 on 4.7.4
Thanks
FnL
Comments
Perhaps watchdog has a more
Perhaps watchdog has a more verbose one in /admin/logs
Watchdog is quiet.
Sleeping on the front porch...
It sounds like an issue
It sounds like an issue worth submitting to http://drupal.org/project/issues/imce
The fact that that it totally evades watchdog may help narrow down the problem's location.
Will give it a couple of days
Perhaps someone has experienced something similiar before.
Thanks for your input, CogRusty!
FnL
Maybe Temporary Fix?
Experienced a similar problem yesterday when I tried IMCE for the first time. I could upload the image, and even insert it into the page. I didn't get an error message and watchdog was sleeping too.
However, when I tried to preview or subtmit the page, the image was not there! It would not show on the screen, but would be there when I went back to edit the page. Totally baffling behavior!
It was only after I added the image as "Attach File", that it would show on the screen.
Try to attach the image as a file for a temporary fix.
according to the code..
- your system's temporary upload directory may not be accessible by php for reading/writing the uploaded file. if you can upload files with upload.module this option is negligible. actually i have no idea what causes this.
- or there may be a problem with session registration of "imcetotal" variable. check "sessions" table in your database to be sure it is recorded successfully.
--
Geneticists from METU
Definitely check the PHP temp directory first
I am running on hosting by Powweb.com and I noticed IMCE 'break' after running well for a while.
A look at phpinfo() showed this:
TMPDIR = /home/users/web/mycustomername/htdocs/cgi-bin/tmp
So I went to the cgi-bin directory and discovered that there was no 'tmp' directory. I created it, CHMOD to decent permissions, and all is well now.
Thanks for this module, ufku!
( The reason Powweb.com changed its TMP settings unexpectedly is detailed here: http://forum.powweb.com/showthread.php?t=70943 )
File uploads silently failing on Windows
File uploads silently failing on Windows when magic_quotes_gpc = On: fix_gpc_magic() strips legitimate backslashes from $_FILES
http://drupal.org/node/91624
Thank you all for your input.
FnL
our fix for imce not uploading
we have windows 2k server w/iis5, drupal 4.7.4 and imce, $Id: imce.module,v 1.7.2.2 2006/10/29 23:47:41
similar upload fail, no watchdog entry, folder permissions okay, magic_quotes_gpc=off
we had to update our php from 5.1.2 to 5.1.4 to get it to work.
same problem caused by moving web
Hi I did developed the web in drupal in notebook runing xampp 1.5.3 and everything has been working fine ... after moving to the server with apache, php5.2 , mysql4, and setup all the persimsions in directory etc; I have find out that imce module has problem with uploading files ... (normaly clicking on upload file module do nothing) ... difference is, that watchdog tells me message wich is also shown in window of imce all the time ...
include_once(modules/pathauto/contrib/pathauto_node_i18n.inc) [function.include-once]: failed to open stream: No such file or directory in /home/httpd/sites/e2/modules/pathauto/pathauto.module on line 464.
did I missed something?
THX for help
okay it was two side problem ... on that contrib wan't accebsible I have solved (with guys from drupal.sk and drupal.cz) and now I am in same place like you all before ... means watchdog is sleeping well and imce is out too (os linux debian based everything else same^)
Apache problem too!
Take a look at this issue:
http://drupal.org/node/91624
This is not only a window server problem. It also happens on Unix/Linux server running Apache. Problem lies with magic quotes.
Diane "Detta"
MsDetta, Inc.
POSSIBLE SOLUTION
I too had this problem...toiled over it for a couple days only to discover the problem was one that was host related and php based. Quite simply here is what happened.
I use aplus.net dedicated for the site in question...turns out that on examination of the php.ini file (after creating a phpinfo script...) ... the following parameter was set.
upload_tmp_dir = none
i created the appropriate directory and changed the parameter to read
upload_tmp_dir = /usr/local/www/vhosts/mydomain.com/httpdocs/tmp
All is well now....
Related solution
My problem was also in the php.ini file, but my problem was with the following line:
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
(I was trying to upload a 3M file). I changed this to 10M, and everything works great now.
Thanks!
We got this issue too (though our upload_tmp_dir was ';'-commented out, so should have been using the system default or something).
Since we just have the one php.ini for all our sites, I used
upload_tmp_dir = /tmp
which seems to work fine and dandy. Hooray!
NOTE TO OTHERS: For a changed php.ini to take affect, you'll probably have to restart your web server/-ice. Apache users can find details at http://webauth.stanford.edu/manual/stopping.html
--Andy
Developing Drupal websites for Livelink New Media
++Andy