/app/bootstrap.php.cache points to older vendor folder

259 Views Asked by At

please help me with this, I am driving crazy.

I have a problem with deployment of a Symfont 2.2 project.

Since I have a missing repository in my composer.json file, I made a depoly with capifony semi-automatic: I run deploy, and when he asks me for install dependencies, I say NO. Then, I MANUALLY copy the vendor folder from the previous release of my project, and then run assetic, clear cache and finally change symlink from current to my last release.

Everything worked fine until now: the app stop worked. The error is that the file /app/bootstrap.php.cache points the OLDER vendor folder, that is no more existing.

Any help would be appreciated, thanks in advance!

M :)

1

There are 1 best solutions below

0
Mauro On

Ok, I solved in this manner:

I have commented out these two lines in my app.php:

//$loader = new ApcClassLoader(SITE, $loader);
//$loader->register(true);

and finally run

rm -rf app/cache/*

Hope this helps.

Any further help would be welcome :)