# White page of death in the document template

**URL:** <https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890>\
**Category:** OpenEMR Development\
**Created:** [April 10, 2014, 7:07pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890 "2014-04-10T19:07:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 7:07pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/1 "2014-04-10T19:07:15Z")

</div>

**[arnabnaha](https://sourceforge.net/u/arnabnaha/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#fe0f):

Hi…  
While testing out the Document Template, I downloaded the Hipaa file from the wiki and uploaded it to the document template. Now when i go to a patient summary -\> Documents-\> Patient Information and from the drop down i try to download that Hipaa file by clicking FETCH…it just gives me a white page and nothing happens. Help Please!

I am in Windows 8 with xampp package and using openemr 4.1.3 dev tip. Thanks

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 7:19pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/2 "2014-04-10T19:19:14Z")

</div>

**[arnabnaha](https://sourceforge.net/u/arnabnaha/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#7596):

The PHP error Log:

[10-Apr-2014 18:59:33 UTC] PHP Notice: Trying to get property of non-object in C:\xampp\htdocs\openemr\library\classes\ORDataObject.class.php on line 125

[10-Apr-2014 18:59:33 UTC] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\openemr\library\classes\Document.class.php on line 123

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Non-static method Controller::act() should not be called statically in C:\xampp\htdocs\openemr\controller.php on line 5

[10-Apr-2014 18:59:34 UTC] PHP Notice: Undefined property: CategoryTree::$root\_type in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 54

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:34 UTC] PHP Notice: Undefined index: encrypted in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 308

[10-Apr-2014 18:59:34 UTC] PHP Notice: Undefined index: passphrase in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 309

[10-Apr-2014 18:59:34 UTC] PHP Notice: Trying to get property of non-object in C:\xampp\htdocs\openemr\library\classes\ORDataObject.class.php on line 125

[10-Apr-2014 18:59:34 UTC] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\openemr\library\classes\Document.class.php on line 123

[10-Apr-2014 18:59:34 UTC] PHP Notice: Undefined property: Document::$storagemethod in C:\xampp\htdocs\openemr\library\classes\Document.class.php on line 385

[10-Apr-2014 18:59:34 UTC] PHP Notice: Undefined property: Document::$couch\_docid in C:\xampp\htdocs\openemr\library\classes\Document.class.php on line 393

[10-Apr-2014 18:59:34 UTC] PHP Notice: Undefined property: Document::$couch\_revid in C:\xampp\htdocs\openemr\library\classes\Document.class.php on line 401

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Non-static method Controller::act() should not be called statically in C:\xampp\htdocs\openemr\controller.php on line 5

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined property: CategoryTree::$root\_type in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 54

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 7 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 8 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 9 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 6 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 12 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 11 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 2 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 15 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 14 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 3 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 5 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 4 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 13 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:35 UTC] PHP Notice: Undefined offset: 1 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Non-static method Controller::act() should not be called statically in C:\xampp\htdocs\openemr\controller.php on line 5

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined property: CategoryTree::$root\_type in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 54

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 7 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 8 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 9 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 6 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 12 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 11 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 2 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 15 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 14 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 3 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 5 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 4 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 13 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:37 UTC] PHP Notice: Undefined offset: 1 in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 961

[10-Apr-2014 18:59:40 UTC] PHP Fatal error: Call-time pass-by-reference has been removed in C:\xampp\htdocs\openemr\interface\patient\_file\download\_template.php on line 70

[10-Apr-2014 19:09:34 UTC] PHP Notice: Trying to get property of non-object in C:\xampp\htdocs\openemr\library\classes\ORDataObject.class.php on line 125

[10-Apr-2014 19:09:34 UTC] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\openemr\library\classes\Document.class.php on line 123

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Non-static method Controller::act() should not be called statically in C:\xampp\htdocs\openemr\controller.php on line 5

[10-Apr-2014 19:09:35 UTC] PHP Notice: Undefined property: CategoryTree::$root\_type in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 54

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Strict Standards: Only variables should be assigned by reference in C:\xampp\htdocs\openemr\library\classes\Tree.class.php on line 329

[10-Apr-2014 19:09:35 UTC] PHP Notice: Undefined index: encrypted in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 308

[10-Apr-2014 19:09:35 UTC] PHP Notice: Undefined index: passphrase in C:\xampp\htdocs\openemr\controllers\C\_Document.class.php on line 309

