Hi,

I would make a report about a possible bug for automplete function in URL field.

This is the pop-up text shown when I'm filling the URL field:

<sitename>

An error occurred. 
http://sitename/it/advanced_link/autocomplete/contains
&lt;br /&gt;
&lt;b&gt;Fatal error&lt;/b&gt;:  func_get_args(): Can't be used as a function parameter in &lt;b&gt;/var/wwwroot/sitename/sites/all/modules/advanced_link/advanced_link.module&lt;/b&gt; on line &lt;b&gt;50&lt;/b&gt;&lt;br /&gt;

Thanks, Bye!

Comments

Eugene Fidelin’s picture

Seems this problem related to PHP version that you are using.
On PHP 5.3.6 i can't replicate this bug.

Can you please provide info about your PHP version?

Eugene Fidelin’s picture

Status: Active » Fixed

Try the latest 6.x-1.4 release - this bug must be fixed there

Eugene Fidelin’s picture

Assigned: Unassigned » Eugene Fidelin
Dret’s picture

My PHP version is: 5.2.6-1+lenny8

Thanks!

Dret’s picture

Ok the problem is solved in 6.x-1.4, no more error BUT the URL filter seems not working.

Setting only two internal link to choose from (adding the path one per line), the autocomplete field shows all nodes available.

Example, I set as available only URL with path "node1" and "node2", but, on typing, it shows me:

node1
node2
node3
node4
... and so on

I hope this could be usefull!
Bye!

Eugene Fidelin’s picture

For now URL filter works only during saving node - it not affects auto-complete suggestions.

So in your case you could select node3 as url but during validation you will get an error message that you can't use this url.

I have added your request as a separate issue http://drupal.org/node/1780264 - we will implement in nearest release.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

Syntax error!