WordPress offers the ability to store your wordpress files in a separate folder then you are serving the application out of. The abspath file and $abspath variable do NOT seem to work with this.
My current directory structure looks like this:
- /index.php
- /wp-config.php
- /wp/wp-load.php
- /wp-content
From what I can tell, cforms use of the generated abspath file to locate wp-load.php and wp-config.php will be broken for this directory structure, since it assumes the two files are next to each other. In recent versions of WordPress there are a number of contstants you can use to determine the path of these things.
If someone has solved this problem before, let me know. If not, looks like I will need to hack cforms to work for me.