Cannot upload images

This forum is for reporting bugs in Joomla!. Please don't report problems with extensions in here.
nickk67
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Mon Sep 25, 2006 2:07 pm

Re: Cannot upload images

Post by nickk67 » Wed Apr 23, 2008 9:08 pm

Got same problem wit joomla 1.015.. if i upload an image with media manager, i got an error "Upload FAILED"


This my configuration:

PHP built On: FreeBSD w853.widhost.net 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #2: Wed Jan 9 11:11:07 CET 2008 [email protected]:/usr/obj/usr/src/sys/WIDE-FBSD62REL-SMP i386
Database Version: 5.0.45
PHP Version: 5.2.5
Web Server: Apache/2.0.61 (FreeBSD) mod_python/3.3.1 Python/2.5.1 PHP/5.2.5 mod_ssl/2.0.61 OpenSSL/0.9.7e-p1 mod_perl/2.0.3 Perl/v5.8.8
WebServer to PHP interface: apache2handler
Joomla! Version: Joomla! 1.0.14 Stable [ Daybreak ] 11 February 2008 00:00 UTC
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Relevant PHP Settings:
Joomla! Register Globals Emulation: OFF
Register Globals: OFF
Magic Quotes: ON
Safe Mode: OFF
File Uploads: ON
Session auto start: OFF
Session save path: /tmp
Short Open Tags: ON
Output Buffering: OFF
Open basedir: /usr/local/psa/home/vhosts/mydomain.com/httpdocs:/tmp
Display Errors: ON
XML enabled: Yes
Zlib enabled: Yes
Disabled Functions: none

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 » Wed Apr 23, 2008 9:22 pm

this is only for 1.5 ;)
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

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

Re: Cannot upload images

Post by latristesse » Wed Apr 23, 2008 11:58 pm

1.0.15 is a completely different animal.

nickk67
Joomla! Apprentice
Joomla! Apprentice
Posts: 18
Joined: Mon Sep 25, 2006 2:07 pm

Re: Cannot upload images

Post by nickk67 » Thu Apr 24, 2008 12:28 pm

... so...? Maybe a server setting?

???

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

Re: Cannot upload images

Post by latristesse » Thu Apr 24, 2008 4:11 pm

You need to put your post in the 1.0 forum.

jones99
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Wed Mar 26, 2008 3:41 pm

Re: Cannot upload images

Post by jones99 » Thu May 01, 2008 1:51 pm

Having chased this problem myself for ages I have found a solution but only if your running your set-up under Plesk. In the interests of security I had created a 2nd ftp account for everyone but myself to use - only to discover that the current version of Plesk doesn't support more than 1 ftp account so every time I tried to upload either thru Media Manager or the Article Creation page button the server rejected the connection. As soon as I switched the ftp info in Global Config to my main ftp account it worked. Hope this helps.

stfu
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Tue Apr 08, 2008 7:16 pm

Re: Cannot upload images

Post by stfu » Sat May 03, 2008 7:20 pm

Works !! :) I had same proble with admin session expired
i'm running Joomla! 1.5.3 and i turned flash upload mode OFF and now i can upload files!! :)

THXfor tip ! :)

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

Re: Cannot upload images

Post by stussy » Mon May 05, 2008 7:40 am

1.5.3? You mean 1.5.2, right?

Obviously, disabling flash uploader / enabling ftp is not a solution for everyone. At least not for me and I don't believe I'm the only one with this problem.

Any other suggestions, maybe this will be adressed in 1.5.3?

@Devs, should I file a bug report?

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 » Mon May 05, 2008 8:12 am

1.5.3 is already out ;)
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

mdempfle
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Sun Mar 02, 2008 2:54 pm

Re: Cannot upload images

Post by mdempfle » Mon May 05, 2008 12:37 pm

Or simply use the Joomla Flash Uploader for a complete upload solution.

/Michael
Michael Dempfle - follow TinyWebGallery and JFUploader on twitter @tinywebgallery
http://jfu.tinywebgallery.com JFUploader - Upload files the easy way.

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

Re: Cannot upload images

Post by stussy » Mon May 05, 2008 1:17 pm

1.5.3 is released, I missed that. Anyway, the changelog says nothing about upload fixes.

@Michael: The flash uploader does not work for me, I still can't create folders and upload something into them ...

mdempfle
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Sun Mar 02, 2008 2:54 pm

Re: Cannot upload images

Post by mdempfle » Mon May 05, 2008 1:22 pm

Do you have safe mode enabled? Because directories created there would have the problem that you cannot upload images in there and JFU does therefore not allow this.

