After installing the scrappy theme, all comments to pages were disabled. After upgrading wordpress from 3.2.1 to 3.5 it still didn’t work. The apache error logfile pointed to a file: “[Tue Jan 01 15:30:27 2013] [error] [client 22.214.171.124] PHP Parse error: syntax error, unexpected T_STRING in /var/lib/www.example.tld/wp-content/themes/scrappy/comments.php on line 33, referer: http://www.example.tld/” A post at stackoverflow pointed in the right direction. Checking out the differences between 1.3 and 1.4 of comments.php revealed that the first had <cr><lf> (windows) line ends, while the 1.4 had <lf> (unix style) line ends, while there was not any other difference between them. Backtracking revealed that the 1.3 theme was uploaded from a Ubuntu 10.04 workstation with ssh. The 1.4 was installed manually with wget and unzip straight on the server itself, which is a 10.04 too. Hope this helps someone.
- The topic ‘1.3 install fails’ is closed to new replies.