Yes, it is a puzzler, which is why I posted :-)
I was thinking it was perhaps a path issue, since the require_once were called inside of a function, but even changing all paths to server root relative didnt work. Also, since they were requires, it would cause a fatal error if it couldnt find the definition file.
Perhaps they are require_once, and called first on the parent page, is the problem?
I added your suggested require_once to the definition file, but added its parent folder WA_eCart/ and it found it fine, but still threw the error. Like I said, I even tried full server root relative paths, and no luck.
The exact error I am receiving is (with account name changed)
Notice: Undefined variable: eCart1 in /home/accountname/public_html/email-receipt.php on line 7
Fatal error: Call to a member function GetContent() on a non-object in /home/accountname/public_html/email-receipt.php on line 7
(the error is on line 7 now, instead of 6, because I added the new require_once to the definition)
Any more ideas?
I really need to get this figgured out today, since you guys are off on the weekend.