In einer Typo3-Seite muss ich eine externe PHP-Datei einbinden, die mir Daten
liefert.
Das mit einer lokalen Datei zu lösen gelingt mit:
includeLibs.user_klasse = fileadmin/templates/scripts/user_klasse.php
lib.meinelib = USER_INT
lib.meinelib.userFunc = ausgabe
Includiere ich die externe Datei mit http://www.externedomain.... wird die
Exception geworfen
Wie lässt sich das lösen?
Habe bisher nur alte (vor 6.0) Lösungen gefunden.
Installtool Setting:
[FE][noPHPscriptInclude] = 0
Danke für jeden Hinweis, wie ich hier weiterkomme.
/wolfgang
Uncaught TYPO3 Exception
#1: PHP Warning:
include_once(./http://www.externedomain.de/templates/scripts/user_klasse.php):
failed to open stream: No such file or directory in
/usr/share/php/typo3_src-6.2.9/typo3/sysext/cms/tslib/index_ts.php line 208
(More information)
TYPO3\CMS\Core\Error\Exception thrown in file
/usr/share/php/typo3_src-6.2.9/typo3/sysext/core/Classes/Error/ErrorHandler.php
in line 101.
3 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2,
"include_once(./http://www.externedomain.de/templ...: failed to open stream: No such file or
directory", "/usr/share/php/typo3_src-6.2.9/typo3/sysext/cms/tslib/index_ts.php",
208, array)
/usr/share/php/typo3_src-6.2.9/typo3/sysext/cms/tslib/index_ts.php:
00206: $temp_incFiles = \TYPO3\CMS\Frontend\Page\PageGenerator::getIncFiles();
00207: foreach ($temp_incFiles as $temp_file) {
00208: include_once './' . $temp_file;
00209: }
00210: // Content generation
2 include_once()
/usr/share/php/typo3_src-6.2.9/typo3/sysext/cms/tslib/index_ts.php:
00206: $temp_incFiles = \TYPO3\CMS\Frontend\Page\PageGenerator::getIncFiles();
00207: foreach ($temp_incFiles as $temp_file) {
00208: include_once './' . $temp_file;
00209: }
00210: // Content generation
1 require("/usr/share/php/typo3_src-6.2.9/typo3/sysext/cms/tslib/index_ts.php")
/usr/share/php/typo3_src-6.2.9/index.php:
00026: ->redirectToInstallerIfEssentialConfigurationDoesNotExist();
00027:
00028: require(PATH_tslib . 'index_ts.php');
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german