The Joomla! Forum ™



Forum rules


Forum Rules
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 127 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Cannot upload images
PostPosted: Fri Dec 14, 2007 9:16 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Nov 26, 2007 7:45 am
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Fri Dec 14, 2007 11:06 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 7:13 am
Posts: 16549
A bunch of issues were solved yesterday in SVN regarding this:

# [#8548] com_media file uploads generating error 403 - Fix pending discussion
# Fixed Warning thrown when FTP client tries to chmod when using on Windows (Thanks Anner J. Bonilla)
# Fixed [#8548] and [#8566] com_media uploads broken when using flash uploader

Could it be that you are experiencing one of these?

_________________
Joomla forum global moderator.

Have fun


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Mon Dec 17, 2007 1:21 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Nov 26, 2007 7:45 am
Posts: 4
thanks for the reply, i have just tried downloading the latest build from here : http://dev.joomla.org/content/view/17/60/
apparently, it still does not work. i have chmod the image directory to 777 and below are some of the lines i picked up from the apache log file, not sure if it is of any relevance :

1) PHP Fatal error : Class 'JModuleHelper' not found in /administrator/components/com_login/admin.login.php online 47

Under the global configuration i set:
Use Apache mod_rewrite : Yes
FTP is not enabled

i just found out something interesting. When i set the debug mode on, i can upload successfully! .. any ideas on what's wrong ? Could it be the settings in my apache server that is causing the problem ?


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Mon Dec 17, 2007 9:53 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Thu Aug 18, 2005 7:13 am
Posts: 16549
I'll move this to the Q&T forum.

_________________
Joomla forum global moderator.

Have fun


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Mon Dec 17, 2007 10:23 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
do you have safe mode on?

please don't make any directory 777, it is dangerous for your site.

_________________
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!.


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Mon Dec 17, 2007 4:56 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Thu Nov 10, 2005 3:10 am
Posts: 1926
Location: New Jersey, USA
Are you using the HTML upload form, or the flash one?  (see attached images)

HTML
Image

or

FLASH
Image

_________________
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


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Tue Dec 18, 2007 3:31 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Nov 26, 2007 7:45 am
Posts: 4
mcsmom, php safe mode is Off , and i have chmod the images directory back to 775 :)

ircmaxell, i have not noticed the difference until you mentioned. It works when i am using the HTML upload form but not when i am using the flash one. I checked out the the Tracker and i am facing the same problems as Jason Luttrell in #8663. It originally loads the HTML uploader but upon clicking the scroll bar, it changes to the flash uploader. (I am using FF now, i tried testing in IE7 and it seems to work fine on IE) Well at least i know what is the problem now. Is there a workaround this ? or just have to wait till the bug gets fixed.


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Tue Dec 18, 2007 3:52 am 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Thu Nov 10, 2005 3:10 am
Posts: 1926
Location: New Jersey, USA
What build are you running?  (open CHANGELOG.php, and find the number on the 2nd line after Id)...

_________________
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


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Tue Dec 18, 2007 4:03 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Nov 26, 2007 7:45 am
Posts: 4
currently using 9652


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Thu Dec 20, 2007 2:29 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Sep 29, 2005 12:15 pm
Posts: 20
Confirming the same problem with RC4.

When Firefox loads the flash form I get the 403 error when uploading images, if I click on the html form (while the page loads) I can  upload images using Firefox.

Also, sometimes uploading works fine but as soon as I delete an image next upload gives 403 error


In IE7 there are no problems whatsoever, but the flash form never loads, I only see the html form. However, no matter what folder I choose to upload to the image always gets placed in the /images folder


PHP Built on:  Linux lin5 2.6.19.4-grsec #1 SMP Wed Feb 21 18:33:11 CET 2007 i686 
Database Version:  4.1.11-Debian_4sarge7-log 
Database Collation:  utf8_general_ci 
PHP Version:  4.4.7 
Web Server:  Apache 
Web Server to PHP interface:  apache 
Joomla! Version:  Joomla! 1.5.0 Production/Stable [ Karibu ] 


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Thu Dec 20, 2007 6:52 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Mon Apr 17, 2006 5:11 pm
Posts: 137
I can verify that in IE7 the files are being uploaded to the root image directory...not the one I have selected.  Perhaps the reason is that when I select a folder on the left the full path listed in the 'Files' text box is not updating to the currently selected subfolder.  It stays on the root path.

