Call me crazy, but I think I remember at one point being able to pull up a page of checkboxes for the linkchecker and I could tell it to ignore certain errors like 301. I can't seem to find that..just want to make sure I didn't screw up my installation.

Comments

nancydru’s picture

It should be in a collapsed fieldset near the bottom of the page.

Starminder’s picture

StatusFileSize
new26.67 KB

Just not seeing it...

nancydru’s picture

Try clicking "Save configuration."

Starminder’s picture

I did - got a message that it saved, but nothing changed. Also tried resetting to default for chuckles, that didn't result in anything either.

Starminder’s picture

Any suggestions? Should I roll back to a certain version? thanks :)

nancydru’s picture

StatusFileSize
new46.14 KB

You might try re-downloading the current -dev. Obviously I am always at the current -dev release and it shows fine for me.

Starminder’s picture

Thanks, I rolled back a few dev versions and then went to 2.3 - to no avail. Something is stomping on it. What version of Views are you using?

nancydru’s picture

I'm using Views 6.x-2.11 and I have seen it stomp on other URLs, which is warned about somewhere in the docs. Views does a hook_menu_alter, so it runs after module menu items are created. Any module could also do a hook_form_alter and change the form. The only unlikely culprit I could see doing that would be Linkchecker, but I haven't looked at it to see. If you have that module, you might disable it and see if WL operates correctly.

Starminder’s picture

StatusFileSize
new28.36 KB

No love.

I disabled linkchecker and went to views 6.x-2.11.

nancydru’s picture

Just changing Views isn't enough. You have to look at all the menu entries it creates and see if any is a duplicate. But the fact that the page shows up at all kind of says that is not the problem.

It looks like WL's link check is turned off, even though the options say on. Try setting it to "no' and see if maybe the options are backwards, even though it looks okay on my system. If not, then set it back to "yes" and see if that clears it up.

Starminder’s picture

I toggled all of the settings to no avail. :/ Pounding my head against the desk didn't work, either!

nancydru’s picture

The last resort is to completely remove the module Including deleting it from your system) and re-download and install. There may be some piece floating around from an older release.

Starminder’s picture

Can do - will I lose my links or the taxonomy for it?

rmiddle’s picture

You wont lose those unless you uninstall the module. if you uninstall then you lose all you data.

Thanks
Robert

Starminder’s picture

Status: Active » Fixed

Good news. I was rerunning a different db update and saw the update pulldown list for checker. I selected 6000 and ran it and now voila - checker works as expected.

Thanks for your help!! :)

nancydru’s picture

Fabulous. Glad that was it.

FYI, any time a module is removed, the taxonomy vocabulary will remain, but will be disconnected from the content type, so you would have to re-select the content type in the vocabulary. If you had uninstalled WL then you would have lost it all.

Starminder’s picture

Now I'm REALLY glad that was it! :)

nancydru’s picture

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

Status: Closed (fixed) » Active

Spoke too soon. Went in to make a change to linkchecker settings and they are gone again. For chuckles reran the database update 6200 again, and it ran fine no errors. Unfortunately, the checker settings still aren't visible. Any suggestions on what else to try?

nancydru’s picture

Okay,given the warnings above, let me try to be very clear.

  1. Put the site into maintenance mode, or better yet, do this on a test copy.
  2. Delete the module directory entirely. (Do NOT disable or uninstall the module.)
  3. Check to see if it is still works (another copy hiding somewhere).
  4. Download the latest -dev.
  5. Clear the caches (admin/settings/performance, or Devel)
  6. Check to see if it works.
  7. Check to see if any updates need to run again.

If you find another copy hiding somewhere, you'll have to hunt for it and delete that before continuing. -- I'd say that there is a chance this is the cause. Actually, the system table could help find it. If you're comfortable in the database, you might even look there before doing anything else.

Starminder’s picture

1. Put the site into maintenance mode, or better yet, do this on a test copy. Done, no issues
2. Delete the module directory entirely. (Do NOT disable or uninstall the module.) Done, no issues
3. Check to see if it is still works (another copy hiding somewhere). It didn't work, it's not anywhere else
4. Download the latest -dev. Got it
5. Clear the caches (admin/settings/performance, or Devel) Done, no issues
6. Check to see if it works. It works
7. Check to see if any updates need to run again. No updates

Still in the same boat, no checker settings.

I'm happy to do whatever in the database, or give you access.

Thanks!!

Starminder’s picture

Any additional thoughts on this one? Thanks!

nancydru’s picture

I cannot even come close to reproducing this. I hate to ask for access to your site.

nancydru’s picture

StatusFileSize
new48.37 KB

Do you mean like the attached image (from your site)?

Starminder’s picture

StatusFileSize
new58.93 KB

Yep - just like that...
what browser are you using?
In Firefox, I still get this...

nancydru’s picture

I was using IE7.

Starminder’s picture

I just tried in IE8, I get the same result as in Firefox.

nancydru’s picture

I'm going to guess then that there is a broken HTML tag in there somewhere. If you can, try running it through the HTML validator and let's see if it can locate it.

