Closed (fixed)
Project:
XML sitemap
Version:
6.x-1.x-dev
Component:
xmlsitemap.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 May 2009 at 03:58 UTC
Updated:
26 May 2009 at 15:50 UTC
Jump to comment: Most recent
Comments
Comment #1
avpadernoI 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
avpadernoThe 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 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 commentedComment #5
avpadernoComment #6
avpadernoThe code has been changed, and committed in CVS.
Thanks for your report.
Comment #7
avpadernoOf course, the status should be changed to fixed.
Comment #8
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
avpadernoIf 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 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 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) commentedI confirm the #11 comment.
Comment #13
avpaderno