After installing and activating the module, I can access the settings under "Content Management" but when I try to access the Links Intelligence configuration under "site configuration", I get the following error on a blank page:

Fatal error: Call to undefined function linkintel_get_node_type_exclude_options() in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 2267

Ideas?

Comments

TomDude48’s picture

Status: Active » Needs review

should be fixed in rc9.

pilotchick’s picture

Now the admin panel works, but I get no links, and when I run a bulk update, I get this:

* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Empty string supplied as input in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Empty string supplied as input in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: Attempt to assign property of non-object in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 1395.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 4 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 4 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 4 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : font in Entity, line: 9 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : font in Entity, line: 9 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : font in Entity, line: 9 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 10 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: Attempt to assign property of non-object in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 1395.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Empty string supplied as input in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Empty string supplied as input in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: Attempt to assign property of non-object in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 1395.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 8 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 8 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 8 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: Attempt to assign property of non-object in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 1395.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : font in Entity, line: 15 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 16 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : font in Entity, line: 15 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 16 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : font in Entity, line: 15 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 16 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : font in Entity, line: 2 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 3 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : font in Entity, line: 2 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 3 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 230.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : font in Entity, line: 2 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 3 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: Attempt to assign property of non-object in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 1395.

?????

pilotchick’s picture

additionally, when I manually added a link via LI, I get this:

* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Tag e invalid in Entity, line: 1 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Unexpected end tag : p in Entity, line: 1 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Tag e invalid in Entity, line: 1 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.
* warning: DOMDocument::loadHTML() [domdocument.loadhtml]: Tag e invalid in Entity, line: 1 in /home2/flyngoin/public_html/modules/linkintel/linkintel.module on line 259.

The link works, but nothing is happening auto-magically, site-wide. I've got ~7000 nodes to crossreference/link.

Also, when I go to admin-content management- link intelligence, I get nothing but a blank page. I have to sub-select links, requests, etc. FWIW.

?????

phildu’s picture

same problem for me with the rc9

phildu’s picture

Warning: Call-time pass-by-reference has been deprecated i... /all/modules/linkintel/linkintel.module on line 1354
arning: Call-time pass-by-reference has been deprecated in ..... /all/modules/linkintel/linkintel.install on line 356

etc ....

TomDude48’s picture

I rushed to do a bug fix before DrupalCon on rc9 and accidentally committed some old code. This has been removed in rc10. Try that one.

rastarr’s picture

This issue still very much within rc11

F0rumus3r’s picture

I'm having the same issue with rc11. I downgraded to rc10 and I have the same problem. I do use panels but not on the page this is happening. Any suggestions?

oferrero’s picture

Title: Fatal error: Call to undefined function linkintel_get_node_type_exclude_options() in /home2/flyngoin/public_html/modules/linkint » Similar Error: warning: DOMDocument::loadHTML(): Tag wbr invalid in Entity, line: 1 in /var/www-apache/gradnet/sites/all/modules
Version: 6.x-1.0-rc8 » 6.x-1.0-rc11

I'm getting a similar error, but on line 337 and 367.

warning: DOMDocument::loadHTML(): Tag wbr invalid in Entity, line: 1 in /var/www-apache/gradnet/sites/all/modules/linkintel/linkintel.module on line 337.
warning: DOMDocument::loadHTML(): Tag wbr invalid in Entity, line: 1 in /var/www-apache/gradnet/sites/all/modules/linkintel/linkintel.module on line 367.

vaidik’s picture

Anyone fixed this? Apparently, loadHTML expects valid markup and most of the sites don't conform to valid markup standards. To suppress these warnings, replace

$DOMObject->loadHTML($remote); 

with

@$DOMObject->loadHTML($remote); 

Hope this works!

gstout’s picture

vaidik's suggestion worked for me, although I'm willing to admit I don't know why.

I changed line 407, 437, and 320 to use an @ like so on the dev release
(example line 320)

319  $doc = new DOMDocument();
320  @$doc->loadHTML('SEP' . $body . 'SEP');
321  $doc->preserveWhiteSpace = FALSE; 
rooby’s picture

Issue summary: View changes

@gstout:

It "works" because adding @ to the front of the function call suppresses error messages for that call.
So the messages are still happening, you just aren't seeing them.

mxr10’s picture

thanks i was having the same problem but i add @ and that fix it