Forum


Replies: 2   Views: 5696
Pro does not run on real server (no errors, no docx)
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by frust  · 26-11-2012 - 14:49

Hello!

We first tried to run phpdocx free on the server, it worked but had not enough features.
then my boss bought the pro version, licenced for the domain we use. But i can't even create a hello world doc file.


here is the code:

[code]
require_once(APPPATH."libraries/phpdocxpro/classes/CreateDocx.inc");

$docx = new CreateDocx(PHPDOCX_BASE_TEMPLATE,"uploads/tmp");


$docx->addText("Hallo");

$docx->createDocx('uploads/docx/hello');

echo '<a href="'.site_url('/uploads/docx/hello.docx').'">klick me</a>';

[/code]


We use the CodeIgniter framework. I had to change the tmp directory, no write access in /tmp on the server.
the thing runs on my local development system (windows, xampp) fine, but on the server it returns just a blank page. No error messages whatsoever. It also creates a file in the specified tmp directory, but its 0 Bytes.

to me it looks like a licening problem, but the "how to install" file confuses me.

- Include your license key in the code file (you should also include the domain in the domain file for the CORPORATE version)

what code file? I just got the archive from my boss, do I have to add something here or should it run out of the box? how can I check if the licence key/information is included?