Closed (duplicate)
Project:
XML sitemap
Version:
6.x-1.x-dev
Component:
xmlsitemap
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Nov 2008 at 18:57 UTC
Updated:
26 Nov 2008 at 07:27 UTC
Jump to comment: Most recent file
Comments
Comment #1
amardeshbd commentedYep !! I've got this too ... when updating from 0.x to 1.x
Parse error: syntax error, unexpected ')' in /home/uwindsor/public_html/hossainkhan.info/sites/all/modules/xmlsitemap/xmlsitemap.install on line 161
Comment #2
justin.hopkins commentedRemoving the comma at the end of line 161 and placing a semi colon after the closing parens on line 162 should fix you up.
Afterthought: Here's a patch.
Disclaimer: Try at your own risk. update.php threw some warnings - not able to unlink a .svn folder(fine, but probably should be taken into consideration by module developer), unable to drop some tables. No big deal, the module seems to work fine now. Anyway, this isn't for production sites ;)
To apply the patch:
Put the patch file into the xmlsitemap module directory and:
patch < xmlsitemap.patch
Comment #3
Ryanbach commentedComment #4
avpadernoThe parse error was already fixed in CVS.
I changed the code to remove the temporary files so that it suppress warnings; it also try to delete any sub-directory it finds (up to four levels). The directory .svn was not created by the module, which creates only files into its own temporary directory.
Setting this report as duplicate of #338907: Parse error.
Comment #5
avpaderno