artist stats error

Dustin
Dustin
Offline
0
the error tells me to look at this bit of code:
case "graphic":
require(JModuleHelper::getLayoutPath('mod_muscol_statistics', 'graphic'));
break;
case "table":
require(JModuleHelper::getLayoutPath('mod_muscol_statistics', 'table'));
break;
default:
require(JModuleHelper::getLayoutPath('mod_muscol_statistics'));

any ideas whats wrong here? it only displays and error when i choose to use the graphic or table layout.. I only have 3 artists if that would be the problem?
Responses (5)
  • Accepted Answer

    Wednesday, November 17 2010, 06:05 PM - #Permalink
    0
    no, it should not..

    what is exactly the error?
    The reply is currently minimized Show
  • Accepted Answer

    Dustin
    Dustin
    Offline
    Thursday, November 18 2010, 12:49 PM - #Permalink
    0
    Basically when i choose to display the statistics module i get and error when choosing "graphic" mode or "table" mode.. default mode works fine but the others wont even let me see my webpage and gives me an error like the one above.. and tells me to look at line 16 of the code.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Thursday, November 18 2010, 12:55 PM - #Permalink
    0
    I get something similar as well. Default works just fine, but if I choose one of the other two modes, all I get is a blank page.

    EDIT: I don't have errors turned on, so that is probably why I am not showing any like dbeaird, just a blank page. But if you need a live demo of the error, please feel free to login to my site and check it out using the same login info I sent you earlier.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Friday, November 19 2010, 01:07 PM - #Permalink
    0
    I was looking at this closer. It appears on my site when I choose Table or Graphic for the Layout that it strips out most of the stuff within the HEAD tags.

    It adds something like this:

    jdoc:include type="head"

    But then removes almost everything else within the opening and closing html HEAD tags. Removing all the css and javascript and anything else that is in there. Any ideas as to why?
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 22 2010, 05:42 PM - #Permalink
    0
    ok, problem found

    as usual, you were right.

    please download this updated module version: http://www.joomlamusicsolutions.com/downloads/doc_details/88-statistics-report-module-ranking.html?lang=en

    and reinstall it...
    The reply is currently minimized Show
Your Reply