I am trying to modify the way the entry is displayed for a particular form. So I made a new template to replace entry_detail.php so I can modify the code. Entry-detail is called with require_once() in print-entry.php on line 62.
I replaced print_entry.php with newpatient.php and entry_detail.php with newpatient_detail.php.
I have not started changing any of the code in these other than the "require_once" function.
When I change the file being called to the new template file, I get this error message:
Warning: require_once() [function.require-once]: URL file-access is disabled in the server configuration in
/home/verba3/public_html/wp-content/themes/kidweaver/newpatient.php on line 62
Warning: require_once(http://throughwoods.com/wp-content/themes/kidweaver/newpatient_detail.php) [function.require-once]:
failed to open stream: no suitable wrapper could be found in /home/verba3/public_html/wpcontent/themes/kidweaver/newpatient.php on line 62
Fatal error: require_once() [function.require]: Failed opening required 'http://throughwoods.com/wpcontent/themes/kidweaver/newpatient_detail.php' (include_path='.:/usr/lib/php:/home/verba3/public_html/wpcontent/plugins/mailchimp-widget/lib') in /home/verba3/public_html/wp-content/themes/kidweaver/newpatient.php on line 62
My site is http://throughwoods.com and I am using the latest version of Gravity Forms.
Hopefully you can spot my error or let me know why this would be a problem.