Title: cdcrash's Replies | WordPress.org

---

# cdcrash

  [  ](https://wordpress.org/support/users/cdcrash/)

 *   [Profile](https://wordpress.org/support/users/cdcrash/)
 *   [Topics Started](https://wordpress.org/support/users/cdcrash/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cdcrash/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cdcrash/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cdcrash/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cdcrash/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cdcrash/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unexpected character and Parse Error…](https://wordpress.org/support/topic/unexpected-character-and-parse-error/)
 *  Thread Starter [cdcrash](https://wordpress.org/support/users/cdcrash/)
 * (@cdcrash)
 * [21 years ago](https://wordpress.org/support/topic/unexpected-character-and-parse-error/#post-203465)
 * Ok, thanks to carthik on #wordpress on IRC, I found the problem…
 * [http://photostack.org/forum/viewtopic.php?pid=401](http://photostack.org/forum/viewtopic.php?pid=401)
 * basically, change the line
 * `$index = $_SERVER['SCRIPT_NAME'];`
    in the file: wp-includes/template-functions-
   links.php to: `$index = $_SERVER['PHP_SELF'];`
 * There’s one other file with the variable `$_SERVER['SCRIPT_NAME']` in it:
    wp-
   settings.php
 * If I find anymore problems, I’ll change it there too.
 * I think this has a lot to do with running PHP as CGI.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Unexpected character and Parse Error…](https://wordpress.org/support/topic/unexpected-character-and-parse-error/)
 *  Thread Starter [cdcrash](https://wordpress.org/support/users/cdcrash/)
 * (@cdcrash)
 * [21 years ago](https://wordpress.org/support/topic/unexpected-character-and-parse-error/#post-203464)
 * oops double post~!

Viewing 2 replies - 1 through 2 (of 2 total)