Should mention this is RC4.


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Wed Jan 02, 2008 7:26 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Aug 21, 2005 10:24 am
Posts: 37
ircmaxell wrote:
Are you using the HTML upload form, or the flash one?  (see attached images)


Hi ircmaxell!

This seems to be a solution. Yesterday I had the html-uploader but now only the flash version is showing up. Can you please tell me where I can switch to html-form only?

Thanks in advance!

Greets,
Andy


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Wed Jan 02, 2008 10:04 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Thu Aug 18, 2005 6:58 am
Posts: 1468
Location: Tønsberg, Norway
I was also getting 403's when uploading images, but adding this to the .htaccess file made the upload work as it should do.

SECFILTERENGINE OFF
SECFILTERSCANPOST OFF

_________________
Jens-Christian Skibakk
MMS Blog - http://mms.pipp.no/
Joomla! i Norge / Joomla! in Norway - http://www.joomlainorge.no/


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Wed Jan 02, 2008 11:52 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Aug 21, 2005 10:24 am
Posts: 37
Hi,

thanks for the hint, unfortunately adding this to the .htaccess file did not work for me. I get logged out from Admin and see the Login-Screen in the mediamanager space, then I have to login again.

Greets,
Andy


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Thu Jan 03, 2008 2:40 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 05, 2007 4:22 pm
Posts: 34
Same problem for me. Uploaded with firefox latest version. Apparently flash. I also would like to know how the difference between the HTML and the flash uploader is made.

I running the latest daily build from January 2.

When a file is uploaded we either see nothing, the file appears to be lost in cyberspace OR we are logged out. See image for the latter.

This doesn't happen on my local apache server, only on our hosting providers server. I contacted them to cirtically review security settings but they couldn't find anything relevant.

More error handling should be build in the media manager to capture this kind of behavior!

(the text in the picture = 'You are not authorized to view this page'


You do not have the required permissions to view the files attached to this post.


Last edited by RonVA on Thu Jan 03, 2008 2:43 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Fri Jan 04, 2008 1:18 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 05, 2007 4:22 pm
Posts: 34
This is a serious problem for us. I tested this behavior on another hosting provider and.. there it works. If this cannot be solved we have to switch from our current provider to this new provider. It's clearly a php/apache/Linux security setting but our current provider is unable to find out which one.
I reported this bug on the official bug tracker: http://joomlacode.org/gf/project/joomla ... em_id=9032


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Fri Jan 04, 2008 1:43 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Thu Aug 18, 2005 6:58 am
Posts: 1468
Location: Tønsberg, Norway
RonVA wrote:
This is a serious problem for us. I tested this behavior on another hosting provider and.. there it works. If this cannot be solved we have to switch from our current provider to this new provider. It's clearly a php/apache/Linux security setting but our current provider is unable to find out which one.


Do you know if the session.use_only_cookies is set to on?  You can check in the backend under system info and php settings.

I tested the upload on my site with this on, and the upload failed!

_________________
Jens-Christian Skibakk
MMS Blog - http://mms.pipp.no/
Joomla! i Norge / Joomla! in Norway - http://www.joomlainorge.no/


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Fri Jan 04, 2008 3:46 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
I have a strange thing in IE which is that the image thumbnails do not update after an upload when I upload more than one image in the article view. Closing the squeezebox and then opening again solves the display though.

_________________
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!.


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Fri Jan 04, 2008 5:24 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 05, 2007 4:22 pm
Posts: 34
use_only_cookies is off both on the site on which it DOES work and on the site were it does NOT work.


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Sat Jan 05, 2008 8:26 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Nov 08, 2007 10:26 am
Posts: 6
I have the same problem with RC4 (rel 9671), but only with Explorer and not with Firefox, Opera and Safari. The problem didn’t occur with RC3.
I’ve noticed that the files are always uploaded in the predefined  “images” directory, no matter the actual open directory you are in. Even the displayed pathname is always the predefined  “images”  one.
Opening the media manager gives a not specified page display error.
The same problem gives on apache server and on windows localhost.

To work out (temporarily), replace all directory "administrator\components\com_media" RC4 with the same RC3.


Last edited by marcel84 on Sun Jan 06, 2008 5:31 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Sun Jan 06, 2008 10:28 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jan 06, 2008 8:13 pm
Posts: 7
Hi !

Same pb with rel 9671,
flash buttons just after briefly saw html ones
upload give me the orange bar with 405 erreur in
have tried several .htaccess code without result

with firefox or safari

session. use_only_cookies are off

Bravo pour votre travail !
Thanks for your job !

charlot


Last edited by charlot on Sun Jan 06, 2008 10:30 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Sun Jan 06, 2008 10:43 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
Charlot,

We are now at 9904, so you might want to get a  new build. I will say that i still find the IE7 javascript fussy, but it does seem to work for images. 

_________________
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!.


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Mon Jan 07, 2008 3:36 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jan 06, 2008 8:13 pm
Posts: 7
Thanks mcsmom !

Have tried rel 9900 I could get on dev.j

Not better :-(

Note : I had to use old application.php 'cause rel 9900 blocked the site with "unexpected } on line 376" (last one)

Will try again with next rel

Many thanks


charlot


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Mon Jan 07, 2008 4:20 pm 
User avatar
Joomla! Explorer
Joomla! Explorer

Joined: Mon May 14, 2007 6:29 pm
Posts: 261
Location: Norway
Using the verry latest files

I have no troubles in the media manager - tried explorer 7, firefox latest, opera latest...

system info:
--------------------------

PHP Built on:  SunOS uw01.fastname.no 5.10 Generic_118855-15 i86pc
Database Version: 4.1.18
Database Collation: utf8_general_ci
PHP Version: 5.1.4
Web Server: Apache/2.0.58 (Unix) DAV/2 mod_ssl/2.0.58 OpenSSL/0.9.7d PHP/5.1.4
Web Server to PHP interface: cgi
Joomla! Version: Joomla! 1.5.0 Production/Stable [ Karibu ] 19-December-2007 19:00 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11

I can upload - delete etc etc - and all images goes in the correct folders.

this must be a issue related mainly to various systems....

cant replicate the troubles


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Mon Jan 07, 2008 5:06 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 05, 2007 4:22 pm
Posts: 34
It IS related to system settings. Thing is: Joomla should give more feedback if the upload is not succesful. Then it might be possible to find the security setting(s) that are responsible.

Ron


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Mon Jan 07, 2008 5:55 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
You may want to put error reporting on maximum.  It may help with uncovering php and apache issues.

_________________
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!.


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Mon Jan 07, 2008 6:30 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jan 06, 2008 8:13 pm
Posts: 7
Hi everyone !

my System Information
Setting Value

PHP Built on: Linux cgi22-ch 2.6.20-16-server #2 SMP Thu Jun 7 20:26:23 UTC 2007 i686
Database Version: 5.0.41-log
Database Collation: utf8_general_ci
PHP Version: 5.2.1
Web Server: Apache/1.3.34 (Ubuntu) mod_clarassl/1.0 mod_chroot/0.5
Web Server to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.5.0 Production/Stable [ Karibu ] 19-December-2007 19:00 GMT
User Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; fr-fr) AppleWebKit/523.10.6 (KHTML, like Gecko) Version/3.0.4 Safari/523.10.6

Relevant PHP Settings
Safe Mode: Off
Open basedir: None
Display Errors: On
Short Open Tags: On
File Uploads: On
Magic Quotes: On
Register Globals: Off
Output Buffering: Off
Session Save Path: /tmp
Session Auto Start: 0
XML Enabled: Yes
Zlib Enabled: Yes
Disabled Functions: None
Mbstring Enabled: Yes
Iconv Available: Yes
WYSIWYG Editor: Editor - No Editor

The rel is 9900

I always get "Upload failed (405)"

All is "writable"

No debug


Many thanks and all the best from France

charlot


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Tue Jan 08, 2008 1:16 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Sep 05, 2007 4:22 pm
Posts: 34
I have added this problem to the bugtracker: http://joomlacode.org/gf/project/joomla ... em_id=9032


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Wed Jan 09, 2008 9:37 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat May 20, 2006 7:58 am
Posts: 247
Location: Norway
I see that oneone is assigned to this tracker. Is all hope lost  ;), since the trunk for 1.5 is now frozen?

Stian


Top
 Profile  
 
 Post subject: Re: Cannot upload images
PostPosted: Mon Jan 21, 2008 4:59 pm 
Joomla! Ace
Joomla! Ace

Joined: Wed Aug 17, 2005 11:06 pm
Posts: 1318
Location: Lithuania
Status:
Fixed in SVN

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 127 posts ]  Go to page 1, 2, 3, 4, 5  Next



Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group