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

Sitemap overflow fix #83

Closed
wants to merge 5 commits into from

Conversation

DarkSilence
Copy link

That's my implementation for a fix for issues #82 and #81
I'm not quite sure about my approach on line 202. Could you check it please.

* proposition for a fix for a bug which causes a sitemap to overflow when size limit is reached
Sitemap.php Outdated Show resolved Hide resolved
Sitemap.php Outdated Show resolved Hide resolved
Sitemap.php Outdated Show resolved Hide resolved
@mougrim
Copy link
Contributor

mougrim commented Aug 13, 2023

@samdark @DarkSilence, Hi!
What is needed for merge fix? Do you need some help here?
I have the same issue:

PHP Fatal error:  Uncaught OverflowException: The buffer size is too big for the defined file size limit in vendor/samdark/sitemap/Sitemap.php:234
Stack trace:
#0 vendor/samdark/sitemap/Sitemap.php(199): samdark\sitemap\Sitemap->flush()
#1 vendor/samdark/sitemap/Sitemap.php(212): samdark\sitemap\Sitemap->finishFile()

@samdark
Copy link
Owner

samdark commented Aug 18, 2023

Yes.

Need to verify it works and works correctly.

@mougrim
Copy link
Contributor

mougrim commented Sep 8, 2023

Hello!
Looks like it doesn't fix OverflowException, I'm preparing separated MR.

@samdark samdark closed this Nov 1, 2023
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

Successfully merging this pull request may close these issues.

3 participants