0
Notice: Undefined index: format in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/router.php on line 10
I recently installed this component and am getting this error message. I checked to make sure all of your plugins were enabled and it should be working fine.
I also disabled error reporting in my global configuration which also didn't work.
when I check lines 10-13 in the router.php file
if ( isset( $query['view'] ) && $query['format'] != "feed" && $query['format'] != "raw" && $query['format'] != "ownpdf" && $query['layout'] != "form") {
$view = strtolower( $query['view'] );
$segments[] = $task;
I don't know what the problem is.
Also... I don't know where the php ini file is located on my server... Im not sure that I have one.
I attached a screenshot of the error messages... and this was supposed to be the main music collection page.
Also, this is working on Joomla 1.7
I recently installed this component and am getting this error message. I checked to make sure all of your plugins were enabled and it should be working fine.
I also disabled error reporting in my global configuration which also didn't work.
when I check lines 10-13 in the router.php file
if ( isset( $query['view'] ) && $query['format'] != "feed" && $query['format'] != "raw" && $query['format'] != "ownpdf" && $query['layout'] != "form") {
$view = strtolower( $query['view'] );
$segments[] = $task;
I don't know what the problem is.
Also... I don't know where the php ini file is located on my server... Im not sure that I have one.
I attached a screenshot of the error messages... and this was supposed to be the main music collection page.
Also, this is working on Joomla 1.7
Responses (28)
-
Accepted Answer
0I just tried to enable to recently added artist module and the recently added albums module and now... when I load my homepage... it comes back as a blank page with this text...
Fatal error: Using $this when not in object context in /home/flower22/public_html/internationalkirtan.com/modules/mod_muscol_recently_added_artists/helper.php on line 16
when I installed this on Joomla 1.5 I had not nearly as many problems... now I'm having a lot of problems with joomla 1.7 and am unsure how to troubleshoot these problems. Is there any solution?
I already tried uninstalling the component and reinstalling that...
everything else was a fresh install and I enabled all of the plugins so it should work fine... -
Accepted Answer
0hello!
about the NOTICE: don't worry about it.. you should only disable error reporting or decrease its level...
about the fatal error: I just found that out, too. some modules are giving some problems on Joomla 1.7... they changed a lot of code and now some properties cannot be accessed. I'm already preparing a minor update to solve this, which should come out this week hopefully.
you'll have to wait a couple days, sorry...!
meanwhile please DO NOT use the modules on Joomla 1.7 (but I believe there's no problem with the component... right?)
Germi -
Accepted Answer
0Well, luckily my site will be offline until it's launched.... I thought I'd get all of the joomla 1.7 upgrades done... and it's been hoorrriiblllee. Every component has errors, lots of bugs...
and, the music collection "homepage" component does error with an
Notice: Undefined index: format in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/router.php on line 10
and
Notice: Undefined variable: task in /home/flower22/public_html/internationalkirtan.com/components/com_muscol/router.php on line 13
Not only does it error like this... but even if I disable error reporting in my global configuration the errors still appear. So I'm really stuck.
And the modules error the entire pages if I enable them.
Joomla 1.7 takes a lot of little improvements apparently. :c)
Don't worry! Music collection isn't the only one! -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0What I found out last night is that the problem comes up when you have the Search Engine Friendly Urls option set to YES.
I am no coder so I have have no clue how to fix that. But it is VERY important to my website that my URLs be as short and to the point as possible. This made me deactivate the component until a solution is found. -
Accepted Answer
0hello!
you are having the problem with the NOTICES?
notices need to be disabled (decreasing error reporting level, on joomla config or php.ini file)
about the problem with some modules on 1.7, most of them were solved but I believe there is a couple modules that still have the problem. I'm going to check it
do you have problems with any module? -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0there's nothing wrong with the code. YES, the code uses an undefined variable (that's the "error" you see, which is not an error, it's just a NOTICE!)
I never said the php.ini caused the error!!! all I said is that these notices (that are just information for developers) can be switched off on the php.ini file, because in that file is where the error reporting level is set!
so it has to have this line:
ERROR_REPORTING = E_ERROR
that's all!
can you try that? or tell your technical team to do it. tell them you want to DECREASE the error reporting level, which is too high!
do you know what I mean? -
Accepted Answer
-
Accepted Answer
0Since your last post, I decided to install the updates and try to get my website to work. I'm hoping to launch my site in the next month or so.
Unfortunately, the music collection modules do not work on my site at all... I turned off error reporting.. and not one of the modules work. Not even with the updates you made 8/31 and 9/01 that I found in the downloads area.
Not sure what to do... I'll try contacting my web host, but I'm not sure if there is anything they will be able to do.
I'm super bummed it does work on Joomla 1.7 because I spent money to upgrade, and don't want to launch my site on Joomla 1.5... Music Collection works perfectly on 1.5!
Let me know if you want my URL, and see if you can help troubleshoot at all. -
Accepted Answer
0Since your last post, I decided to install the updates and try to get my website to work. I'm hoping to launch my site in the next month or so.
Unfortunately, the music collection modules do not work on my site at all... I turned off error reporting.. and not one of the modules work. Not even with the updates you made 8/31 and 9/01 that I found in the downloads area.
Not sure what to do... I'll try contacting my web host, but I'm not sure if there is anything they will be able to do.
I'm super bummed it does work on Joomla 1.7 because I spent money to upgrade, and don't want to launch my site on Joomla 1.5... Music Collection works perfectly on 1.5!
Let me know if you want my URL, and see if you can help troubleshoot at all. -
Accepted Answer
-
Accepted Answer
0Okay great, because I'm getting no resolve disabling the error reporting in the php.ini and changing the .htaccess blah blah
anyway... make sure no one else can see this info...
none of that worked.
internationalkirtan.com
username: admin
password: secret
internationalkirtan.com/administrator
same username and password. -
Accepted Answer
-
Accepted Answer
0Hello,
I 've same router error :
exemple : Notice: Undefined index: layout in /homez.9/.../www/components/com_muscol/router.php on line 10
Notice: Undefined variable: task in /homez.9/.../www/components/com_muscol/router.php on line 13
my Short open tag is on
i disable my reportings error on joomla
Germi, do u have any solution?
rudy -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0OK, you're not the first
DO you need some other information?
my website adress: http://www.be-gospel.com/musique -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Guys I got it to work with the Music Template. You need to make sure you put
error_reporting(E_ERROR);
ini_set('error_reporting', E_ERROR);
in the right place of the router.php file
ACTUAL CODE in ROUTER.PHP
function muscolBuildRoute( &$query ) {
error_reporting(E_ERROR);
ini_set('error_reporting', E_ERROR);
$segments
Thanks Germi & Rudy for your assistance
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »