Links admin module
| Project: | Links Package |
| Version: | 5.x-1.x-dev |
| Component: | Code: API |
| Category: | bug report |
| Priority: | critical |
| Assigned: | syscrusher |
| Status: | needs review |
Jump to:
The Module as such works fine, but whenever I go to the content administration area into the links administration database and click on one of the collected links "reference", I get such a warning:
* user warning: Unknown column 'Array' in 'where clause' query: select count(*) from ....links_node where lid=Array in /...myhomepages../includes/database.mysql.inc on line 172.
* user warning: Unknown column 'Array' in 'where clause' query: select l.lid, l.link_title, ln.nid, ln.link_title node_link_title, ln.module, ln.clicks, n.title node_title from myprefix...links l, myprefix.....links_node ln, myprefix....node n where l.lid=ln.lid and ln.nid=n.nid and l.lid=Array order by module, node_link_title LIMIT 0, 10 in ...myhomepages.../includes/database.mysql.inc on line 172.
* warning: preg_match() expects parameter 2 to be string, array given in .......myhomepages.../includes/bootstrap.inc on line 670.
Any idea, what is wrong? And how can I refer to these links in my content?

#1
Same here
#2
Anybody ready to help?
#3
The links admin module isn't actually ready for prime time yet. It crept into that release because I goofed in CVS tagging. The best course of action is to disable links_admin.module. The other Links modules (links.module, links_related.module, and links_weblink.module) are fine in version 5.x and will be released "real soon now" for 6.x. (I have been on a camping trip the past two weeks, but was making good progress on 6.x before I left home.)
Scott
#4
This is bad news, because this feature would be excellent to maintain the links database. Any idea where to look, or does anybody has made already som eprogress on this issue?
#5
I am hoping for the same functionality: it would be great to be able to check links with the admin module.
#6
This functionality is in the current Drupal 6 release of the Links Package. I'm looking at a possible backport to Drupal 5. Comments welcome on whether or not that is still needed, or if you are moving (or have already moved) to Drupal 6.
Kind regards,
Syscrusher
#7
According to the usage stats, more than 80% of the reported Links users are still on 5.x.
#8
I'm not sure if that reflects the actual usage or simply the fact that the D6 versions are only recently released. Still, the point is well taken. At this point, I'm leaning toward doing the back-port. In fact, I had some time on my hands tonight and have already back-ported the API itself in the current D5 developer snapshot of Links. That was actually easier than I expected, so maybe the rest of the backport won't be too bad.
Kind regards,
Scott
#9
Happy new year, everyone. I had some time on my hands today, and so I did the back-port of the new links_admin module to Drupal 5. It will be in tonight's developer snapshot (1 January 2009).
Those interested in links_admin on Drupal 5, please test. I'd really like some test reports from the community before doing an official release. Thanks!
Scott
#10
I will test! Thank you!
#11
The admin section seems to work great! Thank you for this! I am hoping that a link checking/ maintenance system will also be included. Weblinks does this, but there is also the module here: http://drupal.org/project/linkchecker. Maybe the existing work can be merged into the links package, or with your previous experience, you have an even better way to do this. Either way, I don't want to switch to weblinks, as my links are all tied into different taxonomy classifications. Thanks again for your efforts.