Media Manager will not upload

Need help with the Administration of your Joomla! 2.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Media Manager will not upload

Post by bonecone » Tue Sep 06, 2011 5:45 pm

When I try to upload a file in Media Manager for Joomla 1.6.3, a download dialog pops up telling me that I have chosen to open joomla.json and gives me the option to open or save.

Is anyone else encountering this problem? Any fixes/suggestions?

User avatar
Azmo
Joomla! Guru
Joomla! Guru
Posts: 582
Joined: Wed Apr 06, 2011 6:31 pm
Location: Maryland, USA
Contact:

Re: Media Manager will not upload

Post by Azmo » Tue Sep 06, 2011 6:12 pm

what is the extension of the file? is it covered in your legal media file extension types?
If I give you an outside solution, I have no affiliation with that product. I may use it, but that is the end of the relationship.

User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Re: Media Manager will not upload

Post by bonecone » Tue Sep 06, 2011 6:19 pm

Yes, it was a jpg

User avatar
Azmo
Joomla! Guru
Joomla! Guru
Posts: 582
Joined: Wed Apr 06, 2011 6:31 pm
Location: Maryland, USA
Contact:

Re: Media Manager will not upload

Post by Azmo » Tue Sep 06, 2011 6:22 pm

json support is native in php 5.2 and above. what version of php are you on?
If I give you an outside solution, I have no affiliation with that product. I may use it, but that is the end of the relationship.

User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Re: Media Manager will not upload

Post by bonecone » Tue Sep 06, 2011 10:41 pm

I'm on version 5.2.17

User avatar
Azmo
Joomla! Guru
Joomla! Guru
Posts: 582
Joined: Wed Apr 06, 2011 6:31 pm
Location: Maryland, USA
Contact:

Re: Media Manager will not upload

Post by Azmo » Tue Sep 06, 2011 11:25 pm

I guess my first suggestion is to upgrade to 1.6.6 for at least the security patch aspect. Then retry media upload. (of course 1.6.6 is also no longer under support, but it is more secure than 1.6.3).
If I give you an outside solution, I have no affiliation with that product. I may use it, but that is the end of the relationship.

User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Re: Media Manager will not upload

Post by bonecone » Wed Sep 07, 2011 1:17 am

Yuck! I just tried the automatic upgrade and the operation timed out. Now it's still version 1.6.3, but when I click to button to find upgrades, Joomla 1.7 won't show up in the list like it did before.

Am I able to upgrade manually through FTP like I did with 1.5?

User avatar
Azmo
Joomla! Guru
Joomla! Guru
Posts: 582
Joined: Wed Apr 06, 2011 6:31 pm
Location: Maryland, USA
Contact:

Re: Media Manager will not upload

Post by Azmo » Wed Sep 07, 2011 1:33 am

1.6.3 to 1.7 is not an accepted path for upgrade... You have to upgrade to 1.6.5 or 1.6.6 before you can go to 1.7... Not necessarily recommended until you test and ascertain your extensions will work in 1.7... Look for the 1.6.6 upgrade path in the available downloads...

to 1.7 is http://docs.joomla.org/Upgrade_1.6.5_to_1.7
If I give you an outside solution, I have no affiliation with that product. I may use it, but that is the end of the relationship.

User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Re: Media Manager will not upload

Post by bonecone » Wed Sep 07, 2011 3:20 am

I've updated to 1.6.6 but still getting the same problem. I'll try 1.7 tomorrow and see what happens. Any idea of what it could be? Thanks for your help!

User avatar
Azmo
Joomla! Guru
Joomla! Guru
Posts: 582
Joined: Wed Apr 06, 2011 6:31 pm
Location: Maryland, USA
Contact:

Re: Media Manager will not upload

Post by Azmo » Wed Sep 07, 2011 10:05 am

It still seems like something with php and joomla. Your browser isn't getting the instruction to execute but to 'open' the json which. Try running the forum post assistant script here:http://forum.joomla.org/viewtopic.php?f=428&t=272481 and we will see if there is something someone can spot with your configuration.
If I give you an outside solution, I have no affiliation with that product. I may use it, but that is the end of the relationship.

User avatar
kenmcd
Joomla! Champion
Joomla! Champion
Posts: 5672
Joined: Thu Aug 18, 2005 2:09 am
Location: California
Contact:

Re: Media Manager will not upload

Post by kenmcd » Wed Sep 07, 2011 11:30 am

.
Check that json is included in the server mime-types configuration.
You should see a line such as:

Code: Select all

application/json	json
This tells the server how to handle that file type.

