Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to import exported MISP events as XML #80

Closed
batzxy opened this issue Feb 18, 2020 · 1 comment
Closed

Unable to import exported MISP events as XML #80

batzxy opened this issue Feb 18, 2020 · 1 comment

Comments

@batzxy
Copy link

batzxy commented Feb 18, 2020

I recently updated the MISP project from 2.4.105 to 2.4.120 and I am unable to import the exported events as it is showing the following error:
2020-02-18 06:00:26 Error: [XmlException] Xml cannot be read.
Request URL: /events/add_misp_export
Stack Trace:
#0 /var/www/MISP/app/Lib/cakephp/lib/Cake/Utility/Xml.php(107): Xml::_loadXml('<?xml version="...', Array)
#1 /var/www/MISP/app/Controller/EventsController.php(3194): Xml::build('<?xml version="...')
#2 /var/www/MISP/app/Controller/EventsController.php(2135): EventsController->_addMISPExportFile('xml', false, '1')
#3 [internal function]: EventsController->add_misp_export()
#4 /var/www/MISP/app/Lib/cakephp/lib/Cake/Controller/Controller.php(499): ReflectionMethod->invokeArgs(Object(EventsController), Array)
#5 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(193): Controller->invokeAction(Object(CakeRequest))
#6 /var/www/MISP/app/Lib/cakephp/lib/Cake/Routing/Dispatcher.php(167): Dispatcher->_invoke(Object(EventsController), Object(CakeRequest))
#7 /var/www/MISP/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#8 {main}

I have changed buffer memory and max upload to 5G for now in the php.ini file.
Can anyone help me?
Thank you in advance.

@batzxy batzxy closed this as completed Apr 17, 2020
@batzxy
Copy link
Author

batzxy commented Apr 17, 2020

Never mind. It worked for me in 2.4.124

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant