It is often problematical to use spaces in paths and/or filenames. However, it also often works fine, so that might not be an issue here. One tricky part about both paths and filenames on the web is that upper and lower case matter. In most local testing though, they do not.
This script really isn't all that complicated to use, though (as with any script), there are quite a number of things that can mess it up. If you want more help:
Please post a link to the page on your site that contains the problematic code so we can check it out.
Bookmarks