Starminder’s picture

StatusFileSize
new81.64 KB

Not sure if these are it or not

nancydru’s picture

Status: Active » Postponed (maintainer needs more info)

Somebody is messing with your body tag, but that is definitely not Web Links. That would have to be in your page.tpl.php file in your theme. span id="liveclock" is probably that clock you show; also not WL.

Seeing this, I would suggest removing the clock and see if that is the culprit.

Starminder’s picture

disabled time block, thanks for pointing this out. No change in settings visibility.

I do not claim to be a firebug expert, but I turned that on for chuckles and grins and get this:
uncaught exception: Syntax error, unrecognized expression: [@name=weblinks_checker_enabled]

I'll try anything :)

Thanks!

nancydru’s picture

Oh, yeah??? I need a date. ;-)

Starminder’s picture

Whatever it is, I'm sure it's only weird the first few times! ;)

nancydru’s picture

I admit to not being a JavaScript aficionado. That variable is used on lines 4 and 28 in weblinks_checker.js, and it is certainly acting like that could be the problem.

Robert if you see this, could you check that js code, please?

Juan C’s picture

I don't need this feature for now, but I can confirm that on mine anytime I edit the settings, I can see the image on #24 expanded for 1/2 second, and settles back as on image given on #2. I was thinking that might be some users dont know this option exists.

Starminder’s picture

Wow am I glad to hear it's not just me :)

gstegemann’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1.43 KB

I could reproduce the problem and found the same JavaScript syntax error as reported in #31 by Starminder.

Patch is attached.

gstegemann’s picture

BTW: a similar problem exists on the Web Links settings page.

I have also added a patch which fixes this.

jonathan1055’s picture

What browser and version are you using? I cannot replicate the error - I'm on a mac, and tried Firefox 41.0.1, Chrome 45.0 and Safari 6.2.6

The D7 code has does not have the '@' so that's good.

gstegemann’s picture

What browser and version are you using?

Firefox 41.0.1 under Windows.

I cannot replicate the error

The syntax error was displayed in the Firefox Konsole. After changing the JavaScript code the syntax error disappeared and the page is displayed correctly.

The D7 code has does not have the '@' so that's good.

Yes, that motivated me to create the patch.

Do you have an idea what the '@' character stands for?

nancydru’s picture

The @ is often used in Drupal to indicate "do not return an error." I don't know if that is true in JS as well.

gstegemann’s picture

I don't know if that is true in JS as well.

I would say No.

Tests using IE11, Chrome 45 und Windows and Safari 9 under OS X exhibited the syntax error as well. And the Web Links checker page will be not fully displayed.

The syntax error is also raised when using Firefox 41 and Chrome 45 under OS X 10.11.

gstegemann’s picture

The D7 code has does not have the '@' so that's good.

In fact, I changed the D7 JavaScript code during the port from D6 to D7 as desribed in "Converting 6.x modules to 7.x", https://www.drupal.org/update/modules/6/7#javascript_compatibility, section jQuery 1.3.x.

So this issue will occur when switching from JQuery 1.2.x to 1.3.x.

jonathan1055’s picture

Right, that's a very helpful link. Thanks.

The syntax error is also raised when using Firefox 41 and Chrome 45 under OS X 10.11

I was looking in the console, and using OS X 10.8, Firefox 41, Chrome 45 and still cannot see the error. Maybe it is dependent on the jquery module version, I am on 6.x-1.5 and my status page says jQuery UI is 1.6.

Using the @ was obviously correct at the time for D6, but now after some combination of newer versions/upgrades it fails. I think we should now what in particular causes the failure, so that if you do make the code change and users later have problems we can point to the cause. We don't want to introduce new bugs in D6 without being aware of the consequences.

In D7 we can probably do away with that .js file completely and re-write the functionality with drupal behaviours, directly into the form items. But that's a separate task anyway.

gstegemann’s picture

Maybe it is dependent on the jquery module version,

Definitely.

I am on 6.x-1.5 and my status page says jQuery UI is 1.6.

What is version 6.x-1.5? I'm using jQueryUpdate 1.3.2 and jQuery UI is also 1.6.

We don't want to introduce new bugs in D6 without being aware of the consequences.

Sure. Maybe this article is helpful: https://www.drupal.org/node/1058168

jonathan1055’s picture

Title: Granularity? » Checker fieldset is not displayed - javascript syntax problem

6.x-1.5 is the version of the Drupal jquery UI module that I installed on my D6 site a long while ago. I do not have the jquery update module installed at D6.

jonathan1055’s picture

Status: Needs review » Reviewed & tested by the community

Whilst I cannot replicate the syntax errors you are seeing, I've tested your patches in #37 and #38 and the jquery functionality works fine with the @ removed. I am happy for you to commit both of these.

gstegemann’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for your review. If you don't mind I will commit the patches now.

  • GStegemann committed bc189d7 on 6.x-2.x
    Issue #880344 by GStegemann: Checker fieldset is not displayed -...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.