Ok i need your help please!
I have created four pages according to this How-To:
https://vborg.vbsupport.ru/showthread.php?t=228112
I have also 4 external php scripts that i want to include.
I have created 4 templates and 4 plugins.
I have change the php_include to
php_include_1 to php_include_4 and also changed this accordingly in the templates.
Code:
ob_start();
require_once('../vbtest/test_1.php');
$php_include_1 = ob_get_contents();
ob_end_clean();
vB_Template::preRegister('template_1',array('php_include_1' => $php_include_1));
It works als long as i only activate 1 of those 4 plugins.
As soon as i activate 2,3 or 4 plugins i get this:
Warnung: require_once(../vbtest/test_1.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(122) : eval()'d code (Zeile 7)
Fatal error: require_once() [function.require]: Failed opening required '../vbtest/test_1.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/b/b0000009/weball/vbtest/includes/class_bootstrap.php(122) : eval()'d code on line 7
The file which is mentioned as missing here is there and it is producing output as long as i only activate 1 of the modules!
I guess it maybe is because of the hook i've chosen?
As i was not sure which one, and most of the ones i expected to be the right ones did not work at all i've chosen 'global_bootstrap_init_complete'
Any ideas? Which would be the correct hook?
Thanks for any help,
regards,
Matthias