OPNsense Forum

Archive => 15.1 Legacy Series => Topic started by: chris on March 31, 2015, 01:54:47 pm

Title: [SOLVED] Bug in system_routes.php and system_routes_edit.php
Post by: chris 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
Title: Re: Bug in system_routes.php and system_routes_edit.php
Post by: franco on March 31, 2015, 04:26:27 pm
Please update to the latest version. Thanks. :)
Title: Re: Bug in system_routes.php and system_routes_edit.php
Post by: chris on April 01, 2015, 11:08:21 am
Wow, that was fast!

It's working now, thank you very much! :)
Title: Re: Bug in system_routes.php and system_routes_edit.php
Post by: 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)
Title: Re: Bug in system_routes.php and system_routes_edit.php
Post by: franco 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
Title: Re: Bug in system_routes.php and system_routes_edit.php
Post by: jstrebel on April 02, 2015, 05:03:04 pm
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