That's getting me somewhere. It's trying to read the file from the core/cache/includes/elements folder, instead of reading the path from the root of the server.
I tried quite a few things to get the root path to show up instead, but none of them worked for me (mostly things from the comments on these pages
http://php.net/manual/en/function.require-once.php and
http://php.net/manual/en/function.getenv.php).
The files are located at www.example.com/facebook-connect/facebook.php
Or /home/server/public_html/facebook-connect/facebook.php
Here is the full snippet:
http://pastebin.com/nd4QYkKQ
I kept the simple require path that I started with in there (and removed comments to save space).
You seem to end up helping me quite a bit! I do appreciate it.