Upload image file thru media manager failed

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
handoko75
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Oct 12, 2008 4:13 am

Upload image file thru media manager failed

Postby handoko75 » Sun Oct 12, 2008 4:20 am

Hi everyone,

I ve got a problem when i would like to upload image file using media manager. Login screen always shown after click upload the file, while the file itself failed to go to the target web folder.

Any body has a solution for the problem....?

Thanks
Handoko

User avatar
davetanguay
Joomla! Hero
Joomla! Hero
Posts: 2511
Joined: Fri Sep 22, 2006 6:21 pm
Location: Orlando, FL
Contact:

Re: Upload image file thru media manager failed

Postby davetanguay » Sun Oct 12, 2008 7:53 am

check to make sure the target web folder is writable.
CPanel Web Hosting Services http://interactiveonline.com/shared-web-hosting
Follow us on Twitter @interactiveo

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 16083
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Upload image file thru media manager failed

Postby leolam » Sun Oct 12, 2008 7:55 am

What you mean with "login screen always show?" cab you make a print of that message and upload?

Leo 8)
-- Joomla Professional Support Services : https://gws-desk.com --
-- Joomla Specialized Hosting Solutions: https://gws-host.com --
-- Joomla Professional Web Development & Design :www.gws-studio.com
-- Member Joomla Bug Squad --

handoko75
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Oct 12, 2008 4:13 am

Re: Upload image file thru media manager failed

Postby handoko75 » Sun Oct 12, 2008 5:42 pm

This attached file containt print screen happen just before the file uploaded to web server folder ...

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

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 16083
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Upload image file thru media manager failed

Postby leolam » Tue Oct 14, 2008 1:24 am

login in admin with http://www.safeour.......that will resolve this i assume.

what does this line says in your configuration.php?

var $live_site = ''; or
var $live_site = 'http://safeourlife.info'; or
var $live_site = 'http://www.safeourlife.info';

Leo 8)
-- Joomla Professional Support Services : https://gws-desk.com --
-- Joomla Specialized Hosting Solutions: https://gws-host.com --
-- Joomla Professional Web Development & Design :www.gws-studio.com
-- Member Joomla Bug Squad --

handoko75
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Oct 12, 2008 4:13 am

Re: Upload image file thru media manager failed

Postby handoko75 » Tue Oct 14, 2008 5:03 pm

Hi Leolam,

If i login to this admin screen, i will go to the inside within this media menager frame (or window within window). It doesn;t solve the problem.

the line says in my configuration.php is

var $live_site = ''; or


Tks

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 16083
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Upload image file thru media manager failed

Postby leolam » Wed Oct 15, 2008 6:22 am

You missed my first point I think......That login screen should not come up there and your site will crash when you login there as well at all so login to your default administrator with

http://www.safeourlife.info/administrator instead of http://safeourlife.info/admistrator and see if that resolves

(what joomla version you use?)

Leo
-- Joomla Professional Support Services : https://gws-desk.com --
-- Joomla Specialized Hosting Solutions: https://gws-host.com --
-- Joomla Professional Web Development & Design :www.gws-studio.com
-- Member Joomla Bug Squad --

handoko75
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Oct 12, 2008 4:13 am

Re: Upload image file thru media manager failed

Postby handoko75 » Wed Oct 15, 2008 1:36 pm

Hi Leo,

Not work?? i use joomla 1.5.7
.
Tks

User avatar
leolam
Joomla! Master
Joomla! Master
Posts: 16083
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America
Contact:

Re: Upload image file thru media manager failed

Postby leolam » Wed Oct 15, 2008 1:38 pm

Download full version of Joomla 1.5.7 ( not a patched version) > extract > upload full excluding 'installation-folder" and overwrite. Check your file and folder permissions in your system settings (admin > system)... Those which should be writable should be mentioned in 'green"

Leo 8)
-- Joomla Professional Support Services : https://gws-desk.com --
-- Joomla Specialized Hosting Solutions: https://gws-host.com --
-- Joomla Professional Web Development & Design :www.gws-studio.com
-- Member Joomla Bug Squad --

handoko75
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Oct 12, 2008 4:13 am

Re: Upload image file thru media manager failed

Postby handoko75 » Thu Oct 16, 2008 2:43 pm

Hi Leo,

i install the full package of joomla version 1.5.7 while all of directory permission is writeable in system information.

HD

GreenMeanie
Joomla! Apprentice
Joomla! Apprentice
Posts: 39
Joined: Sat Sep 16, 2006 9:21 pm

Re: Upload image file thru media manager failed

Postby GreenMeanie » Fri Oct 17, 2008 4:47 pm

I am also getting an upload failed (406) error when trying to upload images thru the front and back end. I use to be able to upload images all I can think is it was the upgrade to 1.5.7.

handoko75
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Oct 12, 2008 4:13 am

Re: Upload image file thru media manager failed

Postby handoko75 » Sat Oct 18, 2008 9:37 am

Hi Leo,

i have done what r you suggestion, but it doesn't work too, not solve the problem, but this is no problem when i install it on localhost server.