You should also confirm that json shows as enabled in the PHP info.
Site > System Information > PHP Information
Look for the json section.


.
██ LibreTraining

User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Re: Media Manager will not upload

Post by bonecone » Wed Sep 07, 2011 8:21 pm

kenmcd wrote:.
Check that json is included in the server mime-types configuration.
You should see a line such as:

Code: Select all

application/json	json
This tells the server how to handle that file type.
.

json is enabled under php information
Where do I find the server mime types?

Also, here is the diagnostic information

JTS-post Diagnostic Information wrote:Joomla! Version: Joomla! 1.6.6 Stable [ Onward ] 26-Jul-2011 23:00 GMT
configuration.php: Not Writable (Mode: 444 ) | Architecture/Platform: Linux 2.6.32.8-grsec-2.1.14-modsign-xeon-64 ( x86_64) | Web Server: Apache | PHP Version: 5.2.17
PHP Requirements: register_globals: Disabled | magic_quotes_gpc: Disabled | safe_mode: Disabled | MySQL Support: Yes | XML Support: Yes | zlib Support: Yes
mbstring Support (1.5 or above): Yes | iconv Support (1.5 or above): Yes | save.session_path: Writable | Max.Execution Time: 30 seconds | File Uploads: Enabled
MySQL Version: 5.1.53-log ( mysql.lillianfidler.com via TCP/IP )
JTS-post Extended Information wrote:SEF: Enabled (without ReWrite) | Legacy Mode: N/A | FTP Layer: N/A | htaccess: Not Implemented
PHP/suExec: User and Web Server accounts are the same. (PHP/suExec probably installed)
PHP Environment: API: cgi-fcgi | MySQLi: Yes | Max. Memory: 90M | Max. Upload Size: 7M | Max. Post Size: 8M | Max. Input Time: 60 | Zend Version: 2.2.0
Disabled Functions:
MySQL Client: 5.0.51a ( latin1 )

User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Re: Media Manager will not upload

Post by bonecone » Thu Sep 08, 2011 9:40 pm

Would it help if I use an earlier version of PHP?

User avatar
Azmo
Joomla! Guru
Joomla! Guru
Posts: 582
Joined: Wed Apr 06, 2011 6:31 pm
Location: Maryland, USA
Contact:

Re: Media Manager will not upload

Post by Azmo » Sat Sep 10, 2011 1:20 pm

under /apache/conf/ you should have a file called mime.types... That is where you find the "application/json json"... If you don't have access to it, you'll need to query your provider...
If I give you an outside solution, I have no affiliation with that product. I may use it, but that is the end of the relationship.

User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Re: Media Manager will not upload

Post by bonecone » Mon Sep 12, 2011 8:43 pm

The hosting provider wouldn't add anything to the mime.types file. But they said I could acheive the equivalent by adding the line

AddType application/json json

to the .htaccess file.

I added the line to the end of the file, cleared the server cache, including expired cache, and tried to upload the file again but got the same results. It still tries to download the joomla.json file.

User avatar
Azmo
Joomla! Guru
Joomla! Guru
Posts: 582
Joined: Wed Apr 06, 2011 6:31 pm
Location: Maryland, USA
Contact:

Re: Media Manager will not upload

Post by Azmo » Tue Sep 13, 2011 11:14 am

just on the off-chance have you tried other browsers?

Can you upload and install extensions through the extension manager?
If I give you an outside solution, I have no affiliation with that product. I may use it, but that is the end of the relationship.

User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Re: Media Manager will not upload

Post by bonecone » Tue Sep 13, 2011 12:32 pm

I can install extensions.

Same thing happens in IE and Chrome.

User avatar
Azmo
Joomla! Guru
Joomla! Guru
Posts: 582
Joined: Wed Apr 06, 2011 6:31 pm
Location: Maryland, USA
Contact:

Re: Media Manager will not upload

Post by Azmo » Tue Sep 13, 2011 1:51 pm

Okay do you have SEF enabled in Global Config? and what is the $live_site variable set to in your configuration.php?
If I give you an outside solution, I have no affiliation with that product. I may use it, but that is the end of the relationship.

User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Re: Media Manager will not upload

Post by bonecone » Tue Sep 13, 2011 2:14 pm

SEF URLs are on. Live Site is http://studiomaxx.ca

User avatar
Azmo
Joomla! Guru
Joomla! Guru
Posts: 582
Joined: Wed Apr 06, 2011 6:31 pm
Location: Maryland, USA
Contact:

Re: Media Manager will not upload

Post by Azmo » Tue Sep 13, 2011 2:28 pm

