Unnecessary issues when loading an older config!
-
I was checking why something was not working today and decided to load an older config for that.
However, in my actual system I have installed the note package, which was not on the system at the time the to be installed backup was made.
No problem you would assume ...... however crash I had to reinstall the system ....
Problem seems to be that the system crashes during loading the xml file ........ because there is no note file ......... Quite stupid IMHO !
See log below
Louis
Fatal error: Uncaught Exception: XML error: SSHDATA at line 17300 cannot occur more than once in /etc/inc/xmlparse.inc:89 Stack trace: #0 [internal function]: startElement(Resource id #6, 'SSHDATA', Array) #1 /etc/inc/xmlparse.inc(188): xml_parse(Resource id #6, 'zvM98o3V98ujdFY...', false) #2 /etc/inc/xmlparse.inc(149): parse_xml_config_raw('/conf/config.xm...', Array, 'false') #3 /etc/inc/config.lib.inc(134): parse_xml_config('/conf/config.xm...', Array) #4 /etc/inc/config.inc(144): parse_config() #5 /etc/inc/gwlb.inc(25): require_once('/etc/inc/config...') #6 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...') #7 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...') #8 /etc/inc/config.gui.inc(39): require_once('/etc/inc/notice...') #9 /etc/inc/auth.inc(33): require_once('/etc/inc/config...') #10 /etc/inc/authgui.inc(27): include_once('/etc/inc/auth.i...') #11 /usr/local/www/guiconfig.inc(60): require_once('/etc/inc/authgu...') #12 /usr/local/www/index.php(46): require_once('/usr/local/www/...') #13 { in /etc/inc/xmlparse.inc on line 89 PHP ERROR: Type: 1, File: /etc/inc/xmlparse.inc, Line: 89, Message: Uncaught Exception: XML error: SSHDATA at line 17300 cannot occur more than once in /etc/inc/xmlparse.inc:89 Stack trace: #0 [internal function]: startElement(Resource id #6, 'SSHDATA', Array) #1 /etc/inc/xmlparse.inc(188): xml_parse(Resource id #6, 'zvM98o3V98ujdFY...', false) #2 /etc/inc/xmlparse.inc(149): parse_xml_config_raw('/conf/config.xm...', Array, 'false') #3 /etc/inc/config.lib.inc(134): parse_xml_config('/conf/config.xm...', Array) #4 /etc/inc/config.inc(144): parse_config() #5 /etc/inc/gwlb.inc(25): require_once('/etc/inc/config...') #6 /etc/inc/functions.inc(35): require_once('/etc/inc/gwlb.i...') #7 /etc/inc/notices.inc(26): require_once('/etc/inc/functi...') #8 /etc/inc/config.gui.inc(39): require_once('/etc/inc/notice...') #9 /etc/inc/auth.inc(33): require_once('/etc/inc/config...') #10 /etc/inc/authgui.inc(27): include_once('/etc/inc/auth.i...') #11 /usr/local/www/guiconfig.inc(60): require_once('/etc/inc/authgu...') #12 /usr/local/www/index.php(46): require_once('/usr/local/www/...') #13 { Warning: fopen(): Filename cannot be empty in /etc/inc/notices.inc on line 101
-
@louis2 a known bug, not related to 2.7 specifically:
https://redmine.pfsense.org/issues/13132