Discussion:
Fatal error: Class 'Doctrine\Common\Annotations\AnnotationRegistry' not found in ...\app\autoload.php on line 35
neki chan
2011-10-27 05:02:48 UTC
Permalink
Hi,

I just clone my repo and found error like this > Fatal error: Class
'Doctrine\Common\Annotations\AnnotationRegistry' not found in ...\app
\autoload.php on line 35
Before it was not problem in my pc, but why I get error when i clone
it to the new one.
Same problem with this one http://forum.symfony-project.org/viewtopic.php?f=23&t=36657
, but no answer in there


I try something like in this link, http://symfony.com/blog/symfony2-2-0-rc4-released.
But also not working,
Fatal error: Class 'Doctrine\Common\Annotations\AnnotationRegistry'
not found in ...\app\autoload.php on line 8
Ser5
2011-10-28 14:04:31 UTC
Permalink
Did you check that
vendor\doctrine-common\lib\Doctrine\Common\Annotations\AnnotationRegistry.php
file exists?

If it does not - maybe your vendors are not updated correctly...

As far as I know, that "deps" / "<https://raw.github.com/symfony/symfony-standard/master/deps>
deps.lock <https://raw.github.com/symfony/symfony-standard/master/deps.lock>"
thingy requires Git. Do you have it installed?
--
If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To post to this group, send email to symfony2-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony2+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
Ser5
2011-10-28 17:07:09 UTC
Permalink
Post by Ser5
Do you have it installed?
I asked a silly question =) If you have cloned the repository - you
definitely have Git
Post by Ser5
I try something like in this link,
http://symfony.com/blog/symfony2-2-0-rc4-released.
There is a cookbook entry about this:
http://symfony.com/doc/current/cookbook/workflow/new_project_git.html

As I understood, you have run "php bin/vendors install" from cli.
Could you post the output of this command here?
I think it should say something about pulling doctrine-common into the
"vendors" folder.
--
If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To post to this group, send email to symfony2-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony2+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
neki chan
2011-10-28 17:17:29 UTC
Permalink
Thanks for response.

:( I push all of my script to github. It works in local. But i get an error,
and want to my script before i do change. So i clone my code to my local
repo.

Yes, AnnotationRegistry.php is exist. And my vendor also up to date. Before
push to github, I install it, like you said, `php bin/vendors install`

Any other idea?
Post by Ser5
Post by Ser5
Do you have it installed?
I asked a silly question =) If you have cloned the repository - you
definitely have Git
Post by Ser5
I try something like in this link, http://symfony.com/blog/**
symfony2-2-0-rc4-released<http://symfony.com/blog/symfony2-2-0-rc4-released>.
http://symfony.com/doc/current/cookbook/workflow/new_project_git.html
As I understood, you have run "php bin/vendors install" from cli.
Could you post the output of this command here?
I think it should say something about pulling doctrine-common into the
"vendors" folder.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
--
-- in one God i believe. No equal has He
-- about.me/daholicofneki
--
If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To post to this group, send email to symfony2-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony2+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
neki chan
2011-10-28 18:42:07 UTC
Permalink
maybe you can check my repo in
https://github.com/daholicofneki/IDC-Payroll_Sf
i'm pretty sure believe that my code is work when i pushed it :(
Post by neki chan
Thanks for response.
:( I push all of my script to github. It works in local. But i get an
error, and want to my script before i do change. So i clone my code to my
local repo.
Yes, AnnotationRegistry.php is exist. And my vendor also up to date. Before
push to github, I install it, like you said, `php bin/vendors install`
Any other idea?
Post by Ser5
Post by Ser5
Do you have it installed?
I asked a silly question =) If you have cloned the repository - you
definitely have Git
Post by Ser5
I try something like in this link, http://symfony.com/blog/**
symfony2-2-0-rc4-released<http://symfony.com/blog/symfony2-2-0-rc4-released>.
http://symfony.com/doc/current/cookbook/workflow/new_project_git.html
As I understood, you have run "php bin/vendors install" from cli.
Could you post the output of this command here?
I think it should say something about pulling doctrine-common into the
"vendors" folder.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
--
-- in one God i believe. No equal has He
-- about.me/daholicofneki
--
-- in one God i believe. No equal has He
-- about.me/daholicofneki
--
If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To post to this group, send email to symfony2-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony2+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
neki chan
2011-10-28 18:47:40 UTC
Permalink
o-oouuu.... I just check the git and found the vendor file is not
completed
:|
i'll try install the vendor first :)
maybe you can check my repo inhttps://github.com/daholicofneki/IDC-Payroll_Sf
i'm pretty sure believe that my code is work when i pushed it :(
Post by neki chan
Thanks for response.
:( I push all of my script to github. It works in local. But i get an
error, and want to my script before i do change. So i clone my code to my
local repo.
Yes,  AnnotationRegistry.php is exist. And my vendor also up to date. Before
push to github, I install it, like you said, `php bin/vendors install`
Any other idea?
Post by Ser5
Post by Ser5
Do you have it installed?
I asked a silly question =) If you have cloned the repository - you
definitely have Git
Post by Ser5
I try something like in this link,http://symfony.com/blog/**
symfony2-2-0-rc4-released<http://symfony.com/blog/symfony2-2-0-rc4-released>.
http://symfony.com/doc/current/cookbook/workflow/new_project_git.html
As I understood, you have run "php bin/vendors install" from cli.
Could you post the output of this command here?
I think it should say something about pulling doctrine-common into the
"vendors" folder.
 --
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To unsubscribe from this group, send email to
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
--
-- in one God i believe. No equal has He
-- about.me/daholicofneki
--
-- in one God i believe. No equal has He
-- about.me/daholicofneki
--
If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "Symfony2" group.
To post to this group, send email to symfony2-/***@public.gmane.org
To unsubscribe from this group, send email to
symfony2+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/symfony2?hl=en
Loading...