viper_tkd Posted March 9, 2014 Share Posted March 9, 2014 Hi. I have installed prestastashop 184.108.40.206. For testing, until the stable release is done I want to enstablish a DB connection from outside the prestashop and collect some info from the PS DB. For ex: I have PS installed in store.mywebsite.com/ and I want to have access to its DB (colect some data) from exterior (mywebsite.com/customer). How can I do that? I tried some examples like adding this: include_once('path_to_prestashop/config/config.inc.php'); include_once('path_to_prestashop/config/settings.inc.php');include_once('path_to_prestashop/classes/Cookie.php');$cookie = new Cookie('ps'); my website crashes and in LOGS iit says: Unable to autoload class Tools: "tools.php" not found This is just an example to collect data.I want to collect more data like: manufacturer, sold products, etc Anyone do that before? Thx Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now