After installing and configuring, when trying to activate in a block, I receive the following error message in the block:
"The requested URL /drupal/chatblock/view was not found on this server. Apache/2.0.55 (Ubuntu) PHP/5.1.2 Server at mydomain.org Port 80"

The chatblock files are in var/www/drupal/modules/chatblock.

The base_url is configured at http://mydomain.org/drupal which is the path to the location of the index.php file (/var/www/drupal)

The Chatblock Help and Chatblock Log do appear on the site homepage.

I am a newbie, and am not sure if I have to install Ajax independently.

CommentFileSizeAuthor
#3 snip.txt819 bytesbmorris

Comments

dwees’s picture

Can you view the source and find the <iframe /$gt; tag and tell me what the value of the src is?

Dave

bmorris’s picture

Here's a snip from the view source

Chat



bmorris’s picture

StatusFileSize
new819 bytes

Snip attached as .txt

dwees’s picture

My guess is that you do not have clean urls enabled for your website.

You can either enable clean urls, or in the module itself modify the src of the iframe to be

http://bmnet.homelinux.org/drupal/?q=chatblock/view

which I am hoping will work. Obviously for future versions, I'll need to make sure I code this so that it will work with clean urls.

Dave

bmorris’s picture

Modifying the code as suggested solved the problem. Thank you.

dwees’s picture

Assigned: Unassigned » dwees
Status: Active » Postponed

Okay I'll work on modifying my code to work with clean urls disabled, it's actually a pretty straight forward fix. Just one more setting in the settings page.

dwees’s picture

Status: Postponed » Closed (fixed)

Hopefully the liberal use of the url function and drupal_get_path will have fixed this problem.

Dave