PHP Parse error: syntax error, unexpected ')', expecting ';' in ../sites/all/modules/xmlsitemap/xmlsitemap.module on line 123
this is probably the same as http://drupal.org/node/350335, im not sure you fixed it in 6.x as well
--- xmlsitemap/xmlsitemap.module_orig 2008-12-23 13:01:34.000000000 +0000
+++ xmlsitemap/xmlsitemap.module 2008-12-23 13:01:34.000000000 +0000
@@ -120,7 +120,7 @@ function xmlsitemap_menu() {
$chunk_size = variable_get('xmlsitemap_chunk_size', 50000);
$links_count = _xmlsitemap_link_count();
if ($links_count / $chunk_size > 1) {
- for ($chunk = 0; $chunk < $links_count / $chunk_size); ++$chunk) {
+ for ($chunk = 0; $chunk < ($links_count / $chunk_size); ++$chunk) {
$items["sitemap$chunk.xml"] = array(
'title' => 'Site map !number',
'title arguments' => array('!number' => $chunk),
Comments
Comment #1
avpadernoIt's the same as #350335: Parse error: unexpected ')'. I am setting this issue as duplicate of that, and changing the referring version of the other issue.
This is the only case where a new issue report should not be open, as there is already an issue report about the same topic, even if that is referred to another branch. The other report is set to fixed, so it should have been enough to re-open it, and change the version.
Comment #2
avpaderno