Bug with Media Manager Joomla! 3.3.0
Moderator: ooffick
Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu May 01, 2014 5:16 am
Bug with Media Manager Joomla! 3.3.0
I found a bug with the Media Manager. Can't upload into specific folder.
instead of:
/images/document/download.png
/images/banners/120x300.png
it uploads:
/images/download.png
/images/120x300.png
Can't upload into the document/banner folder. How can I fix this?
Thanks!
instead of:
/images/document/download.png
/images/banners/120x300.png
it uploads:
/images/download.png
/images/120x300.png
Can't upload into the document/banner folder. How can I fix this?
Thanks!
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Sep 02, 2009 5:25 pm
Re: Bug with Media Manager Joomla! 3.3.0
Anybody?
I'm facing the same problem.
How can I fix it without a new complete update?
I'm facing the same problem.
How can I fix it without a new complete update?
-
- Joomla! Fledgling
- Posts: 1
- Joined: Thu May 01, 2014 9:23 am
Re: Bug with Media Manager Joomla! 3.3.0
Same here....
it also happens when you try to create a new folder.
it also happens when you try to create a new folder.
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Bug with Media Manager Joomla! 3.3.0
Not sure whether it causes other problems but functionality is restored by using media/media/js/mediamanager.js from j323.
Looks like removing mootools wasn't tested properly. The path is lost!
Looks like removing mootools wasn't tested properly. The path is lost!
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Ace
- Posts: 1097
- Joined: Thu Sep 24, 2009 5:40 pm
- Location: Austin, TX, USA
Re: Bug with Media Manager Joomla! 3.3.0
did anyone add this to the bug tracker?
Co-author Using Joomla, Second Edition (migration/upgrade included) http://www.usingjoomlabook.com
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html
Find a Joomla User Group (JUG) near you http://community.joomla.org/user-groups.html
-
- Joomla! Fledgling
- Posts: 4
- Joined: Wed Sep 02, 2009 5:25 pm
Re: Bug with Media Manager Joomla! 3.3.0
I have changed the file media/media/js/mediamanager.js by that in Joomla 3.2.2 version.
That seems work fine, but, I don't know if that may bug other functionality.
That seems work fine, but, I don't know if that may bug other functionality.
-
- Joomla! Apprentice
- Posts: 7
- Joined: Fri Jul 22, 2011 11:54 am
Re: Bug with Media Manager Joomla! 3.3.0
Same issue here.
JCE File Manager plugin is a good temp workaround.
JCE File Manager plugin is a good temp workaround.
-
- Joomla! Apprentice
- Posts: 31
- Joined: Fri Dec 21, 2012 1:47 pm
- Location: UK
- Contact:
Re: Bug with Media Manager Joomla! 3.3.0
If the issue is just about uploading an image (no resizing by a module) then you can just upload via FTP. If necessary you can create a folder, put images in that and upload the whole folder to the right directory in your Joomla site. That's a workaround I guess.
Jenina Bas
Backup today to cope with tomorrow
Backup today to cope with tomorrow
- alexred
- Joomla! Explorer
- Posts: 433
- Joined: Sat Aug 20, 2005 9:18 pm
- Location: Italy
- Contact:
Re: Bug with Media Manager Joomla! 3.3.0
yes: http://joomlacode.org/gf/project/joomla ... start=8775jgress- wrote:did anyone add this to the bug tracker?
but now you can't open the tracker
Member of the Italian Joomla Translation Team
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Bug with Media Manager Joomla! 3.3.0
It is #32032 in the Feature tracker that caused it. It is about replacing mootools with JQuery. Think it is merged by mistake, the error was reported.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Fri Feb 10, 2012 12:11 am
Re: Bug with Media Manager Joomla! 3.3.0
Has Joomla recognised this as a Problem that requires a correction and is it their intention to provide an official fix.
At the moment we seem to have a lot of guesses but no positive fix.
At the moment we seem to have a lot of guesses but no positive fix.
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Bug with Media Manager Joomla! 3.3.0
Yes, as reported in earlier posts in this thread, it is recognized as a problem. Even a fix was proposed. Just confirmed that solution.
See https://github.com/joomla/joomla-cms/pull/3551
See https://github.com/joomla/joomla-cms/pull/3551
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Apprentice
- Posts: 10
- Joined: Mon Apr 15, 2013 3:11 am
Re: Bug with Media Manager Joomla! 3.3.0
I have the same problem. When I try to upload a file into a folder in my media manager, it doesn't go into the folder. I'm also having a whole lot of other problems wish I never updated now
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Bug with Media Manager Joomla! 3.3.0
did you try the fix?
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Fri Feb 10, 2012 12:11 am
Re: Bug with Media Manager Joomla! 3.3.0
No, I have not applied a Fix, because I cannot find one in English. I have tried to intepret German but no luck. Users like me need something like a Patch that can just be Installed through Backend. I am not familiar with PHP Programming, which seems to be the German fix.
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Fri Feb 10, 2012 12:11 am
Re: Bug with Media Manager Joomla! 3.3.0
I ended up using Google Translation to view German Post and although not familiar with PHP, I was able to navigate to Line 47 and change the Code, with success.
I still believe that Joomla People should be able to provide an Install Patch when these types of problems are identified, so that Novices like myself cannot break their systems.
And, the other thing that is not clear to me, is; What caused this problem in a Stable System, in the first place. Was it the v3.3 Update or What.
I always seek an answer to these niggly things. I like to be on Guard.
I still believe that Joomla People should be able to provide an Install Patch when these types of problems are identified, so that Novices like myself cannot break their systems.
And, the other thing that is not clear to me, is; What caused this problem in a Stable System, in the first place. Was it the v3.3 Update or What.
I always seek an answer to these niggly things. I like to be on Guard.
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Bug with Media Manager Joomla! 3.3.0
Why do you think I provided a link to the PR?
Clicking it brings you to the PR that contains the code change. Clicking on cfafe87 shows you the changed line. See the red cross in front of it, normally that is a green V saying all tests ran without error. Beeing red cross now has nothing to do with the change itself. Just click the cfafe87.
Clicking it brings you to the PR that contains the code change. Clicking on cfafe87 shows you the changed line. See the red cross in front of it, normally that is a green V saying all tests ran without error. Beeing red cross now has nothing to do with the change itself. Just click the cfafe87.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Fri Feb 10, 2012 12:11 am
Re: Bug with Media Manager Joomla! 3.3.0
Perhaps if you included the "Quote" of my Reply, I may be able to follow what you mean in your reply to my earlier post. With so many posts and replies to the topic, it is hard to follow the story with no Quotes, as they are each like a separate little part of the story, which often do not provide the answer one may be seeking.sovainfo wrote:Why do you think I provided a link to the PR?
Clicking it brings you to the PR that contains the code change. Clicking on cfafe87 shows you the changed line. See the red cross in front of it, normally that is a green V saying all tests ran without error. Beeing red cross now has nothing to do with the change itself. Just click the cfafe87.
And the Tracker Links, well they are useless, they will not open, on my machine at least.
What the heck is "cfafe87", have not seen this anywhere.
Like I said before, when these problems happen as a result of an Authorised change to the software, such as a Version Update, it should be Joomla Development who provides a further Version Update to correct the created problem, that is reported. Instead, we seem to have to rely on people on the Forum, such as yourself, to develop the fix, that we novice users have to attempt to apply it to our systems, by changing Code we know nothing about, with the potential existing for a stuffed system.
And, I am still not clear as to What the Cause of the problem is.
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Bug with Media Manager Joomla! 3.3.0
Consider qouting like you do right pretty useless. Only use it when referring to small parts or not the last post.
It is obvious you are not familiar with github. Maybe this is better for you: https://github.com/joomla/joomla-cms/pull/3551.diff
It is obvious you are not familiar with github. Maybe this is better for you: https://github.com/joomla/joomla-cms/pull/3551.diff
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Apprentice
- Posts: 10
- Joined: Tue Mar 23, 2010 5:20 am
Re: Bug with Media Manager Joomla! 3.3.0
Hi,
I have tried applying the suggested fix (replacing $this->folder = $this->input->get('folder', '', 'path'); with $this->folder = $this->input->get->get('folder', '', 'path'); in administrator/components/com_media/controllers/file.php) and it doesn't resolve the problem for me. When I try to create a new folder within a subfolder, the new folder is still created in the root directory of images/.
It's bizarre because i have a few installations of Joomla 3.3 and this is only an issue in one of them. Correction! I have just checked and found out the 'working' installations are Joomla 3.2.3 ...
Any suggestions? Thanks for any help you can offer.
I have tried applying the suggested fix (replacing $this->folder = $this->input->get('folder', '', 'path'); with $this->folder = $this->input->get->get('folder', '', 'path'); in administrator/components/com_media/controllers/file.php) and it doesn't resolve the problem for me. When I try to create a new folder within a subfolder, the new folder is still created in the root directory of images/.
It's bizarre because i have a few installations of Joomla 3.3 and this is only an issue in one of them. Correction! I have just checked and found out the 'working' installations are Joomla 3.2.3 ...
Any suggestions? Thanks for any help you can offer.
-
- Joomla! Apprentice
- Posts: 24
- Joined: Tue Jun 26, 2012 11:07 pm
Re: Bug with Media Manager Joomla! 3.3.0
I've applied the "fix" (http://www.joomlaportal.de/joomla-3-x-i ... sed-2.html) and it's not working in Firefox, Chrome, Safari, Opera, or Camino.
JoomlaCode has it listed as fixed.
http://joomlacode.org/gf/project/joomla ... 13&start=0
Anyone have more info on this?
ESTV
JoomlaCode has it listed as fixed.
http://joomlacode.org/gf/project/joomla ... 13&start=0
Anyone have more info on this?
ESTV
-
- Joomla! Apprentice
- Posts: 24
- Joined: Tue Jun 26, 2012 11:07 pm
Re: Bug with Media Manager Joomla! 3.3.0
I found the solutions (I think). Take into account, that these fixes should be in 3.3.1 so if UR not comfortable editing the code, U can ftp until it's fixed. Remember that if you ftp, be sure to upload a blank index.html into every folder you create. As always, back up Ur stuff before U edit it.
FOR MEDIA FILES:
http://www.joomlaportal.de/joomla-3-x-i ... sed-2.html (comment #19)
Here's the file U need to edit:
/administrator/components/com_media/controllers/file.php
Under "public function upload()" look for the code on line #47:
$this->folder = $this->input->get('folder', '', 'path');
and change it to
$this->folder = $this->input->get->get('folder', '', 'path');
Your adding a second "->get" (w/o the quotes)
~
FOR NESTING FOLDERS:
https://github.com/joomla/joomla-cms/co ... faaac55762
You are changing (2) files for this.
FILE #1 - administrator/components/com_media/views/media/tmpl/default.php
Line #72 changes from
<input type="text" id="folderpath" readonly="readonly" />
to
<input type="text" id="folderpath" readonly="readonly" class="update-folder" />
Line #73 changes from **ESTV EDIT - I typed Line #74 initially, Sry. **
<input type="text" id="foldername" name="foldername" />
to
<input type="text" id="foldername" name="foldername" />
FILE #2 - media/media/js/mediamanager.js
Line #45 changes from
this.updatepaths.each(function(path){ path.value =folder; });
to
this.updatepaths.each(function(path, el){ el.value =folder; });
Line #48 changes from
this.updatepaths.each(function(path){ path.value = ''; });
to
this.updatepaths.each(function(path, el){ el.value = ''; });
These should fix the issue with nesting folders and media appearing in the incorrect/requested directories.
Hope this helps!
ESTV
FOR MEDIA FILES:
http://www.joomlaportal.de/joomla-3-x-i ... sed-2.html (comment #19)
Here's the file U need to edit:
/administrator/components/com_media/controllers/file.php
Under "public function upload()" look for the code on line #47:
$this->folder = $this->input->get('folder', '', 'path');
and change it to
$this->folder = $this->input->get->get('folder', '', 'path');
Your adding a second "->get" (w/o the quotes)
~
FOR NESTING FOLDERS:
https://github.com/joomla/joomla-cms/co ... faaac55762
You are changing (2) files for this.
FILE #1 - administrator/components/com_media/views/media/tmpl/default.php
Line #72 changes from
<input type="text" id="folderpath" readonly="readonly" />
to
<input type="text" id="folderpath" readonly="readonly" class="update-folder" />
Line #73 changes from **ESTV EDIT - I typed Line #74 initially, Sry. **
<input type="text" id="foldername" name="foldername" />
to
<input type="text" id="foldername" name="foldername" />
FILE #2 - media/media/js/mediamanager.js
Line #45 changes from
this.updatepaths.each(function(path){ path.value =folder; });
to
this.updatepaths.each(function(path, el){ el.value =folder; });
Line #48 changes from
this.updatepaths.each(function(path){ path.value = ''; });
to
this.updatepaths.each(function(path, el){ el.value = ''; });
These should fix the issue with nesting folders and media appearing in the incorrect/requested directories.
Hope this helps!
ESTV
- webm3442
- Joomla! Intern
- Posts: 88
- Joined: Sat Aug 04, 2007 7:27 am
- Location: NL - Eindhoven
- Contact:
Re: Bug with Media Manager Joomla! 3.3.0
Patch can be found here
- adam_nz
- Joomla! Enthusiast
- Posts: 157
- Joined: Thu Nov 03, 2005 7:21 am
- Location: Auckland - New Zealand
- Contact:
Re: Bug with Media Manager Joomla! 3.3.0
Applied the patch - still doesn't work :-(
- webm3442
- Joomla! Intern
- Posts: 88
- Joined: Sat Aug 04, 2007 7:27 am
- Location: NL - Eindhoven
- Contact:
Re: Bug with Media Manager Joomla! 3.3.0
Then you must be doing something wrong. Here
http://joomlacode.org/gf/project/joomla ... 13&start=0
are confirmations of succesfull tests and I have two more confirmations.
http://joomlacode.org/gf/project/joomla ... 13&start=0
are confirmations of succesfull tests and I have two more confirmations.
- adam_nz
- Joomla! Enthusiast
- Posts: 157
- Joined: Thu Nov 03, 2005 7:21 am
- Location: Auckland - New Zealand
- Contact:
Re: Bug with Media Manager Joomla! 3.3.0
If you read that very same post, you'll see it's NOT fixed!
"Submitted By: Stefania Gaianigo
the patch solves the issue of image uploading but still remain the issue of the folder creation, if you try to create a folder within a folder, it is created in the root image folder"
I just totally closed/opened the browser, refreshed the page and got the same problem again. I triple checked the code - re-pasted from the GitHub code, re-uploaded and still the same.
Looking at the source code of the page:
<input id="folderbase" class="update-folder" type="hidden" value="" name="folderbase">
... there's no value being passed.
EDIT: Hmmmm ... I can't have cleared the cache properly. I rebooted the whole PC and now it's working! :-)
The weird thing is that I did all the usual things: CTRL-reload, logged out, logged in etc.
"Submitted By: Stefania Gaianigo
the patch solves the issue of image uploading but still remain the issue of the folder creation, if you try to create a folder within a folder, it is created in the root image folder"
I just totally closed/opened the browser, refreshed the page and got the same problem again. I triple checked the code - re-pasted from the GitHub code, re-uploaded and still the same.
Looking at the source code of the page:
<input id="folderbase" class="update-folder" type="hidden" value="" name="folderbase">
... there's no value being passed.
EDIT: Hmmmm ... I can't have cleared the cache properly. I rebooted the whole PC and now it's working! :-)
The weird thing is that I did all the usual things: CTRL-reload, logged out, logged in etc.
-
- Joomla! Enthusiast
- Posts: 131
- Joined: Fri Feb 10, 2012 12:11 am
Re: Bug with Media Manager Joomla! 3.3.0
I will try to make my point again.
Because this problem seems to have originated from a Joomla Update, why doesn't Joomla release another Update, that will fix the problem for everyone.
I would see this as a much simpler solution for everyone concerned.
Not everyone understands Coding of PHP and many could end up doing more harm to their Site.
Why is my idea too difficult.
Because this problem seems to have originated from a Joomla Update, why doesn't Joomla release another Update, that will fix the problem for everyone.
I would see this as a much simpler solution for everyone concerned.
Not everyone understands Coding of PHP and many could end up doing more harm to their Site.
Why is my idea too difficult.
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Bug with Media Manager Joomla! 3.3.0
You either apply the patch or wait for 3.3.1.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
-
- Joomla! Fledgling
- Posts: 1
- Joined: Sun May 11, 2014 11:39 pm
Re: Bug with Media Manager Joomla! 3.3.0
In addition to all the reports on media manager in v3.3 update. I discovered I can not place any photo in any module properly, when I resize it and save, it always resorts to the full size image. Thanks guys! Doug
-
- Joomla! Exemplar
- Posts: 8808
- Joined: Sat Oct 01, 2011 7:06 pm
Re: Bug with Media Manager Joomla! 3.3.0
Let me guess, using IE as browser?
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!