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

report page crash on loading large xml #91

Open
spadazza opened this issue Sep 1, 2023 · 2 comments
Open

report page crash on loading large xml #91

spadazza opened this issue Sep 1, 2023 · 2 comments

Comments

@spadazza
Copy link

spadazza commented Sep 1, 2023

When i navigate on the dmarc report viewer, if I access a report with a large number of records, the page throws this php error :

Fatal error: Uncaught ValueError: DOMDocument::loadXML(): Argument #1 ($source) must not be empty in /var/www/viewer/dmarcts-report-viewer-report-data.php:213 Stack trace: #0 /var/www/viewer/dmarcts-report-viewer-report-data.php(213): DOMDocument->loadXML() #1 /var/www/viewer/dmarcts-report-viewer-report-data.php(59): formatXML() #2 /var/www/viewer/dmarcts-report-viewer-report-data.php(366): tmpl_reportData() #3 {main} thrown in /var/www/viewer/dmarcts-report-viewer-report-data.php on line 213

@jmturner
Copy link

Hi. Any updates on this one?

@ChucklesTheBeard
Copy link

This error means the xml is missing for that report.

If you're using dmarcts-report-parser increase the maximum xml size. Default is 50kB.

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

3 participants