Hi,

Today after updating meta tags module to new version i tried to test it and when i entered 'best' alphabet in tags field i got an php error. This taxonomy field 'tags' is integrated with meta tags module that is it fetches terms entered in tags and than add them as keywords. One more problem is that when i save my post and check source of the page there are no spaces in keywords for example it shows like book,audio,video but it shud be book, audio, video. I can fix this by just adding space in three lines in keywords.inc but is it safe to do this?

screenshot is included.

Comments

Robrecht Jacques’s picture

Status: Active » Postponed (maintainer needs more info)

I've fixed the space issue.

I can't reproduce the php error. Could you post the error you get?

Arshad Vayani’s picture

StatusFileSize
new170.57 KB

i have included a screenshot in which u can see that error. I am getting this error when i enter some new tag which was not posted before and when i enter some word which is already posted than i just get normal suggestions. I am adding new full page screenshot.

Arshad Vayani’s picture

i just want to clear that i am not getting any error in my logs i am getting php code as suggestion when i enter some new taxonomy term which is not posted before.

you can test it by login to http://islamicdatabase.org and by creating a blog entry

username: test
password: 123456

just enter some words in tag field and see what happens!!

Arshad Vayani’s picture

StatusFileSize
new177.54 KB

check this screenshot when i enter 'new' which is already posted than it suggests correctly but when i enter 'neww' than it shows a php statement in suggestion. I am using firebug extension in firefox so now you see the difference in response easily.

Robrecht Jacques’s picture

Status: Postponed (maintainer needs more info) » Active

Oh, I didn't realize you get the errors in the autocomplete field. Thanks for the test-account - I now see exactly what you mean.

The error may have to do with some additional headers nodewords sends. But nodewords should not operate on the 'taxonomy/autocomplete'. On my test installation, this error does not occur.

Did/Does the error appear with nodewords-1.0-rc1 ?

If you disable nodewords, does the error appear ?

Could you do:

rgrep addRange *

from the commandline in the root of your Drupal installation? For me this does not give any results, but the Javascript you get as answer must be defined somewhere I suppose.

... hmm ... addRange and stuff probably comes from an unpacked misc/jquery.js ...

Currently I'm puzzled as to why it appears...

Robrecht Jacques’s picture

Could you tell me how nodewords is configured?

Eg do a

print "<pre>"; print_r(variable_get('nodewords', array())); print "</pre>";

somewhere (eg in the Execute PHP box of the devel module).

Thanks.

Arshad Vayani’s picture

I am using cpanel here. I have to install devel module to test this. For now adding screenshot of nodewords settings.

Arshad Vayani’s picture

first i thought its because of jquery but than i installed jquery update module and uploaded latest version of jquery but still i am getting same error.

There is one more problem when i enable organic group module than this taxonomy autocomplete feature doesnt works. In firebug it shows

[Exception... "'Syntax error, unrecognized expression: [@Name='og_selective']' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "<unknown>" data: no]

you can test it on my site, i have enabled organic groups module now!!

Arshad Vayani’s picture

mm i tried disabling meta tags module and still same php code appears. I am confused now :|

Arshad Vayani’s picture

Status: Active » Closed (fixed)

i just figured out that its all because of facebook connect module. I am really sorry that i have wasted your time.

Issue closed