Title: [Plugin: Relocate Upload] Parse error: syntax error, unexpected $end
Last modified: August 19, 2016

---

# [Plugin: Relocate Upload] Parse error: syntax error, unexpected $end

 *  [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-relocate-upload-parse-error-syntax-error-unexpected-end/)
 * Main version has a parse error:
 * Parse error: syntax error, unexpected $end in C:\web\wptest\wp-content\plugins\
   relocate-upload\relocate-upload.php on line 226
 * [http://wordpress.org/extend/plugins/relocate-upload/](http://wordpress.org/extend/plugins/relocate-upload/)

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

 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-relocate-upload-parse-error-syntax-error-unexpected-end/#post-1042604)
 * can you just double-check that you have a complete PHP file – i’m not on the 
   main 0.11 version to check right away, but i don’t recall there being a general
   issue as serious as that with that version.
 *  [baytides](https://wordpress.org/support/users/kassiopeia/)
 * (@kassiopeia)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-relocate-upload-parse-error-syntax-error-unexpected-end/#post-1042632)
 * I have the same problem. It has to do with the “short_open_tag” configuration
   setting not being allowed and the script having several instances of it starting
   on line#87 – line #209. To fix use a text editor and replace all instances of`
   <?` with `<?php` . Make sure you don’t end up with `<?phpphp` …….. 🙁
 * btw: the version available on wordpress/plugins is only 0.10.
 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-relocate-upload-parse-error-syntax-error-unexpected-end/#post-1042642)
 * *blush* yes i am very rubbish/lazy always doing short tags
 * i will update that in the dev and commit it very shortly

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

The topic ‘[Plugin: Relocate Upload] Parse error: syntax error, unexpected $end’
is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [alanft](https://wordpress.org/support/users/alanft/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-relocate-upload-parse-error-syntax-error-unexpected-end/#post-1042642)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
