Cannot upload images

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
bertman
Joomla! Apprentice
Joomla! Apprentice
Posts: 17
Joined: Sat Mar 01, 2008 3:35 am

Re: Cannot upload images

Post by bertman » Tue Mar 11, 2008 10:25 pm

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

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Cannot upload images

Post by infograf768 » Wed Mar 12, 2008 4:02 pm

1.5.2 will include a parameter to switch off flash uploader.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

ndee_at
Joomla! Apprentice
Joomla! Apprentice
Posts: 37
Joined: Sun Aug 21, 2005 10:24 am

Re: Cannot upload images

Post by ndee_at » Fri Mar 14, 2008 8:19 pm

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

prags_karia
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Mar 11, 2008 1:49 pm

Re: Cannot upload images

Post by prags_karia » Sat Mar 15, 2008 8:30 am

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....
prags<('!')>

Stasys
Joomla! Ace
Joomla! Ace
Posts: 1318
Joined: Wed Aug 17, 2005 11:06 pm
Location: Lithuania
Contact:

Re: Cannot upload images

Post by Stasys » Fri Mar 28, 2008 12:42 pm

J 1.5.2 frontend and backend:

* Warning! - Failed to move file
* Error. Unable to upload file.
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Cannot upload images

Post by mcsmom » Fri Mar 28, 2008 3:43 pm

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.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

Stasys
Joomla! Ace
Joomla! Ace
Posts: 1318
Joined: Wed Aug 17, 2005 11:06 pm
Location: Lithuania
Contact:

Re: Cannot upload images

Post by Stasys » Fri Mar 28, 2008 10:22 pm

90kb imageupload.jpg
ftp layer turned off

do you need more details ? I'll be glad to provide :)
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Cannot upload images

Post by infograf768 » Sat Mar 29, 2008 7:14 am

Permissions?
Is it only on one host?
Who is the owner of files/folder?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Cannot upload images

Post by mcsmom » Sun Mar 30, 2008 6:17 am

Turn that FTP layer on.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

Stasys
Joomla! Ace
Joomla! Ace
Posts: 1318
Joined: Wed Aug 17, 2005 11:06 pm
Location: Lithuania
Contact:

Re: Cannot upload images

Post by Stasys » Sun Mar 30, 2008 1:04 pm

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
Last edited by Stasys on Tue Apr 01, 2008 11:18 am, edited 1 time in total.
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

Stasys
Joomla! Ace
Joomla! Ace
Posts: 1318
Joined: Wed Aug 17, 2005 11:06 pm
Location: Lithuania
Contact:

Re: Cannot upload images

Post by Stasys » Sun Mar 30, 2008 1:06 pm

mcsmom wrote:Turn that FTP layer on.
image upload won't work if FTP layer isn't on?
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Cannot upload images

Post by mcsmom » Sun Mar 30, 2008 9:09 pm

If it's not working with ftp off, try it with ftp on for heaven's sake. Start with the obvious solutions.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

Stasys
Joomla! Ace
Joomla! Ace
Posts: 1318
Joined: Wed Aug 17, 2005 11:06 pm
Location: Lithuania
Contact:

Re: Cannot upload images

Post by Stasys » Thu Apr 03, 2008 1:47 pm

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?
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Cannot upload images

Post by mcsmom » Thu Apr 03, 2008 7:10 pm

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.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

Stasys
Joomla! Ace
Joomla! Ace
Posts: 1318
Joined: Wed Aug 17, 2005 11:06 pm
Location: Lithuania
Contact:

Re: Cannot upload images

Post by Stasys » Thu Apr 03, 2008 8:22 pm

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 ???
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

brunsona
Joomla! Apprentice
Joomla! Apprentice
Posts: 24
Joined: Thu Jan 04, 2007 12:52 am

Re: Cannot upload images

Post by brunsona » Thu Apr 03, 2008 9:24 pm

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-

Stasys
Joomla! Ace
Joomla! Ace
Posts: 1318
Joined: Wed Aug 17, 2005 11:06 pm
Location: Lithuania
Contact:

Re: Cannot upload images

Post by Stasys » Thu Apr 03, 2008 9:53 pm

flash turned off, the problem still remains :(
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Cannot upload images

Post by mcsmom » Fri Apr 04, 2008 9:52 pm

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.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

Stasys
Joomla! Ace
Joomla! Ace
Posts: 1318
Joined: Wed Aug 17, 2005 11:06 pm
Location: Lithuania
Contact:

Re: Cannot upload images

Post by Stasys » Fri Apr 04, 2008 11:07 pm

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 :)
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

stussy
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Wed Feb 20, 2008 1:09 pm

Re: Cannot upload images

Post by stussy » Mon Apr 07, 2008 12:54 pm

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

latristesse
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Mon Dec 12, 2005 9:59 pm

Re: Cannot upload images

Post by latristesse » Tue Apr 08, 2008 4:38 am

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.

User avatar
ircmaxell
Joomla! Ace
Joomla! Ace
Posts: 1926
Joined: Thu Nov 10, 2005 3:10 am
Location: New Jersey, USA
Contact:

Re: Cannot upload images

Post by ircmaxell » Tue Apr 08, 2008 11:48 am

Are you using SEF URL's?
Anthony Ferrara - Core Team - Development Coordinator - Bug Squad - JSST

http://moovum.com/ - The Bird is in the air! Get Mollom Anti-Spam on your Joomla! website with Moovur...
http://www.joomlaperformance.com For All Your Joomla Performance Needs

Stasys
Joomla! Ace
Joomla! Ace
Posts: 1318
Joined: Wed Aug 17, 2005 11:06 pm
Location: Lithuania
Contact:

Re: Cannot upload images

Post by Stasys » Tue Apr 08, 2008 12:01 pm

yes core sef
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

aleszabijak2
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Apr 08, 2008 12:27 pm

Re: Cannot upload images

Post by aleszabijak2 » Tue Apr 08, 2008 12:38 pm

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

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Cannot upload images

Post by mcsmom » Tue Apr 08, 2008 4:23 pm

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.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.

latristesse
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Mon Dec 12, 2005 9:59 pm

Re: Cannot upload images

Post by latristesse » Tue Apr 08, 2008 6:38 pm

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.
You do not have the required permissions to view the files attached to this post.

latristesse
Joomla! Explorer
Joomla! Explorer
Posts: 270
Joined: Mon Dec 12, 2005 9:59 pm

Re: Cannot upload images

Post by latristesse » Tue Apr 08, 2008 10:10 pm

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.

User avatar
jdaum
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sat Sep 03, 2005 5:10 am
Location: Auckland, NZ
Contact:

Re: Cannot upload images

Post by jdaum » Wed Apr 09, 2008 4:30 am

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
http://www.automatem.co.nz - web applications, web 2.0 applications, custom web applications, software solutions, automation in business, automated web application, web database, Joomla web hosting, screen scrape, website backup, database backup

bongo_john_uk
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Apr 13, 2008 12:37 pm

Re: Cannot upload images

Post by bongo_john_uk » Sun Apr 13, 2008 12:39 pm

Excuse my ignorance, where do you turn off the flash uploader? I am running 1.5.2 and have this same problem.

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

Re: Cannot upload images

Post by mcsmom » Mon Apr 14, 2008 12:49 am

It's in global configuration with the other media manager settings.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Locked

Return to “Joomla! 1.5 Bug Reporting”