Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm upgrading xmlsite map 6-2.0.beta3 to 6.x-2.0-rc1 in test platform
I run cron manually & I have an error "Fatal error : can't open file ../.../...1.xml .........) (in blank page)
Xml files had been deleted during execution !!!
so I upload xml files again, and re-run cron. Same error et files deleting.
Comment | File | Size | Author |
---|---|---|---|
#2 | xmlsitemap.xmlsitemap.zip | 9.29 KB | XerraX |
Comments
Comment #1
cpo CreditAttribution: cpo commentedI have same problem with 6.x-2.0beta3 in my test platform after a refresh (production to test platform) and upload 1700 nodes (I already have 58000 nodes)
Trace:
Fatal error: Uncaught exception 'XMLSitemapGenerationException' with message 'Could not open file sites/collection.wezbe.com/files/xmlsitemap/2e9ZfIfLFCC0V-PbcDKUTb1Wk22XgjzJ6f-b16CFlPE/1.xml for writing.' in D:\wezbe\production\public_html\sites\all\modules\xmlsitemap\xmlsitemap.xmlsitemap.inc:47 Stack trace: #0 D:\wezbe\production\public_html\sites\all\modules\xmlsitemap\xmlsitemap.xmlsitemap.inc(36): XMLSitemapWriter->openUri('sites/collectio...') #1 D:\wezbe\production\public_html\sites\all\modules\xmlsitemap\xmlsitemap.generate.inc(152): XMLSitemapWriter->__construct(Object(stdClass), 1) #2 D:\wezbe\production\public_html\sites\all\modules\xmlsitemap\xmlsitemap.generate.inc(338): xmlsitemap_generate_page(Object(stdClass), 1) #3 [internal function]: xmlsitemap_regenerate_batch_generate('2e9ZfIfLFCC0V-P...', Array) #4 D:\wezbe\production\public_html\includes\batch.inc(190): call_user_func_array('xmlsitemap_rege...', Array) #5 D:\wezbe\production\public_html\includes\form.inc(2550): _batch_process() #6 D:\wezbe\producti in D:\wezbe\production\public_html\sites\all\modules\xmlsitemap\xmlsitemap.xmlsitemap.inc on line 47
Comment #2
XerraX CreditAttribution: XerraX commentedIt seems like this part is missing in the latest xmlsitemap.xmlsitemap.inc
Attaching the old xmlsitemap.xmlsitemap.inc. Why has this been removed? Its the only change made on this file.
Comment #3
Anonymous (not verified) CreditAttribution: Anonymous commented@cpo: Are you still having an issue?
@XerraX: We'll have to find the commit that removed it to determine why.