sverhagen / mp3-browser

This Joomla plugin will create a table of every MP3 in a specified folder. It displays the ID3 information of each track with a link to download or play the file in the browser
https://www.totaalsoftware.com/products/mp3-browser
GNU General Public License v2.0
5 stars 6 forks source link

JBrowser issue after J3.3.1 update #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.update to joomla 3.3.1 (from 3.2.2)
2.display page with mp3-browser plugin content

What is the expected output? What do you see instead?
used to work fine before update
now blank page
Fatal error: Class 'JBrowser' not found in 
/home/****/public_html/plugins/content/mp3browser/CoverImage.php on line 73

What version of the product are you using? On what operating system?
mp3-browser 0.3.1
debian 7.5, php 5.4.29

Original issue reported on code.google.com by serveurm...@gmail.com on 17 Jun 2014 at 2:12

GoogleCodeExporter commented 9 years ago
it works now
In plugins/content/mp3browser/CoverImage.php on line 73 I have added the line
jimport('joomla.environment.browser');
before
$browser = JBrowser::getInstance();

Original comment by serveurm...@gmail.com on 17 Jun 2014 at 2:32

GoogleCodeExporter commented 9 years ago
Sounds like we need to fix that in code...

Original comment by sanderverh on 17 Jun 2014 at 3:01

GoogleCodeExporter commented 9 years ago
Had this issue as well. Same fix worked for me too.

Original comment by deron.sp...@gmail.com on 17 Jun 2014 at 3:18

GoogleCodeExporter commented 9 years ago
I didn't have this issue on the demo at 
http://www.totaalsoftware.com/products/all-products/4-mp3-browser but I assume 
it has to do with the order in which extensions are loaded, and I might have 
other extensions that do the same jimport first.

Original comment by sanderverh on 17 Jun 2014 at 3:20

GoogleCodeExporter commented 9 years ago
Committed the fix to Git.

Original comment by sanderverh on 13 Feb 2015 at 8:30