OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • [SOLVED] Bug in system_routes.php and system_routes_edit.php
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Bug in system_routes.php and system_routes_edit.php  (Read 5606 times)

chris

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
[SOLVED] Bug in system_routes.php and system_routes_edit.php
« on: March 31, 2015, 01:54:47 pm »
Hi

There is a Bug in system_routes.php and system_routes_edit.php:

[31-Mar-2015 11:14:28 Etc/UTC] PHP Fatal error:  Cannot create references to/from string offsets nor overloaded objects in /usr/local/www/system_routes.php on line 38
[31-Mar-2015 11:26:53 Etc/UTC] PHP Fatal error:  Cannot create references to/from string offsets nor overloaded objects in /usr/local/www/system_routes_edit.php on line 41

i was able to solve this by removing the reference, but i still can't save new routes.


regards,

Chris

EDIT: Version 15.1.8
« Last Edit: April 01, 2015, 04:18:38 pm by franco »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: Bug in system_routes.php and system_routes_edit.php
« Reply #1 on: March 31, 2015, 04:26:27 pm »
Please update to the latest version. Thanks. :)
Logged

chris

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Bug in system_routes.php and system_routes_edit.php
« Reply #2 on: April 01, 2015, 11:08:21 am »
Wow, that was fast!

It's working now, thank you very much! :)
Logged

chris

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Bug in system_routes.php and system_routes_edit.php
« Reply #3 on: April 01, 2015, 11:19:41 am »
there is yet another small bug: the dropdown @ destination network shows wrong range (you have to edit the route after creating, then it shows correct masks)

and a small feature request: it should be possible to add metrics to routes.


And hey, great work you guys doing here! Very Cool  8)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 13929
  • Karma: 1208
    • View Profile
Re: Bug in system_routes.php and system_routes_edit.php
« Reply #4 on: April 01, 2015, 04:18:18 pm »
Thanks for the feedback. Added to the issue tracker. :)

https://github.com/opnsense/core/issues/122
https://github.com/opnsense/core/issues/123
Logged

jstrebel

  • Full Member
  • ***
  • Posts: 188
  • Karma: 23
    • View Profile
Re: Bug in system_routes.php and system_routes_edit.php
« Reply #5 on: April 02, 2015, 05:03:04 pm »
Quote from: chris on April 01, 2015, 11:19:41 am
there is yet another small bug: the dropdown @ destination network shows wrong range (you have to edit the route after creating, then it shows correct masks)

and a small feature request: it should be possible to add metrics to routes.


And hey, great work you guys doing here! Very Cool  8)
Chris what metric do you like to add?
Jakob
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 15.1 Legacy Series »
  • [SOLVED] Bug in system_routes.php and system_routes_edit.php
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2