Cannot upload images
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Nov 26, 2007 7:45 am
Cannot upload images
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
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
- Tonie
- Joomla! Master
- Posts: 16553
- Joined: Thu Aug 18, 2005 7:13 am
Re: Cannot upload images
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?
# [#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! Fledgling
- Posts: 4
- Joined: Mon Nov 26, 2007 7:45 am
Re: Cannot upload images
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 ?
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 ?
- Tonie
- Joomla! Master
- Posts: 16553
- Joined: Thu Aug 18, 2005 7:13 am
Re: Cannot upload images
I'll move this to the Q&T forum.
- mcsmom
- Joomla! Exemplar
- Posts: 7897
- Joined: Thu Aug 18, 2005 8:43 pm
- Location: New York
- Contact:
Re: Cannot upload images
do you have safe mode on?
please don't make any directory 777, it is dangerous for your site.
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!.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
- ircmaxell
- Joomla! Ace
- Posts: 1926
- Joined: Thu Nov 10, 2005 3:10 am
- Location: New Jersey, USA
- Contact:
Re: Cannot upload images
Are you using the HTML upload form, or the flash one? (see attached images)
HTML
or
FLASH
HTML
or
FLASH
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
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
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Nov 26, 2007 7:45 am
Re: Cannot upload images
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.
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.
- ircmaxell
- Joomla! Ace
- Posts: 1926
- Joined: Thu Nov 10, 2005 3:10 am
- Location: New Jersey, USA
- Contact:
Re: Cannot upload images
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
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
-
- Joomla! Fledgling
- Posts: 4
- Joined: Mon Nov 26, 2007 7:45 am
Re: Cannot upload images
currently using 9652
-
- Joomla! Apprentice
- Posts: 20
- Joined: Thu Sep 29, 2005 12:15 pm
Re: Cannot upload images
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 ]
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 ]
- bass28
- Joomla! Enthusiast
- Posts: 137
- Joined: Mon Apr 17, 2006 5:11 pm
Re: Cannot upload images
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.
Should mention this is RC4.
-
- Joomla! Apprentice
- Posts: 37
- Joined: Sun Aug 21, 2005 10:24 am
Re: Cannot upload images
Hi ircmaxell!ircmaxell wrote: Are you using the HTML upload form, or the flash one? (see attached images)
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
- jenscski
- Joomla! Ace
- Posts: 1465
- Joined: Thu Aug 18, 2005 6:58 am
- Location: Tønsberg, Norway
Re: Cannot upload images
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
SECFILTERENGINE OFF
SECFILTERSCANPOST OFF
Jens-Christian Skibakk
MMS Blog - http://mms.pipp.no/
Joomla! i Norge / Joomla! in Norway - http://www.joomlainorge.no/
MMS Blog - http://mms.pipp.no/
Joomla! i Norge / Joomla! in Norway - http://www.joomlainorge.no/
-
- Joomla! Apprentice
- Posts: 37
- Joined: Sun Aug 21, 2005 10:24 am
Re: Cannot upload images
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
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
-
- Joomla! Apprentice
- Posts: 34
- Joined: Wed Sep 05, 2007 4:22 pm
Re: Cannot upload images
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'
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.
-
- Joomla! Apprentice
- Posts: 34
- Joined: Wed Sep 05, 2007 4:22 pm
Re: Cannot upload images
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
I reported this bug on the official bug tracker: http://joomlacode.org/gf/project/joomla ... em_id=9032
- jenscski
- Joomla! Ace
- Posts: 1465
- Joined: Thu Aug 18, 2005 6:58 am
- Location: Tønsberg, Norway
Re: Cannot upload images
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.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.
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/
MMS Blog - http://mms.pipp.no/
Joomla! i Norge / Joomla! in Norway - http://www.joomlainorge.no/
- mcsmom
- Joomla! Exemplar
- Posts: 7897
- Joined: Thu Aug 18, 2005 8:43 pm
- Location: New York
- Contact:
Re: Cannot upload images
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!.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
-
- Joomla! Apprentice
- Posts: 34
- Joined: Wed Sep 05, 2007 4:22 pm
Re: Cannot upload images
use_only_cookies is off both on the site on which it DOES work and on the site were it does NOT work.
-
- Joomla! Apprentice
- Posts: 6
- Joined: Thu Nov 08, 2007 10:26 am
Re: Cannot upload images
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.
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.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Sun Jan 06, 2008 8:13 pm
Re: Cannot upload images
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
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.
- mcsmom
- Joomla! Exemplar
- Posts: 7897
- Joined: Thu Aug 18, 2005 8:43 pm
- Location: New York
- Contact:
Re: Cannot upload images
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.
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!.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Sun Jan 06, 2008 8:13 pm
Re: Cannot upload images
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
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
- 3wP
- Joomla! Explorer
- Posts: 261
- Joined: Mon May 14, 2007 6:29 pm
- Location: Norway
Re: Cannot upload images
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
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
-
- Joomla! Apprentice
- Posts: 34
- Joined: Wed Sep 05, 2007 4:22 pm
Re: Cannot upload images
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
Ron
- mcsmom
- Joomla! Exemplar
- Posts: 7897
- Joined: Thu Aug 18, 2005 8:43 pm
- Location: New York
- Contact:
Re: Cannot upload images
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!.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Sun Jan 06, 2008 8:13 pm
Re: Cannot upload images
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
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
-
- Joomla! Apprentice
- Posts: 34
- Joined: Wed Sep 05, 2007 4:22 pm
Re: Cannot upload images
I have added this problem to the bugtracker: http://joomlacode.org/gf/project/joomla ... em_id=9032
-
- Joomla! Enthusiast
- Posts: 247
- Joined: Sat May 20, 2006 7:58 am
- Location: Norway
Re: Cannot upload images
I see that oneone is assigned to this tracker. Is all hope lost , since the trunk for 1.5 is now frozen?
Stian
Stian
-
- Joomla! Ace
- Posts: 1318
- Joined: Wed Aug 17, 2005 11:06 pm
- Location: Lithuania
- Contact:
Re: Cannot upload images
Status:
Fixed in SVN
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
lietuviškas Joomla! puslapis, naujienos, straipsniai, forumas, vertimai
always be open source, and be free as freedom