require_once

Search
Other Pre-Sale questions
Forum

require_once

raffaele's Avatar raffaele
Dear support using the command between tags

require_once (JPATH_SITE.'/Folder/list/listopen.php');

I get the following error:
PHP Warning: require_once (JPATH_SITE.'/Folder/list/listopen.php') failed to open stream: No such file or directory in
PHP Fatal error: require_once(): Failed opening required

Using an iFrame everything works.
echo "<iframe src = ' www.yyyy.xxx/folder/list/listopen.php '";

Thanks
Peter van Westen's Avatar Peter van Westen ADMIN
Is this a pre-sales question?

I guess this is about Sourcerer. You have an issue with your custom PHP code. This is not an issue with Sourcerer itself.
Please read: docs3.regularlabs.com/sourcerer/the-basics/including-files

If you need specific Sourcerer support, please purchase a subscription.
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in