Unable to open popt license.php

From Adult Web Scripts Wiki

Jump to: navigation, search

If you are calling zestoi functions from an external php file with code like this:

  require_once("/path/to/mydomain.com/public_html/zestoi/config.php");
  echo zestoi("webcams", "template=webcams_grid.tpl&rows=10&cols=5&niche=ebony");

and see the following error:

 /path/to/mydomain.com/public_html/zestoi/bin unable to open [popt_license.php]

it will be due to you not having a copy of your zestoi/bin/popt_license.php file in the same dir as the php file you are trying to call.

e.g: if trying to call the script /path/to/mydomain.com/public_html/dir/script.php you also need to have a copy of popt_license.php in /path/to/mydomain.com/public_html/dir/