[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:18:28 CET 2011


Hi,

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.

Cheers,
Ernesto


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17728.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110225/34e893ed/attachment.asc>


More information about the TYPO3-team-core mailing list