Page 3 of 5

Re: Cannot upload images

Posted: Tue Mar 11, 2008 10:25 pm
by bertman
Hello,
I ALMOST hate to mention this, but with the current news that Adobe may be implementing some type of DRM is it really a good idea to be using Flash to upload media?

bertman

Re: Cannot upload images

Posted: Wed Mar 12, 2008 4:02 pm
by infograf768
1.5.2 will include a parameter to switch off flash uploader.

Re: Cannot upload images

Posted: Fri Mar 14, 2008 8:19 pm
by ndee_at
Hi infograf,

great news! Thank you and the dev team very much. Maybe we find out what is causing this - but the on/off switch is a first step.

Greets,
Andy

Re: Cannot upload images

Posted: Sat Mar 15, 2008 8:30 am
by prags_karia
zhenhao wrote:Hi,

I am using Joomla1.5 now and i have problems uploading images from both the frontend and the backend(including the Media Manager). When I click on "Start Upload", the progress bar shows that the upload is completed. however the image is not uploaded. What makes it puzzling is that sometimes , it works. And when it works, there would be a blue banner on top of the webpage showing that the upload is completed. Any idea what i may be missing here ? I am running my joomla on a LAMP stack.

thanks in advance

Even i also facing the same problem...i cant creat folder inside media manager......also..cant upload and delete images from backend....

suggest some solution please...

i m using..linux,fedora 8,apache,mysql,php latest version....
please help me.....if u find any solution....

Re: Cannot upload images

Posted: Fri Mar 28, 2008 12:42 pm
by Stasys
J 1.5.2 frontend and backend:

* Warning! - Failed to move file
* Error. Unable to upload file.

Re: Cannot upload images

Posted: Fri Mar 28, 2008 3:43 pm
by mcsmom
Stasys you really need to give some more details. Type of file? size? name? Do you have the ftp layer on and are you sure it is working? Memory use? There are so many reasons why a file might not upload.

Re: Cannot upload images

Posted: Fri Mar 28, 2008 10:22 pm
by Stasys
90kb imageupload.jpg
ftp layer turned off

do you need more details ? I'll be glad to provide :)

Re: Cannot upload images

Posted: Sat Mar 29, 2008 7:14 am
by infograf768
Permissions?
Is it only on one host?
Who is the owner of files/folder?

Re: Cannot upload images

Posted: Sun Mar 30, 2008 6:17 am
by mcsmom
Turn that FTP layer on.

Re: Cannot upload images

Posted: Sun Mar 30, 2008 1:04 pm
by Stasys
infograf768 wrote:Permissions?
Is it only on one host?
Who is the owner of files/folder?
What permissions I should set to make it secure, but also provide the ability to upload images?
Yes, its the only host I can test on J 1.5

*deleted permissions

Re: Cannot upload images

Posted: Sun Mar 30, 2008 1:06 pm
by Stasys
mcsmom wrote:Turn that FTP layer on.
image upload won't work if FTP layer isn't on?

Re: Cannot upload images

Posted: Sun Mar 30, 2008 9:09 pm
by mcsmom
If it's not working with ftp off, try it with ftp on for heaven's sake. Start with the obvious solutions.

Re: Cannot upload images

Posted: Thu Apr 03, 2008 1:47 pm
by Stasys
mcsmom wrote:If it's not working with ftp off, try it with ftp on for heaven's sake. Start with the obvious solutions.
so you saying that j 1.5.2 doesn't work as it should? It would be nice to see devs input here ;)

by the way what setup you use to make image upload work? are there any faq on this matter?

Re: Cannot upload images

Posted: Thu Apr 03, 2008 7:10 pm
by mcsmom
I'm saying: Get real.

It's software, if it's not working the way you want, try changing the settings. You're not helpless.

Also you may want to turn the flash uploader off and you may want to increase your memory limit and/or maxexecution time.

There are so many variables involved, but for most people it works fine.

I always turn ftp on though. On my host even with safe mode off it is necessary.

Re: Cannot upload images

Posted: Thu Apr 03, 2008 8:22 pm
by Stasys
Elin, I am very real ;)

What permission you set on your files and folders? So there are no faq, on this matter?

Why you think that for most people image upload works fine?

Thanks for you trying to help, by the way, are we so short in developers that for couple of months only the OSM Board President Elin Waring desperately trying to help, and none of developers think image upload is essential or important to joomla cms ???

Re: Cannot upload images

Posted: Thu Apr 03, 2008 9:24 pm
by brunsona
Earlier in this thread, this key issue was identified and a temporary solution offered.

In file:
libraries/joomla/html/html/behavior.php

Comment this line 221 (approx.)...
// $document->addScriptDeclaration($uploaderInit);

