Download & Extend

Medium Vote css not found, losing path

Project:mediumvote
Version:master
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:reviewed & tested by the community

Issue Summary

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.

Comments

#1

Version:master» 4.7.x-1.x-dev
Priority:normal» critical

I am having the same issue. Mediumvote.css not found...although it seems to be there. I just see (0). Please advise. Thanks.

#2

Version:4.7.x-1.x-dev» master

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.

AttachmentSize
mediumvote_css_patch_fix.patch 731 bytes

#4

Status:active» reviewed & tested by the community

I ran into this problem as well and did the same fix as mikew. HIs patch looks good to me - setting to RTBC.

nobody click here