Development

#4215 (PHP Warning if open_basedir is enabled)

You must first sign up to be able to contribute.

Ticket #4215 (closed defect: invalid)

Opened 4 months ago

Last modified 4 months ago

PHP Warning if open_basedir is enabled

Reported by: vlemaire Assigned to: fabien
Priority: minor Milestone:
Component: helpers Version: 1.1.0
Keywords: helper, calendar Cc:
Qualification: Unreviewed

Description

I have a module created by admin generator with a calendar input provided by object_input_date_tag function.

In production server, I turned on "open_basedir" for security reasons and I have PHP Warning in edit page of this module:

Warning: is_readable() [function.is-readable]: open_basedir restriction in effect.
File(/web//sf/calendar/lang/calendar-fr.js) is not within the allowed path(s):
(/var/www/***:/tmp) in /var/www/***/ftp/www-preprod/lib/symfony/helper/FormHelper.php on line 745

I have tried to display sfConfig::get('sf_symfony_data_dir') but it returns a void string.

Symfony was installed via svn externals on 1.1 trunk, everything is up-to-date.

Attachments

Image 1.png (22.4 kB) - added by vlemaire on 08/17/08 15:36:38.

Change History

08/17/08 15:36:38 changed by vlemaire

  • attachment Image 1.png added.

08/19/08 17:00:09 changed by fabien

  • status changed from new to closed.
  • resolution set to invalid.

Please ask your questions on the user mailing-list or the forum.