[TYPO3-dev] Templavoila FCE with absolute URL
Steffen Kamper
info at sk-typo3.de
Sat Oct 18 16:13:42 CEST 2008
Hi Steffen,
Steffen Gebert schrieb:
> Hi list,
>
> I've created a FCE with one of its fields as URL.
>
> If I enter an absolute URL e.g. a link to RSS-Feed "/rss.xml" I get an open_basedir restriction error.
> Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/rss.xml) is not within the allowed path(s): (/var/www/vhosts/example.org/subdomains/dev/httpdocs:/tmp:/usr/share/php:/usr/share/typo3:/usr/bin:/proc/loadavg) in /var/www/vhosts/example.org/subdomains/dev/httpdocs/typo3_src_4.3/typo3/sysext/cms/tslib/class.tslib_content.php on line 5353
>
> I think this is caused by "RFC #9285: Remove all @ in front of file_exists() calls" [1]
>
> Don't know if it should be possible to enter absolute URLs - at least the error message should be suppressed.
>
> [1] http://bugs.typo3.org/view.php?id=9285
>
we considered to remove the @ for the reason of performance and for the
possibility to see such warning. it helps to find problems as in your case.
You can switch displayErrors for production use anyway to 0 so you don't
see the warning, but in your case it wouldn't change the behaviour anyway
vg Steffen
More information about the TYPO3-dev
mailing list