I installed the chatroom module in 'modules/contrib' instead of 'modules' and I have errors as the path is hard coded in your code.

Comments

pvasener’s picture

Another directory problem:

The url of my test site is http://www.example.com/test

at line 660 of chatroom.module, you wrote:

drupal_add_link(array("rel" => "stylesheet", "type" => "text/css",
"href" => ($clean_urls ? '/' : '') . 'modules/chatroom/chatroom.css'));

such that the css is lookup there:

http://www.example.com/modules/chatroom/chatroom.css

instead of there:

http://www.example.com/test/modules/chatroom/chatroom.css

Anonymous’s picture

Assigned: Unassigned »
Anonymous’s picture

Status: Active » Fixed

thanks again for the bug report.

i've applied some changes to cvs - could you test that it works ok for you now in a subdirectory?

pvasener’s picture

It works perfectly. Thanks again !

Anonymous’s picture

Status: Fixed » Closed (fixed)