[10-Apr-2014 19:09:35 UTC] PHP Notice: Trying to get property of non-object in C:\xampp\htdocs\openemr\library\classes\ORDataObject.class.php on line 125

[10-Apr-2014 19:09:35 UTC] PHP Notice: Undefined offset: 0 in C:\xampp\htdocs\openemr\library\classes\Document.class.php on line 123

[10-Apr-2014 19:09:35 UTC] PHP Notice: Undefined property: Document::$storagemethod in C:\xampp\htdocs\openemr\library\classes\Document.class.php on line 385

[10-Apr-2014 19:09:35 UTC] PHP Notice: Undefined property: Document::$couch\_docid in C:\xampp\htdocs\openemr\library\classes\Document.class.php on line 393

[10-Apr-2014 19:09:35 UTC] PHP Notice: Undefined property: Document::$couch\_revid in C:\xampp\htdocs\openemr\library\classes\Document.class.php on line 401

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 7:30pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/3 "2014-04-10T19:30:13Z")

</div>

**[sunsetsystems](https://sourceforge.net/u/sunsetsystems/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#3879):

Looks like the deprecated “pass by reference” thing again. I’ll fix it.

Rod  
[http://www.sunsetsystems.com/](http://www.sunsetsystems.com/)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 7:30pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/4 "2014-04-10T19:30:55Z")

</div>

**[arnabnaha](https://sourceforge.net/u/arnabnaha/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#dea4):

Thanks Rod…🙂

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 7:32pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/5 "2014-04-10T19:32:03Z")

</div>

**[arnabnaha](https://sourceforge.net/u/arnabnaha/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#5323):

I tried to remove some & from the download\_template.php and now it gives this error

PHP Fatal error: Call to undefined function mime\_content\_type() in C:\xampp\htdocs\openemr\interface\patient\_file\download\_template.php on line 204

Cant figure out this…was just trying…

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 7:39pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/6 "2014-04-10T19:39:01Z")

</div>

**[sunsetsystems](https://sourceforge.net/u/sunsetsystems/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#7596/858e):

Fix is done and pushed to SourceForge.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 7:39pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/7 "2014-04-10T19:39:38Z")

</div>

**[arnabnaha](https://sourceforge.net/u/arnabnaha/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#1abe):

Thanks…that was fast!

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 8:00pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/8 "2014-04-10T20:00:08Z")

</div>

**[sunsetsystems](https://sourceforge.net/u/sunsetsystems/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#31c7):

Hmm, this article suggests the mime\_type stuff does not work with Windows:

> **[mime\_content\_type not working](https://www.daniweb.com/programming/web-development/threads/109504/mime-content-type-not-working)**
>
> mime\_content\_type is not working .. i have in my php.ini as: \[mime\_magic\] mime\_magic.debug = On mime\_magic.magicfile = "C:\\Program Files\\xampp\\php\\extras\\magic.

I may have to hard-code some stuff that deduces mime types from filename extensions. Which extensions do you care about?

Rod  
[http://www.sunsetsystems.com/](http://www.sunsetsystems.com/)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 8:02pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/9 "2014-04-10T20:02:45Z")

</div>

**[arnabnaha](https://sourceforge.net/u/arnabnaha/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#4067):

Its better if we can have .doc, .docx, .pdf, .txt I think these will be good to go…if u feel u can add any more please do…Thank u

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 8:07pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/10 "2014-04-10T20:07:59Z")

</div>

**[arnabnaha](https://sourceforge.net/u/arnabnaha/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#e628):

It is still showing white page…after the correction…might fix after you hard code things

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 8:44pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/11 "2014-04-10T20:44:42Z")

</div>

**[sunsetsystems](https://sourceforge.net/u/sunsetsystems/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#ba98):

OK I hard-coded some mime types for the case where the relevant functions are not available. This is pushed to SF.

If it still doesn’t work, just post up the Fatal Error line(s) from the log. Don’t need to see notices and such.

Rod  
[http://www.sunsetsystems.com/](http://www.sunsetsystems.com/)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 8:45pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/12 "2014-04-10T20:45:34Z")

</div>

**[arnabnaha](https://sourceforge.net/u/arnabnaha/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#da00):

Thanks…will do that…

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 9:03pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/13 "2014-04-10T21:03:55Z")

</div>

**[arnabnaha](https://sourceforge.net/u/arnabnaha/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#ed9e):

Did the Update…it is working absolutely fine…Thank u so much and another thanks for the wonderful feature…

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 9:17pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/14 "2014-04-10T21:17:44Z")

</div>

**[arnabnaha](https://sourceforge.net/u/arnabnaha/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#d7e7):

Another Issue:

When I upload, MS Word files in .doc or .docx format, the address is replaced/parsed well but the patient name is not replaced, nor the phone numbers or the patient problems. Tested this out with the HIPAA document from the wiki after converting it to .doc format and even made a new document myself in MS word in .doc format…both showed same effect.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 10, 2014, 9:40pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/15 "2014-04-10T21:40:16Z")

</div>

**[sunsetsystems](https://sourceforge.net/u/sunsetsystems/)** wrote on [Thursday, April 10, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#d7e7/3320):

That’s probably the problem where you need to copy-and-paste in the keywords from a text file instead of typing them into the document. If you type them in by hand, they can end up with embedded XML tags which causes the searching for them to fail.

Rod  
[http://www.sunsetsystems.com/](http://www.sunsetsystems.com/)

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 11, 2014, 12:27am UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/16 "2014-04-11T00:27:24Z")

</div>

**[blankev](https://sourceforge.net/u/blankev/)** wrote on [Friday, April 11, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#d7e7/3320/3068):

I just uploaded a new All Parameters file made in OpenOffice. Got all parameters in the file translated into Client information.

Use the weekly latest Demo:

[http://demo.open-emr.org:2103/openemr/](http://demo.open-emr.org:2103/openemr/)

Suppose I don’t have to show the steps, but it is good to evaluate, and compare with the result of a local version problem or a Demo. This is an OpenOffice file and not an MSWord file.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 11, 2014, 12:37am UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/17 "2014-04-11T00:37:21Z")

</div>

**[blankev](https://sourceforge.net/u/blankev/)** wrote on [Friday, April 11, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#d7e7/3320/3068/7a24):

And I tried to make a MSWord2007 document extension .doc and it will not open in MSWord2007 the version I created it in. So yes there is an issue.

Is OpenEMR renaming the file with an extra and wrong extension?

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 11, 2014, 2:41am UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/18 "2014-04-11T02:41:41Z")

</div>

**[sunsetsystems](https://sourceforge.net/u/sunsetsystems/)** wrote on [Friday, April 11, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#d7e7/3320/3068/7a24/6497):

WP documents must be in OpenDocument format. Not sure if Word 2007 does that. OpenOffice or LibreOffice will.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 11, 2014, 11:59am UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/19 "2014-04-11T11:59:00Z")

</div>

**[blankev](https://sourceforge.net/u/blankev/)** wrote on [Friday, April 11, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#0971):

We have to make a REMARK in the WIKI pages about the OpenOffice file. I hope to remember to do this during the weekend. If done I will see the remark in time.

TNX to bringing Open Source software in view again for me it was just again an eye opener seeing the improvements for this free software gem.

---

<div class="post-metadata">

**Author:** ![system](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/bb9e4e8ae2ea7faac2e952fd9e38a3ce03aac403.png) [@system](https://community.open-emr.org/u/system)\
**Post date:** [April 11, 2014, 4:07pm UTC](https://community.open-emr.org/t/white-page-of-death-in-the-document-template/6890/20 "2014-04-11T16:07:04Z")

</div>

**[sunsetsystems](https://sourceforge.net/u/sunsetsystems/)** wrote on [Friday, April 11, 2014](https://sourceforge.net/p/openemr/discussion/202506/thread/b056435c/#9e6e):

Info about Word 2007 and OpenDocument format here:

> **[Use Word to open or save a document in the OpenDocument Text (.odt) format](https://support.office.com/en-us/article/use-word-to-open-or-save-a-document-in-the-opendocument-text-odt-format-20e5189f-86f8-4d8f-ae74-ea06b7df3b0e?ocmsassetID=HA010281619&CorrelationId=2733d924-4ff2-4b0f-b176-f8bdfbefa66c&ui=en-US&rs=en-US&ad=US)**
>
> Learn how to use Word to open or save a document in OpenDocument Text format.

Rod  
[http://www.sunsetsystems.com/](http://www.sunsetsystems.com/)
