# Adminstration =\> Layouts =\> Edit Layout =\> Encounter preview \>\> Warns of missing file(s)

**URL:** <https://community.open-emr.org/t/adminstration-layouts-edit-layout-encounter-preview-warns-of-missing-file-s/10395>\
**Category:** Management and Administration\
**Tags:** patching, question, installation\
**Created:** [June 26, 2018, 3:38pm UTC](https://community.open-emr.org/t/adminstration-layouts-edit-layout-encounter-preview-warns-of-missing-file-s/10395 "2018-06-26T15:38:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NesZ](https://community.open-emr.org/user_avatar/community.open-emr.org/nesz/32/11778_2.png) [@NesZ](https://community.open-emr.org/u/NesZ)\
**Post date:** [June 26, 2018, 3:38pm UTC](https://community.open-emr.org/t/adminstration-layouts-edit-layout-encounter-preview-warns-of-missing-file-s/10395/1 "2018-06-26T15:38:44Z")

</div>

I have installed the latest stable 5.0.1 release in a sandbox. I am running CentOS6/Apache2.2/MySQL5.6/PHP5.6. I have it configured to the point in which I can checkout and bill a patient.

In exploring the forms creation features I came across the following error:  
\_ Warning: include\_once(/var/www/openemr/interface/forms/LBTptreq/view.php): failed to open stream: No such file or directory in /var/www/openemr/interface/patient\_file/encounter/view\_form.php on line 18\_

\_ Warning: include\_once(): Failed opening ‘/var/www/openemr/interface/forms/LBTptreq/view.php’ for inclusion (include\_path=’.:/usr/share/pear:/usr/share/php’) in /var/www/openemr/interface/patient\_file/encounter/view\_form.php on line 18\_

I would like some hints on how to effectively correct the cause of this missing files condition.

Am I missing a patch?  
In researching I noticed that there is a patch, but I wonder is that patch is already part of 5.0.1 or do I need to install it to correct the missing files

* * *

Adding more information:  
I Installed the patch (3) and noticed that none of those files affected the symptoms

This condition happens every time I request to see the preview of the following forms:

Physician Request  
Referral  
Patient Request  
Legal  
I noticed that the files the script view\_form.php tries to load in line 18 of that script are missing together with any directory of the form /interface/forms/LBT\* and there is only a directory openemr/interface/forms/LBF/

Any suggestions as to what is going on?  
Kind regards,  
NesZ

* * *

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [June 27, 2018, 12:53am UTC](https://community.open-emr.org/t/adminstration-layouts-edit-layout-encounter-preview-warns-of-missing-file-s/10395/2 "2018-06-27T00:53:48Z")

</div>

hi @NesZ, think you found a bug, [openemr/add\_transaction.php at rel-501 · openemr/openemr · GitHub](https://github.com/openemr/openemr/blob/rel-501/interface/patient_file/transaction/add_transaction.php#L23)

looks like when the title exists need to remove the transaction option value suffix

---

<div class="post-metadata">

**Author:** ![NesZ](https://community.open-emr.org/user_avatar/community.open-emr.org/nesz/32/11778_2.png) [@NesZ](https://community.open-emr.org/u/NesZ)\
**Post date:** [June 27, 2018, 3:02pm UTC](https://community.open-emr.org/t/adminstration-layouts-edit-layout-encounter-preview-warns-of-missing-file-s/10395/3 "2018-06-27T15:02:12Z")

</div>

Hi @stephenwaite,  
This condition happens for the referral and also for the Physician Request, Patient Request, and Legal forms; each one calls an LBT (followed by the \_phreq, \_ref, \_legal), but there is no directories under the interface/forms directory that contain the files that it calls for in the include\_once line to stream.  
Hope that helps to further clarify.😕
