Hi
As user 1 i can do whatever i want with this module, and it's at charme to work with, but for some reason users cant upload an image, not even an admin user with all permissions enabled.
When a user click the upload button, the form returns and starts all over, and no image are uploaded.
I checked and double cheked all dependencies, and they are the right versions.
I checked imagecache and everything seems to work as it schould, and everything is configured as suggested.
I'v tried to figure this out for over a week, i'v been trough every issue here.
Any help wolud be appricated
Regards Kim
Comments
Comment #1
eugenmayer commentedHello
7. Give the roles you actually want to be able to use the wyswig image upload plugin the 'use wysiwyg image upload' user permission
8. If you are using 'HTML filter' for your 'Input filter', you probably have to add img as a allowed html tag
Did you configured that properly?
Comment #2
kims commentedHi sorry for not writing this before, permission granted for both imagecache and wysiwyg image upload, even for guest user.
All filters are disabled, this way i didnt have any conflicts with filters
Comment #3
eugenmayer commentedwell this sounds pretty odd. Please describe step by step, what you are doing with a normal user and on which step the behavior is unexpected and your visible result
Comment #4
kims commented1. the user starts at node/add/blog
2. write in the title, body and whatever needed.
3. clicking the image upload button
4. the wysiwyg upload dialog box comes up.
5. clicking the browse button, and choose a picture to upload.
6. clicking the upload picture button.
and then the dialog window refreshes and i'm back at the upload dialog window, and can start over again. I never get the settings dialog window.
It looks like at permission problem, but as i wrote, all permissions granted for all users, except admin rights, imagecache directory has 777, permissions allows users to see and use imagecache preset.
I have an admin with all rights granted, even he can upload.
The only one who can use this is user1
thanks
Kims
Comment #5
eugenmayer commentedWell, that means, that the user could not upload the file. Could it be, that users are generally not allowed to upload files?
That means file_save_upload will fail. Maybe users are generally not allowed to upload any files?
If this was the issue, please report back what you had to grant so i add this to the docs
Comment #6
eugenmayer commentedplease replace that line in wyswiyg_imageupload.ajax.inc
#59 $output = $output.drupal_render($form);
with
#59 $output .= $output.drupal_render($form);
and have a look at the error message
Comment #7
kims commentedupload permissions are also granted
Comment #8
eugenmayer commentedWell filesize or filetype? Please replace those line and look for the error
Comment #9
eugenmayer commentedYou dont see errors because of http://drupal.org/node/744892
Comment #10
kims commentedhmmm i dont get any errors, neither on screen or in my logs
Comment #11
kims commentedi can give you a login and password for my test site, if that can help?
Comment #12
eugenmayer commented@11 well yes, but in private. Please come into the IRC channel #drupal or #drupal.de or contact me through the form on d.o
Comment #13
kims commentedsorry i dont have an irc client set up, i sent it trough the contact form here.
Comment #14
eugenmayer commentedThats what i get in your dialog. Why the upload fails is not clear to me, did you maybe turn off all errors on your page for normal users?
(admin/settings/error-reporting).
Well iam pretty sure its something about user permissions on upload. Things like folder is missing (you use role-specific folder for fileuploads), wrong file type ( not allowed for that user) .. or wrong file size ..
Comment #15
kims commentedcan this be coused by my server?
I'm running
Debian lenny
Apache2
Mysql 5
php 5
And
ISPconfig
This is running on a virtual server.
I'll dive into all the permissions, the site has been running since drupal 4.5 so there are a lot of upgrades maybe there is something i forgot.
Thank you for spending your time.
I will be back with an update, when i have been trough everything regarding permissions.
Comment #16
eugenmayer commentediam running the same server. Lenny with the LAMP stack you described.
Comment #17
kims commentedSolved!
This module http://drupal.org/project/blogtoppen was the one who made all the troubles.
I dont know why, but i can live without this module.
Thanks for all your help.
Comment #18
kims commentedComment #19
eugenmayer commentedadded the module to the new "incompatibilies sections" in the docs. Thanks for the feedback
Comment #20
vthirteen commentedsame problem.
permissions for the upload folder are set to 755.
user is user 1, so all permissions granted.
checking out if there's some additional incompatibiility.
by the way, no error message thrown nowhere, neither in drupal nor in server logs.
Comment #21
eugenmayer commentedPlease dont hijack issue. repoen a new issue and describe your problem. Please verify your problem on a clean drupal installation and report back in a new issue.
Comment #22
vthirteen commentedno hijacking, it was exactly the same problem. opened a new issue here: http://drupal.org/node/857546