Development

#5019 (PHP warning with symfony binary out of a project)

You must first sign up to be able to contribute.

Ticket #5019 (closed defect: fixed)

Opened 8 months ago

Last modified 7 months ago

PHP warning with symfony binary out of a project

Reported by: mikael.randy Assigned to: fabien
Priority: major Milestone: 1.1.6
Component: cache Version:
Keywords: Cc:
Qualification: Unreviewed

Description

Hello,

Yesterday I installed Symfony 1.1.5 for my company. Since then, as soon as I use the binary Symfony outside an existing project, I get an error message indicating that it is impossible to create the file cache "project_autoload.cache"

[@ mrandy benefits local-2 ~] $ / usr/local/symfony_multi/symfony-1.1.5/data/bin/symfony-V
symfony version 1.1.5 (/ usr/local/symfony_multi/symfony-1.1.5/lib)
PHP Warning: file_put_contents (/ home / mrandy / cache / project_autoload.cache): failed to open stream: No such file or directory in / usr/local/symfony_multi/symfony-1.1.5/lib/autoload/sfSimpleAutoload.class.php on line 140

Warning: file_put_contents (/ home / mrandy / cache / project_autoload.cache): failed to open stream: No such file or directory in / on usr/local/symfony_multi/symfony-1.1.5/lib/autoload/sfSimpleAutoload.class.php line 140

As you can see, I use a system allowing me to have multiple versions of Symfony on the same server, but this system worked very well so far.

For me the error just because it does not check if you are in a project before attempting caching

Change History

11/24/08 21:54:29 changed by fabien

  • milestone set to 1.1.6.

11/24/08 21:54:45 changed by fabien

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

(In [13317]) [1.1, 1.2] fixed warning for symfony CLI (closes #5019)

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting, and supporting several large Open-Source projects.