Jump to content

Topic on Manual talk:GenerateSitemap.php/Archive 2

Jcwild (talkcontribs)

When I run this script I get the following:

Content-type: text/html

<br />

<b>Parse error</b>:  syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in <b>/path/wiki/maintenance/generateSitemap.php</b> on line <b>29</b><br />

Any ideas?

Jcwild (talkcontribs)

Ah, turns out "php" was v4.4.9. I needed to use a newer version.