[racktables-users] Re: Problem creating 802.1q template rule

  • From: Alexey Andriyanov <alan-74@xxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Wed, 30 Mar 2011 17:07:22 +0400

Hello Jens.

This issue is likely caused by the PHP feature 'magic_quotes'. It is deprecated and disabled on many installations, that's why not all users are affected.
You can disable this feature in your php.ini, or apply the following patch:
http://racktables.svn.sourceforge.net/viewvc/racktables/trunk/wwwroot/inc/interface-lib.php?view=patch&r1=4387&r2=4406&pathrev=4406

This issue will be fixed in 0.19.3.

30.03.2011 14:01, Jens Rosenboom wrote:
Am 30.03.11 11:41, schrieb Alexey Andriyanov:
Please report your browser version.
Firefox 3.1.16.

And meanwhile try another browser.
Safari 5.0.3 and IE8 seem to give the same result.

30.03.2011 12:08, Jens Rosenboom wrote:
Am 30.03.11 09:37, schrieb Alexey Andriyanov:
Please apply the attached patch and try again. It will not fix the
issue, but the error message should be more informative. Then post the
error message here. Thanks for your help in finding this bug.
Argument 'template_json' of value
'[{\\"rule_no\\":\\"1\\",\\"port_pcre\\":\\"xe\\",\\"port_role\\":\\"anymode\\",\\"wrt_vlans\\":\\"2\\",\\"description\\":\\"test\\"}]'

is invalid (Invalid JSON code received from client).

I must also admit that I have no idea how the rules should really look
like, but after accessing my Juniper EX4200 via ssh works quite fine, I
was hoping to be able to get some useable results by try&error.




Other related posts: