Medium Vote css not found, losing path
laura s - May 24, 2006 - 06:32
| Project: | mediumvote |
| Version: | HEAD |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Description
I am having problems getting medium vote to work. Typical errors in the watchdog:
playlist/user/modules/mediumvote/theme/mediumvote.css not found.
modules/mediumvote/modules/mediumvote/theme/mediumvote.css not found.Since it is more recently updated, I tried the CVS version, but still get these errors.
I'm not able to get the module working -- it just comes up "(0)" -- but this not found error is the only kind of error I'm finding in watchdog.

#1
I am having the same issue. Mediumvote.css not found...although it seems to be there. I just see (0). Please advise. Thanks.
#2
Looking at the header generated:
<style type="text/css" media="all">@import "/misc/drupal.css";</style><script type="text/javascript" src="/misc/drupal.js"></script><script type="text/javascript" src="/modules/mediumvote/theme/ajax_mediumvote.js"></script>
<style type="text/css" media="all">@import "modules/mediumvote/theme/mediumvote.css";</style>
My drupal install is on the root of the domain - so / is correct.
The import for the medumvote.css file will only work when not using e.g. path aliases where you can set up pseudo-directories (for example - a list of games are under /game/game_name using path and pathauto
Interestingly - the line modules/mediumvote/theme/mediumvote.css now shows up in my "Recent Searches" block (from the Zeitgeist module)
#3
The css was generated with a relative path. Corrected function in the patch attached.
#4
I ran into this problem as well and did the same fix as mikew. HIs patch looks good to me - setting to RTBC.