Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
hi after install neew dev version and clean the cache file ..i becomes errors like this
warning: fopen() expects at least 2 parameters, 1 given in .../xmlsitemap/xmlsitemap/xmlsitemap.pages.inc on line 84.
and sitemap.xml is empty
Comments
Comment #1
apadernoI noticed that the second parameter was not correct also in the function calls it get it; the second parameter should be
'w+'
.The code has been changed, and committed in CVS.
Thanks for your report.
Comment #2
apadernoThe second parameter has been changed to wb+, which is a better value for compatibility with Windows systems.
Thanks to earnie for the suggestion.
Comment #3
eule CreditAttribution: eule commentedhi
i run the new dev from today.
xmlsitemap is not visible
in the logs is a php error
fclose(): supplied argument is not a valid stream resource in ./xmlsitemap/xmlsitemap/xmlsitemap.pages.inc in Zeile 85.
Comment #4
eule CreditAttribution: eule commentedComment #5
apadernoComment #6
apadernoThe code has been changed, and committed in CVS.
Thanks for your report.
Comment #7
apadernoOf course, the status should be changed to fixed.
Comment #8
parasolx CreditAttribution: parasolx commentedi still not get what need to be modified.
i have changed all the "w+" with "wb+" in xmlsitemap.pages.inc but the error still came out when target to sitemap.xml
Warning: fclose(): supplied argument is not a valid stream resource in /home/kripkorn/domains/kripkornstudios.com.my/public_html/modules/xmlsitemap/xmlsitemap/xmlsitemap.pages.inc on line 85
Warning: Cannot modify header information - headers already sent by (output started at /home/kripkorn/domains/kripkornstudios.com.my/public_html/modules/xmlsitemap/xmlsitemap/xmlsitemap.pages.inc:85) in /home/kripkorn/domains/kripkornstudios.com.my/public_html/includes/common.inc on line 141
Comment #9
apadernoIf you want to fix the code before the new development snapshot archive is generated (it will happen at 12:00 AM GMT), you can simply change the line containing
in
Comment #10
parasolx CreditAttribution: parasolx commentedok.. after changing it all, the sitemap.xml turn into blank page?
then i apply this patch: http://drupal.org/files/issues/xmlsitemap_tools_settings_091190.patch
i delete all the sitemap cache and after that view it again. this error came out:
Warning: fclose(): supplied argument is not a valid stream resource in /home/kripkorn/domains/kripkornstudios.com.my/public_html/modules/xmlsitemap/xmlsitemap/xmlsitemap.pages.inc on line 222
Warning: fclose(): supplied argument is not a valid stream resource in /home/kripkorn/domains/kripkornstudios.com.my/public_html/modules/xmlsitemap/xmlsitemap/xmlsitemap.pages.inc on line 231
Warning: fclose(): supplied argument is not a valid stream resource in /home/kripkorn/domains/kripkornstudios.com.my/public_html/modules/xmlsitemap/xmlsitemap/xmlsitemap.pages.inc on line 231
Warning: fclose(): supplied argument is not a valid stream resource in /home/kripkorn/domains/kripkornstudios.com.my/public_html/modules/xmlsitemap/xmlsitemap/xmlsitemap.pages.inc on line 231
Warning: Cannot modify header information - headers already sent by (output started at /home/kripkorn/domains/kripkornstudios.com.my/public_html/modules/xmlsitemap/xmlsitemap/xmlsitemap.pages.inc:222) in /home/kripkorn/domains/kripkornstudios.com.my/public_html/includes/common.inc on line 141
Comment #11
parasolx CreditAttribution: parasolx commentedthen i refresh this error came out:
XML Parsing Error: no element found
Location: http://www.kripkornstudios.com.my/sitemap.xml
Line Number 1, Column 1
i check in xmlsitemap table, the data is there.
Comment #12
Anonymous (not verified) CreditAttribution: Anonymous commentedI confirm the #11 comment.
Comment #13
apaderno