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.
After upgrading from beta1 to beta2, I get an error after cron:
XML sitemap cache directory | Not found or not writable
public://xmlsitemap | Not found or not writable
The "public://xmlsitemap" is pretty confusing in a drupal environment (should be "sites/default/files/xmlsitemap").
Comments
Comment #1
bogdan iosif CreditAttribution: bogdan iosif commentedsame problem here...
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedGoto admin/config/development/performance and Clear Cache. This cleared the error for me.
Public: versus Private: should be understandable if you have some knowledge of the file system admin/config/media/file-system so the original complaint is a "won't fix".
Comment #3
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedi get the posters point about "public". In drupal 5, 6 the file system path was specified in error messages ie. "sites/default/files". That changed in Drupal 7. It is a D7 convention and I agree is outside the scope of this module.
Comment #4
dwalker51 CreditAttribution: dwalker51 commentedI found this confusing to start with, but it was solved by looking in sites/default/files for the directory xmlsitemap and changing the permissions.
Comment #5
Anonymous (not verified) CreditAttribution: Anonymous commentedThere's already a request for improving the error text. I'm moving to fixed.
Comment #7
filnug CreditAttribution: filnug commentedin sites/defaut/files/xmlsitemap I didnt touch the permissions but I deleted the file inside. Then I reinstalled the module and everything worked fine.