Hi,
I had earlier created a webform. Later sometime I installed Javascript Tools. I then turned on wforms module.
Now I don't see any configuration menus for wforms. Not sure, if I should be seeing any at all. Not much documentation on the subject.

When I try to use the older webforms to create a new form or to enter values into an old form. They work they used to before.
But I am seeing the folloging errors in the log

Type page not found
Date Saturday, August 26, 2006 - 19:03
User admin
Location http://www.citizensreview.org/en/modules/jstools/wforms/lib/wforms-jsonl...
Referrer http://www.citizensreview.org/en/webform
Message modules/jstools/wforms/lib/wforms-jsonly.css not found.
Severity warning
Hostname 128.107.248.220

I checked modules/jstools/wforms/lib/ directory and i do see the wforms-jsonly.css file

Could this problem be because I am using the i18n module for internationalization.

Comments

sarvi’s picture

I want provide an update on this. I want point out that, I recently removed the path and pathauto modules from my setup and disabled clean URLs.
I don't get this error anymore.

So I suspect it has something to do with that.

Just wanted mention that in case it helps troubleshoot the problem.

fortressgame’s picture

i just installed wforms and despite the docs saying it has 3 files, only 1 is included now with wforms 2.0

so, i can't get it to work - i have only the js file that's offered here:

http://www.formassembly.com/wForms/

hyperlogos’s picture

The problem is a missing call to base_path() in wforms.module on line 26:

drupal_set_html_head('<link type="text/css" href="' . $path . '/lib/wforms-jsonly.css" rel="alternate stylesheet" title="stylesheet activated by javascript" />');

becomes

drupal_set_html_head('<link type="text/css" href="' . base_path() . $path . '/lib/wforms-jsonly.css" rel="alternate stylesheet" title="stylesheet activated by javascript" />');

$path is the path to the module. unfortunately it does not include a leading slash or anything else. base_path() will always include at least a / (slash) character, unless you're installed to another directory (e.g. http://site/drupal) in which case it should say /drupal/. I tried to make a patch but it included a bunch of crap I didn't edit for some reason so I'll just explain this here. I found it because I was getting file not found in my admin log, and it had a bunch of other path crap in front of it because I was on a taxonomy path page. (taxonomy/blah/blah/blah) and it was 404'ing on taxonomy/term/blah/modules/jstools/wforms/lib/wforms-jsonly.css - like yeah, no kidding you won't find that.

nedjo’s picture

Status: Active » Fixed

Thanks, applied.

Anonymous’s picture

Status: Fixed » Closed (fixed)
robwales02’s picture

Category: bug » support
Status: Closed (fixed) » Active

I have the same problem as sarvi but I am using a sub domain and would appreciate knowing how I shuodl modify the path to get to the subdomain.

The site is at http://cor.robonline.id.au

I have tried:

base_path(/cor/)

and

'/cor/lib/wforms-jsonly.css"

and

'cor/lib/wforms-jsonly.css"

Finally, I assume I will see the link in the administrator folder, is this correct?

Thanks