[TYPO3-core] RFC #17728: PHP warning in page module (e.g. in TemplaVoila) with active open_basedir

Ernesto Baschny [cron IT] ernst at cron-it.de
Fri Feb 25 23:22:40 CET 2011


Ernesto Baschny [cron IT] schrieb am 25.02.2011 23:18:

> This is a SVN patch request.
> 
> Type: Bugfix
> 
> BT reference: http://bugs.typo3.org/view.php?id=17728
> 
> Branches: trunk, TYPO3_4-5
> 
> Problem:
> When using the backend module of TemplaVoila for example (Web>Page), you
> get warnings on top like this:
> 
> PHP Warning
> PHP Warning: is_file() [function.is-file]: open_basedir restriction in
> effect. File(xxx/typo3/../../../../t3lib/js/extjs/ux/flashmessages.js)
> is not within the allowed path(s): (...) in
> xxx/t3lib/class.t3lib_compressor.php line 136
> 
> Solution:
> Fix it.
> 
> How to test:
> Have open_basedir point to your DOCUMENT_ROOT (only affects Unix
> Systems, no warning is shown under Windows). Install TV, and go to
> Web>Page. See the warning.

Committed to:

- trunk rev. 10642
- TYPO3_4-5 rev. 10643, in time for 4.5.2. ;)

Cheers,
Ernesto


More information about the TYPO3-team-core mailing list