What is the real URL for the installed module?
What the exact URL which you entered on
https://apps.facebook.com/xcart_shop/index.php?
Also it is will be very helpful if you provide us with FTP access to your server to investigate PHP warning. Please, do it only the Help Desk using Secure Access list.