Development

#6770 (fatal error extending task)

You must first sign up to be able to contribute.

Ticket #6770 (closed task: fixed)

Opened 7 months ago

Last modified 7 months ago

fatal error extending task

Reported by: thibmonier Assigned to: fabien
Priority: major Milestone:
Component: tasks Version: 1.1.6
Keywords: task, upgrade, 1.1.8 Cc:
Qualification: Unreviewed

Description

I tried to upgrade to the 1.1.8 (from 1.1.7) version and now I have an error message when I run symfony cc command :

Fatal error: Class 'sfPropelBaseTask' not found in /home/usr/workspacePhp/lib/task/aTask.class.php on line 3

Call Stack:
    0.0002      64944   1. {main}() /usr/bin/symfony:0
    0.0004      75720   2. include('/usr/share/php/symfony/command/cli.php') /usr/bin/symfony:37
    0.0069     510272   3. sfCommandApplication->__construct() /usr/share/php/symfony/command/cli.php:19
    0.0070     511028   4. sfSymfonyCommandApplication->configure() /usr/share/php/symfony/command/sfCommandApplication.class.php:50
    0.0085     623352   5. sfSymfonyCommandApplication->loadTasks() /usr/share/php/symfony/command/sfSymfonyCommandApplication.class.php:46
    0.0397     877020   6. require_once('/home/usr/workspacePhp/lib/task/aTask.class.php') /usr/share/php/symfony/command/sfSymfonyCommandApplication.class.php:109

Change History

07/07/09 11:38:30 changed by thibmonier

  • priority changed from minor to major.

(follow-up: ↓ 3 ) 07/07/09 13:32:02 changed by fabien

... and the exact same code worked with 1.1.7?

Can you try to remove the cache by hand (removing all the content of the cache/ directory)?

(in reply to: ↑ 2 ) 07/07/09 13:37:36 changed by thibmonier

Replying to fabien:

... and the exact same code worked with 1.1.7? Can you try to remove the cache by hand (removing all the content of the cache/ directory)?

the probleme appears just after i upgraded the version, it was functional before. I removed the /cache directory by hand but nothing changed.

I noticed that there is no project_autoload.cache file created in the cache folder. maybe a clue

(follow-up: ↓ 5 ) 07/09/09 13:15:04 changed by nicolas

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

fixed in r20049, please test the patch and provide some feedback please :)

(in reply to: ↑ 4 ) 07/09/09 14:35:51 changed by thibmonier

Replying to nicolas:

fixed in r20049, please test the patch and provide some feedback please :)

I patched in the frameworks files and it's working perfectly

Thx

The Sensio Labs Network

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