network error 404 top_viewed.css

Ahad
Ahad
Offline
0
I have below error in my firebug,

"NetworkError: 404 Not Found - http://www.domain.com/modules/mod_muscol_featured_top_viewed/tmpl/top_viewed.css"

When I go to the top_viewed.css file it only contains:

@charset "UTF-8";
/* CSS Document */

Is there anyway to avoid this error?
Thank you.
Responses (6)
  • Accepted Answer

    Wednesday, November 30 2011, 10:02 PM - #Permalink
    0
    mmmm... are you sure this is the file? I mean, if it's empty, it's not a problem, but your error says it's not found. can you check you are in the right folder?
    The reply is currently minimized Show
  • Accepted Answer

    Ahad
    Ahad
    Offline
    Wednesday, November 30 2011, 10:10 PM - #Permalink
    0
    Sorry the path in error is

    /modules/mod_muscol_featured_top_viewed/tmpl/top_viewed.css"

    but I dont have mod_muscol_featured_top_viewed folder?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 30 2011, 10:11 PM - #Permalink
    0
    yeah, it's a bug I see.

    if you open /modules/mod_muscol_top_viewed/mod_muscol_top_viewed.php

    you'll see a call to that file (the unexisting CSS)

    the problem is that it calls "mod_muscol_featured_top_viewed" instead of "mod_muscol_top_viewed". can you change this?
    The reply is currently minimized Show
  • Accepted Answer

    Ahad
    Ahad
    Offline
    Wednesday, November 30 2011, 10:16 PM - #Permalink
    0
    I think it is maybe somewhere else,

    I opened that file and it already contains:

    get('layout')){
    case "tagcloud":
    require(JModuleHelper::getLayoutPath('mod_muscol_top_viewed', 'tagcloud'));
    break;
    default:
    require(JModuleHelper::getLayoutPath('mod_muscol_top_viewed'));
    }
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 30 2011, 10:24 PM - #Permalink
    0
    sorry, you are totally right, it's not in that file, it's in file
    /modules/mod_muscol_top_viewed/tmpl/tagcloud.php

    line 7

    sorry for the confusion!
    The reply is currently minimized Show
  • Accepted Answer

    Ahad
    Ahad
    Offline
    Wednesday, November 30 2011, 10:28 PM - #Permalink
    0
    Thank you very much, it solved errors.
    The reply is currently minimized Show
Your Reply