/Michael
Michael Dempfle - follow TinyWebGallery and JFUploader on twitter @tinywebgallery
http://jfu.tinywebgallery.com JFUploader - Upload files the easy way.

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

Re: Cannot upload images

Post by stussy » Mon May 05, 2008 1:49 pm

Yes, Safe Mode is enabled. And no, I can't and don't want to disable it (shared hosting provider w. plesk).

Besides, permissions and ownership of the created directories look good (please read this thread and my other one here: http://forum.joomla.org/viewtopic.php?f ... &sk=t&sd=a )

mdempfle
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Sun Mar 02, 2008 2:54 pm

Re: Cannot upload images

Post by mdempfle » Mon May 05, 2008 2:14 pm

I know this problem. most of your directories are created by the ftp user and some then by the php user. But I don't understand why you have this problem with e.g. JFU. because it would create a folder with the php user.

/Michael
Michael Dempfle - follow TinyWebGallery and JFUploader on twitter @tinywebgallery
http://jfu.tinywebgallery.com JFUploader - Upload files the easy way.

User avatar
dex
Joomla! Explorer
Joomla! Explorer
Posts: 337
Joined: Tue Oct 18, 2005 9:44 pm
Location: Sydney - Australia
Contact:

Re: Cannot upload images (front end only)

Post by dex » Thu May 29, 2008 12:59 am

Hi
I am coming late to this discussion, but having a similar problem as follows:

Using standard Joomla! 1.5.3, FTP set to 'on' using my main FTP account, default editor (Tiny MCE 2.0), logged in to the front end with a 'manager' level user, I cannot upload images when editing a page.

I CAN however upload images with the same user in the backend, via the Media Manager and also from editing an article.

If I set Enable Flash Uploader to 'Off' then when I log in to the Front end of the site and try to upload an image, once upload is complete it displays the content of the page I am editing in the popup window, instead of the Image Loader utility.

If I set Enable Flash Uploader to 'On' I can browse for and upload an image, and it says Uploading completed but the image is not present in my images/stories folder. It's a 2k gif.

This problem ONLY occurs in the front end. Can someone please suggest to me what I am doing wrong?

Also by the way, the image uploader popup window (PC, Mozilla Firefox 2.0.0.14) is not deep enough and I must scroll to see anything below the Browse Files button. Can I somehow resize the window? It has no resize handles.

Thanks very much
Dex
Joomla implementor
http://www.spikesystems.com.au
http://www.joomla.org.au - Aussie Joomla user groups & events

User avatar
juanparati
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 123
Joined: Thu Nov 08, 2007 6:00 pm
Location: Aarhus (Denmark)

Re: Cannot upload images

Post by juanparati » Tue Jul 29, 2008 1:28 pm

I had the same problem. One day I uninstall all macromedia suite (including flash) and I update to flash 9 and now work fine.

Perhaps this information can help you!
From the code to the reality!

User avatar
dex
Joomla! Explorer
Joomla! Explorer
Posts: 337
Joined: Tue Oct 18, 2005 9:44 pm
Location: Sydney - Australia
Contact:

Re: Cannot upload images

Post by dex » Wed Jul 30, 2008 2:50 am

Thx for the tip. I checked and I am already on Flash 9.
I had another tinker and now I see that I the image is now uploaded, but I cant see it, as all the image folders show as empty. When I FTP in to check, the image is there though.
Dex
Joomla implementor
http://www.spikesystems.com.au
http://www.joomla.org.au - Aussie Joomla user groups & events

dianalesaux
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Oct 02, 2008 7:09 am

Re: Cannot upload images

Post by dianalesaux » Thu Oct 02, 2008 11:33 pm

I've been reading all the post but can not find the solution.
I'm using J!1.5.3 and cannot upload images.
Upload successful but still no image, no error report.
error report occured when i'm using FF.

Help!! :(

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 Oct 03, 2008 5:49 am

you should use j1.5.7
Lithuanian Joomla! Community http://www.lithuanianjoomla.com
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom

dianalesaux
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Oct 02, 2008 7:09 am

Re: Cannot upload images

Post by dianalesaux » Fri Oct 03, 2008 6:52 am

So is it common error in J!1.5.3?
I upload all images via FTP client, that's the temporary solution for me.

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 » Fri Oct 03, 2008 11:45 am

dianalesaux wrote:So is it common error in J!1.5.3?
No... There's a MAJOR security vulnerability in 1.5.3...
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

User avatar
guysmiley
Joomla! Explorer
Joomla! Explorer
Posts: 497
Joined: Mon Sep 12, 2005 7:22 pm
Location: Ontario, Canada

Re: Cannot upload images

Post by guysmiley » Mon Oct 06, 2008 8:02 pm

So, a while back in this thread, a few people pointed out concerns with suhosin and how it interferes with the flash uploader causing a login screen to appear when the upload fails:
We had exactly the same problems (in Holland with a Dutch Joomla installation). Uploads disappearing and/or being logged out after the upload. We came to the conclusion that these problems are related to the server settings of our hosting provider. This provider has installed a third party security app called Suhosin which limits several php functions. Although this provider (denit.nl, a major provider in Holland) was unable (unwilling?) to trace the problem my guess is that a Suhosin setting is somehow interfering with the joomla php upload code.
We simply solved these issues by swithing to another hosting provider who doesn't use Suhosin or a similar php limiting app.
I am running a dedicated server (RHEL5) and just recompiled apache to include suhosin (php5, apache 2.2, suexec, suphp, mod_security). As soon as I included suhosin in php, the flash uploader stopped working (something to do with the session failing, I suppose).

Are there any tweaks that ought to be applied to ensure the proper functioning of suhosin with the Flash Uploader?

User avatar
juanparati
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 123
Joined: Thu Nov 08, 2007 6:00 pm
Location: Aarhus (Denmark)

Re: Cannot upload images

Post by juanparati » Mon Oct 06, 2008 9:46 pm

guysmiley, I have installed joomla in several hostings. (5 different hosting providers aprox)

I have three joomla installed in a server with Suhosin patch (two differente hosting providers) and I can confirm your supposition.

In the past I have other problems with uploads, but I have fixed sucessfull this problem (wrong permissions, update my flash player, desactivate SecFilterEngine, etc).

I prefer disable flash upload system and to continue with the traditional form upload for less headcaches.
From the code to the reality!

User avatar
guysmiley
Joomla! Explorer
Joomla! Explorer
Posts: 497
Joined: Mon Sep 12, 2005 7:22 pm
Location: Ontario, Canada

Re: Cannot upload images

Post by guysmiley » Tue Oct 07, 2008 12:15 pm

I here you...

However, I'm running a dedicated server for a school board and we are looking at Joomla! as a solid possibility for our teaching staff pages/web content. Having the ability to upload multiple files at once using the Flash uploader is critical.

I started a new post on this (suhosin conflicts with Flash Uploader) here:
http://forum.joomla.org/viewtopic.php?f=431&t=331904

Taris
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Aug 29, 2006 8:21 am

Re: Cannot upload images

Post by Taris » Tue Oct 07, 2008 12:24 pm

juanparati wrote:I prefer disable flash upload system and to continue with the traditional form upload for less headcaches.
These are exactly my experiences ... and all of my customers do not mind that if they have the "extra" security for the price of a bit comfort. :-)

User avatar
guysmiley
Joomla! Explorer
Joomla! Explorer
Posts: 497
Joined: Mon Sep 12, 2005 7:22 pm
Location: Ontario, Canada

Re: Cannot upload images

Post by guysmiley » Tue Oct 07, 2008 11:56 pm

Having been in/out of the Joomla loop for a few years, this approach does not jive with my understanding of the professional approach of the Joomla core team. I believe that they would expect this would work, and really should work.

Please see the thread I linked to above if you'd like to continue this conversation so this one isn't tainted further. :-[

http://forum.joomla.org/viewtopic.php?f=431&t=331904

User avatar
nlublovary
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Sat Oct 20, 2007 8:28 pm
Location: Georgia
Contact:

Re: Cannot upload images

Post by nlublovary » Thu Oct 16, 2008 6:45 pm

For those who have troubles with suhosin and the flash uploader, locate the file suhosin.ini (if it exists) or php.ini and add this inside:

suhosin.session.encrypt = Off

Restart the server.

User avatar
juanparati
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 123
Joined: Thu Nov 08, 2007 6:00 pm
Location: Aarhus (Denmark)

Re: Cannot upload images

Post by juanparati » Thu Oct 16, 2008 9:48 pm

Thanks for the trick! ;)
From the code to the reality!

gocareer
Joomla! Intern
Joomla! Intern
Posts: 81
Joined: Sat Sep 09, 2006 1:46 am

Re: Cannot upload images

Post by gocareer » Wed Oct 29, 2008 12:48 am

IE works for both html and flash;

Firefox only works with html still?

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 » Wed Oct 29, 2008 8:24 am

@nlublovary

Why don't you add that to the troubleshooting 1.5 page of the wiki?


http://docs.joomla.org/Troubleshooting_1.5_FAQs
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”