(see jannos solution: viewtopic.php?f=199&t=243392&p=1228001#p1226322 )

The issue has to do with a security application on some servers - suhosin - interfering with the flash loader. The old html loader works even when suhosin is running on the server. It takes a couple of minutes to comment out the code per jannos info and the html loader works like it always did.

If the developers can include a switch to turn the flash loader off with info about when to use it, this will no longer be a serious problem. For now, it takes manually changing one line in one file.

Also, I've been using the FCK editor with my users as it uploads everything great even without the patch.

-a-

Re: Cannot upload images

Posted: Thu Apr 03, 2008 9:53 pm
by Stasys
flash turned off, the problem still remains :(

Re: Cannot upload images

Posted: Fri Apr 04, 2008 9:52 pm
by mcsmom
The developers are working very hard to address all of the issues, including many of the highly specific environment issues like the ones that are probably causing your issues.

You can rest assured that I know plenty about the code and haven't gotten to the number of posts I have without helping tons of people troubleshoot their sites.

Understand, this is probably some specific combination of settings in php.ini, apache, file permissions or something else.

Without making me scroll back have you since upgrading to 1.5.2 pasted the results from the "help us to help you"process described in the sticky?
Since 1.5.2 do you have debug on and can you please past the debug results when you try to upload including your memory usage.
Have you tried turning the ftp layer on? As already stated, at my host, that's what i have to do.

The ftp layer was added precisely because some hosts have settings that make it impossible to upload otherwise.

added:
On a personal note, I do not appreciate being called out or you using my name to try to call out other people.
It's insulting and hurtful to me and also makes me feel as though I cannot post freely in the helping users forums.
That is sad to me, because I feel I make a contribution by helping people and I actually usually enjoy it.

Re: Cannot upload images

Posted: Fri Apr 04, 2008 11:07 pm
by Stasys
Elin, you are doing great job :) Once again thanks a lot for your efforts :) I sincerely hope you won't feel hurt or insulted. Please post freely, cause I value your opinion a lot :)

Re: Cannot upload images

Posted: Mon Apr 07, 2008 12:54 pm
by stussy
Hi,

same problem here. Joomla 1.5.2 / Disabled Flash Uploader / FTP Layer turned on, all this doesn't help.

Please visit my other thread for more details, I started it a few days ago (didn't find this one, sorry):

http://forum.joomla.org/viewtopic.php?f ... &sk=t&sd=a

BTW, enabling debug mode doesn't result in anything useful. The error I get is always: "WARNFS_ERR02 Error. Unable to upload file"

Regards,
stussy

Re: Cannot upload images

Posted: Tue Apr 08, 2008 4:38 am
by latristesse
I don't have a problem inserting or uploading images from the back-end on 1.5.2 but when I try to insert an image using the Image button on the front-end editor, my lightbox is populated with my actual website (see attached image). Also, when using JCE from the front-end, there is no upload button but at least I am able to browse the site's images and select one. One final problem which I think is associated is that the mediamanager has a slew of errors. This has all happened since upgrading to 1.5.2 from 1.5.1. Unfortunately, I'm stuck for the moment using php4 because of site5's implementation with URL's that have a tilde, so if php4 is causing the problem, I need a workaround.

Re: Cannot upload images

Posted: Tue Apr 08, 2008 11:48 am
by ircmaxell
Are you using SEF URL's?

Re: Cannot upload images

Posted: Tue Apr 08, 2008 12:01 pm
by Stasys
yes core sef

Re: Cannot upload images

Posted: Tue Apr 08, 2008 12:38 pm
by aleszabijak2
I have found out how to upload images using image uploader in joomla
You must delete
./media/system/js/swf.js (if you rename the file it will be also working)
./media/system/swf/uploader.swf (also renaming is enough)

This will block using flash uploader and will use classic html uploader.
Works on joomla 1.5.0

Re: Cannot upload images

Posted: Tue Apr 08, 2008 4:23 pm
by mcsmom
You should not be using 1.5.0. Upgrade to 1.5.2 and you will be able to turn off the flsh uploader with a check box.

Re: Cannot upload images

Posted: Tue Apr 08, 2008 6:38 pm
by latristesse
Turning off the flash uploader does nothing to solve the problem and neither does accessing php5 (I finally resolved by php5 issue by just putting the site on a temporary live domain). See attached where the actual website appears in the image lightbox from the front-end editor. Again, this was working perfectly well in 1.5.2 and shouldn't require the ftp layer to be on.

Re: Cannot upload images

Posted: Tue Apr 08, 2008 10:10 pm
by latristesse
I fixed this error I was having where the image insert from the front-end was actually showing the site itself - it turned out there was a corrupt folder in the images directory. When I deleted the folder, my media manager and insert images problem disappeared but now the image insert lightbox shows the dark grey background color that is in the main body of the page.

Re: Cannot upload images

Posted: Wed Apr 09, 2008 4:30 am
by jdaum
Hi,

I hope this is relevant, I had the issue of a login screen coming up with the Flash uploader on 1.5.2 . I have suhosin installed on my server.

The Flash uploader is IMO a killer feature of Joomla 1.5 alone, so I used this to adjust settings on my server:

Hi,

if you don't have mod_security, but have suhosin installed this one helped me to get it working on 1.5.2:

(.htaccess)

php_value memory_limit 256M
php_value suhosin.session.encrypt Off

Of course you need access to this.

regards,

Jochen

Re: Cannot upload images

Posted: Sun Apr 13, 2008 12:39 pm
by bongo_john_uk
Excuse my ignorance, where do you turn off the flash uploader? I am running 1.5.2 and have this same problem.

Re: Cannot upload images

Posted: Mon Apr 14, 2008 12:49 am
by mcsmom
It's in global configuration with the other media manager settings.