see if changing the live_site variable to http://www.studiomaxx.ca/en/ helps at all...
If I give you an outside solution, I have no affiliation with that product. I may use it, but that is the end of the relationship.

User avatar
bonecone
Joomla! Apprentice
Joomla! Apprentice
Posts: 49
Joined: Sat Apr 25, 2009 1:22 pm

Media Manager will not upload [SOLVED]

Post by bonecone » Tue Sep 13, 2011 3:01 pm

It worked! Thanks! Is there any way I can rate you?
Last edited by bonecone on Tue Sep 13, 2011 5:07 pm, edited 1 time in total.

User avatar
Azmo
Joomla! Guru
Joomla! Guru
Posts: 582
Joined: Wed Apr 06, 2011 6:31 pm
Location: Maryland, USA
Contact:

Re: Media Manager will not upload

Post by Azmo » Tue Sep 13, 2011 3:13 pm

Thanks is good... Glad it is working...

You should add [Solved] to the subject in your first post so anyone else with this issue can find it searching... \

Enjoy!
If I give you an outside solution, I have no affiliation with that product. I may use it, but that is the end of the relationship.

srqhelpdesk
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu May 03, 2012 2:51 am

Re: Media Manager will not upload[Solved]

Post by srqhelpdesk » Thu May 03, 2012 3:02 am

So, not sure if anyone is still reading this thread, but I wanted to say that the live site name worked for me also.

I read through this forum and saw that it worked but didn't immediately catch on until I remembered that I added a 301 (permanent redirect) that pointed my-site.com to www.my-site.com

I should have suspected something was up when I couldn't use either one to access my backend.

so, yeah. lesson learned. If you make a permanent redirect from your-site.com to www.your-site.com, go in to configuration.php and update

public $live_site = 'your-site.com';
-to-
public $live_site = 'www.your-site.com';

Thanks!

wahahey
Joomla! Apprentice
Joomla! Apprentice
Posts: 14
Joined: Wed Jul 15, 2009 9:06 pm

Re: Media Manager will not upload

Post by wahahey » Wed May 09, 2012 9:57 am

:D

Thank you Azmo - worked for me too.

As suggested I think bonecone should add [solved] to the original post as it took quite a while to find this answer!

Cheers

partydogz
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Apr 19, 2010 8:08 am

Re: Media Manager will not upload

Post by partydogz » Wed Jul 11, 2012 2:47 am

Azmo wrote:see if changing the live_site variable to http://www.studiomaxx.ca/en/ helps at all...
I am having the same problem. Can someone tell me where I can make this change at?

partydogz
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Apr 19, 2010 8:08 am

Re: Media Manager will not upload

Post by partydogz » Fri Aug 10, 2012 11:11 pm

Azmo wrote:see if changing the live_site variable to http://www.studiomaxx.ca/en/ helps at all...
Where is this setting at?

rhammer54
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Sep 06, 2012 11:44 am

Re: Media Manager will not upload

Post by rhammer54 » Mon Jan 14, 2013 10:10 pm

I have now this problem in Joomla 2.5.6 set up. I cannot upload images from the media manager and get the joomla.json popup. I cannot find an SEF setting in the Global Config menu? How do I add this if it is missing?

User avatar
numinousmedia
Joomla! Ace
Joomla! Ace
Posts: 1567
Joined: Fri Dec 16, 2011 6:13 pm
Location: Barberton, OH
Contact:

Re: Media Manager will not upload

Post by numinousmedia » Mon Mar 18, 2013 8:47 pm

To adjust the live_site variable, you need to use an FTP program like Filezilla to access the configuration.php file in your main Joomla directory on your server.

The SEF settings in the Global Config menu are located on the right side of the "Site" tab.
Ryan
Frontend Developer and Joomla Professional
Ethode Website Development: http://www.ethode.com
Personal Site: http://www.numinousmedia.com

stenniz
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Mar 26, 2013 10:12 am

Re: Media Manager will not upload

Post by stenniz » Tue Mar 26, 2013 10:28 am

Still having this problem. I changed the $live site setting in the configuration.php and the SEF Urls option is on.

If I click on 'start upload' Joomla asks me to open or save the file joomla.json? This happens with any kind of file I try to upload.

Please help, what setting am I missing? Thanks!

stenniz
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Mar 26, 2013 10:12 am

Re: Media Manager will not upload

Post by stenniz » Tue Mar 26, 2013 10:48 am

If I disbale the flash uploader (media manager, options) I can upload.


Locked

Return to “Administration Joomla! 2.5”