I opened GenerateDocx.inc, and found line 46. It was part of an if block shown below. I added the error log error in an effort to see what the code was looking for:
if (!isset($_SERVER['SERVER_NAME'])) {
return;
} else {
error_log(dirname(__FILE__) . '/code' );
$xzerod = trim(file_get_contents(dirname(__FILE__) . '/code'));
$xzerob = trim(gethostbyname($_SERVER['SERVER_NAME']));
$xzeroc = trim($_SERVER['SERVER_NAME']);
}
It wants this:
/home2/managemy/public_html/tysonscup/phpword/classes/code
There are two problems:
1) There is no folder "code" in the classes folder
2) There is no file where the function can get contents
AND
Even if I add the folder "code", or I change the code to use "conf", then the license error comes up. Supposedly, I don't need a license code for the free version; at least, there is no instruction for that.
This free version doesn't seem to work any more. The last free version that seemed to work in the forums is about a year ago.