Hi,

I followed the install.txt instructions, but keep getting this error when I try to use the module.

"error on retrieving data from module.
SyntaxError
missing ) in paranthetical"

Anybody ever had this same issue?

Comments

stborchert’s picture

Hi.
Did you enable a menu at admin/settings/linktocontent/linktocontent_menu?

I just checked the new version and it worked for me (though thats nothing to rely on :-]).

oprior’s picture

Yep, I had tried enabling all the menus I've got. Still no luck. Help!

oprior’s picture

I just check the logs after I'd re-selected menus for it to use at "admin/settings/linktocontent/linktocontent_menu" and noticed these two errors:

Referrer https://qclangley.plexio.com/drupal/admin/settings/linktocontent/linktoc...
Message init_theme(./themes/engines/phptemplate/phptemplate.engine): failed to open stream: No such file or directory in /home/oprior/drupal/includes/theme.inc on line 78.

Referrer https://qclangley.plexio.com/drupal/admin/settings/linktocontent/linktoc...
Message init_theme(): Failed opening './themes/engines/phptemplate/phptemplate.engine' for inclusion (include_path='.:/usr/share/pear') in /home/oprior/drupal/includes/theme.inc on line 78.

oprior’s picture

It's probably also worth noting that LinktoNode won't even show up on "admin/settings/linktocontent" after enabling it in "admin/build/modules"

ceejayoz’s picture

Subscribing - I'm getting this too.

stborchert’s picture

Hi.
Now I've finished my final exams I could focus on development again.

#3 looks like a problem of phptemplate (deleted some files by accident?)

Do you have a multisite installation?
Did you notice any error messages during installation? (escpecially linktocontent_node)
Could you please query the database (from console or phpmyadmin):
mysql> select * from variable where name like 'linktocontent_%_plugins'\G
On my system it results in:

*************************** 1. row ***************************
name: linktocontent_enabled_plugins
value: a:3:{
  s:18:"linktocontent_menu";
  s:18:"linktocontent_menu";
  s:18:"linktocontent_node";
  s:18:"linktocontent_node";
  s:22:"linktocontent_category";
  s:22:"linktocontent_category";
}
*************************** 2. row ***************************
name: linktocontent_registered_plugins
value: a:3:{
  s:6:"global";a:3:{
    s:18:"linktocontent_menu";
    s:18:"linktocontent_menu";
    s:18:"linktocontent_node";
    s:18:"linktocontent_node";
    s:22:"linktocontent_category";
    s:22:"linktocontent_category";
  }
  s:18:"linktocontent_menu";a:1:{
    s:18:"linktocontent_menu";
    s:18:"linktocontent_menu";
  }
  s:18:"linktocontent_node";a:2:{
    s:18:"linktocontent_node";
    s:18:"linktocontent_node";
    s:22:"linktocontent_category";
    s:22:"linktocontent_category";
  }
}

formatted for better reading

Please download http://drupal.org/files/issues/ltc.html and edit it:
<form action="http://example.com/?q=linktocontent" method="post"> this should point to your drupal installation
value="linktocontent_node" should be value="linktocontent_menu"
After editing submit the page and post the results.

greetings,

Stefan

stborchert’s picture

Status: Active » Closed (fixed)

please reopen if still active...