Rgds
Handoko

worldofnic
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Oct 22, 2008 9:35 pm

Re: Upload image file thru media manager failed

Postby worldofnic » Wed Oct 22, 2008 9:40 pm

Dumb question, but is the server a Red Hat Enterprise Linux, CentOS or Fedora box?

If so, it could be an SELinux issue. To see if it is enabled run:

Code: Select all

[[email protected] httpd]# selinuxenabled
[[email protected] httpd]# echo $?
1


If you get a 1 it is NOT enabled. If you get a 0 it is enabled (and will stop apache writing to some parts of the file system).

nic

PS. Similar experiences can happen on AppArmor hosts but that's another story.

handoko75
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Oct 12, 2008 4:13 am

Re: Upload image file thru media manager failed

Postby handoko75 » Wed Oct 22, 2008 11:09 pm

Hi my host server is linux diamond.

I don't know how to run your code.

Tks
HD

User avatar
davetanguay
Joomla! Hero
Joomla! Hero
Posts: 2511
Joined: Fri Sep 22, 2006 6:21 pm
Location: Orlando, FL
Contact:

Re: Upload image file thru media manager failed

Postby davetanguay » Wed Oct 22, 2008 11:42 pm

handoko75 wrote:Hi my host server is linux diamond.

I don't know how to run your code.

Tks
HD



Then you need to contact your host. This is a command ran via root and it sounds like you are on a shared hosting account that doesn't allow root access.
CPanel Web Hosting Services http://interactiveonline.com/shared-web-hosting
Follow us on Twitter @interactiveo

sbetzen
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Fri Oct 24, 2008 5:06 pm

Re: Upload image file thru media manager failed

Postby sbetzen » Fri Oct 24, 2008 5:12 pm

OK... I was having this same problem... and I don't know if this will screw other things up on my site, but I was able to get the upload to work with some experimentation.
What worked:
I went into global configuration and changed (under media settings) "Enable Flash Uploader" to NO.
This sounds crazy... but it worked for me.

If you know something about this, please let me know if I will see problems elsewhere because I did this.

handoko75
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sun Oct 12, 2008 4:13 am

Re: Upload image file thru media manager failed

Postby handoko75 » Sat Oct 25, 2008 7:24 am

Hi sbetzen,

It it work. Thank for this simple solution.

Thanks alot
Handoko

sbetzen wrote:OK... I was having this same problem... and I don't know if this will screw other things up on my site, but I was able to get the upload to work with some experimentation.
What worked:
I went into global configuration and changed (under media settings) "Enable Flash Uploader" to NO.
This sounds crazy... but it worked for me.

If you know something about this, please let me know if I will see problems elsewhere because I did this.

User avatar
mb67
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Sat Apr 12, 2008 10:43 pm

Re: Upload image file thru media manager failed

Postby mb67 » Sat Oct 25, 2008 8:24 pm

This worked for me too, but I'm not sure why? Can anyone expand?

User avatar
brq
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Thu Nov 03, 2005 1:00 pm
Location: Jastrebarsko Croatia
Contact:

Re: Upload image file thru media manager failed

Postby brq » Sun Oct 26, 2008 7:18 pm

Yes, but when you turn off "Flash uploader" You can't do multiple upload. Its possible to upload only file by file.

User avatar
dam-man
Joomla! Exemplar
Joomla! Exemplar
Posts: 7961
Joined: Fri Sep 09, 2005 2:13 pm
Location: The Netherlands
Contact:

Re: Upload image file thru media manager failed

Postby dam-man » Sun Oct 26, 2008 7:57 pm

Ask your host to turn off suhosin (this is a PHP setting), this is causing the error. My server had the same problem, after turning off suhosin it was ready to go.
Robert Dam - Joomla Forum Moderator
Dutch Boards | Joomla Coding Boards | English Support Boards

kalimati
Joomla! Apprentice
Joomla! Apprentice
Posts: 27
Joined: Wed May 03, 2006 12:07 pm

Re: Upload image file thru media manager failed

Postby kalimati » Fri Nov 07, 2008 11:16 am

I checked my server's error logs and discovered problems with open_basedir settings. That is set in php.ini.

worldofnic
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Oct 22, 2008 9:35 pm

Re: Upload image file thru media manager failed

Postby worldofnic » Mon Nov 10, 2008 9:46 pm

OK - so I have a problem with File Upload in media manager.

Choose a file .. upload it ... (file is sent to server ... written to /tmp ... unlinked ) ... file fails to be put under Joomla web space.

No errors in ssl_error_log. How do I work out what the heck is going on? ???

I'm using Joomla 1.5.7 on CentOS5.

php-common-5.1.6-20.el5_2.1
php-mysql-5.1.6-20.el5_2.1
php-pdo-5.1.6-20.el5_2.1
php-cli-5.1.6-20.el5_2.1
php-ldap-5.1.6-20.el5_2.1
php-5.1.6-20.el5_2.1
httpd-2.2.3-11.1fh


Return to “General Questions/New to Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 14 guests