0
I installed the modules: Random or Featured Albums and Top Rated Albums and I am getting the following messages:
Notice: Undefined variable: option in /home/filetwod/public_html/di3aya/entertainment/components/com_muscol/models/search.php on line 42
Notice: Undefined variable: where_clause in /home/filetwod/public_html/di3aya/entertainment/modules/mod_muscol_featured_albums/helper.php on line 51
Notice: Undefined variable: artist_name in /home/filetwod/public_html/di3aya/entertainment/modules/mod_muscol_featured_albums/tmpl/default.php on line 74
Notice: Undefined variable: artist_name in /home/filetwod/public_html/di3aya/entertainment/modules/mod_muscol_featured_albums/tmpl/default.php on line 74
Why?
the URL is
http://www.di3aya.com/entertainment/music.html?view=artists&layout=detailed
Notice: Undefined variable: option in /home/filetwod/public_html/di3aya/entertainment/components/com_muscol/models/search.php on line 42
Notice: Undefined variable: where_clause in /home/filetwod/public_html/di3aya/entertainment/modules/mod_muscol_featured_albums/helper.php on line 51
Notice: Undefined variable: artist_name in /home/filetwod/public_html/di3aya/entertainment/modules/mod_muscol_featured_albums/tmpl/default.php on line 74
Notice: Undefined variable: artist_name in /home/filetwod/public_html/di3aya/entertainment/modules/mod_muscol_featured_albums/tmpl/default.php on line 74
Why?
the URL is
http://www.di3aya.com/entertainment/music.html?view=artists&layout=detailed
Responses (4)
-
Accepted Answer
0uf
that's because of your PHP configuration... :S it requires to initialize the variables before using them (so strange!). what PHP version are you using?
I'm pretty sure this can be easily solved by adjusting your PHP configuration, however right now I dont know what is the variable you should change. let me investigate a little bit..
Germi -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0I've been looking around and I dont know why you get these messages.
and, yet, the modules load the albums correctly.
so, try to do this: put the code
error_reporting(0);
at the beginning of the file
/modules/mod_muscol_featured_albums/helper.php
to disable error reporting for this file... and see if the errors (for featured albums module) still appear.
well, these are not errors (otherwise, the script would crash) , but only notices
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 »