Project

General

Profile

Bug #340

EasyRule call to undefined function

Added by Marcus van Dam over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Rules/NAT
Target version:
Start date:
02/06/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

Problem now:
Fatal error: Call to undefined function aliases_sort() in /usr/local/www/easyrule.inc on line 136

when adding an easy rule for (apparently) any block. Said function doesn't exist anywhere in our code, nor anything close to it that I see.

Associated revisions

Revision 4ec77db3 (diff)
Added by Scott Ullrich over 9 years ago

Include filter.inc Ticket #340

Revision 429bf8de (diff)
Added by Ermal Luçi over 9 years ago

Ticket #340. An array $specialsrcdst needs to be declared for this to work.

Revision 9bb8d542 (diff)
Added by Ermal Luçi about 9 years ago

Ticket #340. Remove bogus functions. Sort aliases the same way it is done on the aliases page.

Revision eda9b2b8 (diff)
Added by Ermal Luçi about 9 years ago

Ticket #340. Remove obsolete file on upgrade.

History

#1 Updated by Chris Buechler over 9 years ago

  • Target version set to 2.0

#2 Updated by Marcus van Dam over 9 years ago

But it still adds rules, dispite the error

#3 Updated by Ermal Luçi over 9 years ago

  • Status changed from New to Feedback

#4 Updated by Chris Buechler about 9 years ago

  • Subject changed from EasyRule Wrong Datatype to EasyRule call to undefined function
  • Status changed from Feedback to New
  • Priority changed from Normal to Low

#5 Updated by Ermal Luçi about 9 years ago

  • Status changed from New to Feedback

#6 Updated by Chris Buechler about 9 years ago

  • Status changed from Feedback to New

Still the same error, the last commit fixed /etc/inc/easyrule.inc while the error is pointing to /usr/local/www/easyrule.inc. Not sure why there are two, one should be removed.

#7 Updated by Ermal Luçi about 9 years ago

  • Status changed from New to Feedback

The include was moved to /etc/inc though the /usr/local/www one was forgotten to be added to obsoleted list.
On the next upgrade it should be removed and fix teh issue.

#8 Updated by Chris Buechler about 9 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF