i tried to activate the zibbra library.
the library and the adapter which i follow into the zibbra documentation
my folder path is like this
c:\xampp\htdocs\doorbraakboeken
and its seems that when i activate the library
this is what it goes
My code is written inside doorbraakboeken.be/wp-content/themes/doorbraak/templates/homepage.php file this is my code below to call the library
This is my folder
main folder
inside folder is
Im using windows and im using vagrant virtual box
Can someone help me figured this out to point correctly the path in order to load my library?
Any help is muchly appreciated. TIA
the library and the adapter which i follow into the zibbra documentation
my folder path is like this
c:\xampp\htdocs\doorbraakboeken
and its seems that when i activate the library
this is what it goes
Code:
Warning: require_once(../api-client-library/php/library.php): failed to open stream: No such file or directory in /var/www/html/wp-content/themes/doorbraak/templates/homepage.php on line 8
Fatal error: require_once(): Failed opening required '../api-client-library/php/library.php' (include_path='/var/www/html/vendor') in /var/www/html/wp-content/themes/doorbraak/templates/homepage.php on line 8
My code is written inside doorbraakboeken.be/wp-content/themes/doorbraak/templates/homepage.php file this is my code below to call the library
Code:
<?php
require_once("../api-client-library/php/library.php");
require_once("../api-client-library/php/adapter/standalone");
//Instantiate the adapter
$adapter = new Zibbra_Adapter_Standalone();
//Instantiate the library
$library = ZLibrary::getInstance($adapter);
$library->setApiClientId("test client id");
$library->setApiClientSecret("test client secret");
?>
This is my folder
main folder
Code:
doorbraakboeken
Code:
api-client-library
doorbraakboeken.be
wordpress.zibbra.com
Im using windows and im using vagrant virtual box
Can someone help me figured this out to point correctly the path in order to load my library?
Any help is muchly appreciated. TIA