I am receiving this message a lot:

path/to/any/menu/modules/tagadelic/tagadelic.css not found.

Comments

shane birley’s picture

This message is coming up all over the place. I thought I had read this was fixed, but it seems to be back. Running 4.7.2 with Tagadelic 4.7.2 - then tried CVS. Same error.

Bèr Kessels’s picture

I cannot reporduce.
Can you give me some more information? I am looking for:
* Do you run Drupal in a subdirectory, like example.com/drupal
* Are you using clean urls?
* What do you see when you visit example.com/modules/tagadelic/tagadelic.css?

Bèr

dankohn’s picture

I'm getting CSS errors as well.

* Do you run Drupal in a subdirectory, like example.com/drupal

No, I'm running it at the root directory.

* Are you using clean urls?

Yes.

* What do you see when you visit example.com/modules/tagadelic/tagadelic.css?

Page not found.

Here are some of the errors. Note that most of the time it works fine. Email me at dan@dankohn.com if you'd like access to the site to debug.

Type page not found
Date Saturday, August 5, 2006 - 23:57
User dankohn
Location http://example.com/modules/tagadelic/sites/default/modules/tagadelic/tag...
Referrer http://example.com/modules/tagadelic/tagadelic.css
Message modules/tagadelic/sites/default/modules/tagadelic/tagadelic.css not found.
Severity warning

Type page not found
Date Saturday, August 5, 2006 - 23:57
User dankohn
Location http://example.com/modules/tagadelic/tagadelic.css
Referrer
Message modules/tagadelic/tagadelic.css not found.
Severity warning

Type page not found
Date Saturday, August 5, 2006 - 20:15
User dankohn
Location http://example.com/wiki/sites/default/modules/tagadelic/tagadelic.css
Referrer http://example.com/wiki/index
Message wiki/sites/default/modules/tagadelic/tagadelic.css not found.
Severity warning

Bèr Kessels’s picture

where did you install tagadelic? In what directory?

shane birley’s picture

In the modules directory. This error also occurs if the tagadelic module is installed in the "/sites/example.com/modules" directory.

Bèr Kessels’s picture

But is the CSS file actually there? Can you access it directly?

catch’s picture

I was getting this quite a lot as well (although the tags still showed up different sizes etc.)

Upgrading to CVS of tagadelic and drupal 4.7.3 seems to have fixed it.

drupalzack’s picture

I'm getting this as well in the admin logs, but the tags are showing up in correct sizes.

I have 4.7.2 and I upgraded the cvs version of tagadelic. I still have these warnings though no functionality is lost.

Haven't tried with 4.7.3 though.

If I click on a category in a tag cloud, I get this in the logs:

tag/modules/tagadelic/tagadelic.css not found.

Instead of going to base_url/modules/tagadelic, it is going to current_path/modules...

drupalzack’s picture

Status: Active » Closed (fixed)

Sorry, false alarm! I was doing something funny with a custom block and tagadelic. That was causing this. Seems to work with 4.7.2 and cvs tagadelic.

djflux’s picture

Version: master » 6.x-1.2
Status: Closed (fixed) » Active
Issue tags: +CSS, +path, +tagadelic

I'm having this issue with tagadelic 6.x-1.2. The

<?php print $head ?>

code in my theme template is printing

<style type="text/css">@import url(sites/all/modules/tagadelic/tagadelic.css);</style>

I can't find anywhere in the code that should be printing this import. Is this a Drupal core problem or something with tagadelic? I'll keep digging through the code and if I find the problem I'll submit a patch to fix it.

Please point me in the right direction and I'll try to fix the problem myself.

Thanks
Flux.

Bèr Kessels’s picture

search for the code

function tagadelic_init() {
  drupal_add_css(drupal_get_path('module', 'tagadelic') .'/tagadelic.css');
}

This is implemented similar to book module and aggregator (in core).

Do you see the same issues on book module css when that one is enabled?

Bèr Kessels’s picture

Status: Active » Postponed (maintainer needs more info)
Bèr Kessels’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

no feedback. closing.

Anonymous’s picture

Just a note to anyone else who may be looking at this.
I was having this problem too on drupal 6.19 and tagadelic 6.1.2 and clean URLs.

<style type="text/css">@import url(sites/all/modules/tagadelic/tagadelic.css);</style>

It was coming from a block I had written ages ago based on http://drupal.org/handbook/modules/Tagadelic. Make sure in your block you make the css absolute path and not relative by using the slash before the drupal_get_path.

drupal_set_html_head('<style type="text/css">@import url(/'.drupal_get_path('module','tagadelic').'/tagadelic.css);</style>');
NOT
drupal_set_html_head('<style type="text/css">@import url('.drupal_get_path('module','tagadelic').'/tagadelic.css);</style>');

Thanks