Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8537637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T10:56:54+00:00 2026-06-11T10:56:54+00:00

I have an existing php web app written using symfony2 and doctrine2. I added

  • 0

I have an existing php web app written using symfony2 and doctrine2. I added a table to the database. Now, I want the ORM to write the php classes for me. I tried doing this:

php app/console doctrine:mapping:convert xml ./src/Acme/BlogBundle/Resources/config/doctrine/metadata/orm --from-database --force

I also tried this:

php app/console doctrine:mapping:import SomeBundle annotation

Both of them throw this error:

[ErrorException]

Warning: class_parents(): Class SomeClass does not exist 
and could not be loaded in C:\wamp\www\vac\vendor\
gedmo-doctrine-extensions\lib\Gedmo\Mapping\
ExtensionMetadataFactory.php line 80

Any ideas on what I need to do?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T10:56:55+00:00Added an answer on June 11, 2026 at 10:56 am
    1. delete all your entities along with your Entity Folder.
    2. delete all orm files with your orm folder.
    3. then try to create orm and entity files from your db having new table.

      a.$ php app/console doctrine:mapping:convert xml ./src/YourDir/YourBundle/Resources/config/doctrine/metadata/orm --from-database --force

      b.$ php app/console doctrine:mapping:import YourDirYourBundle annotation

      c.$ php app/console doctrine:generate:entities YourDirYourBundle

    Try this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing large(ish) PHP web app (using Apache and MySQL) which now
I have an existing PHP MySQL web app that I want to make an
I have an existing web application (PHP/MySQL) that I want to wrap into a
I have a legacy PHP/MySQL app that calls mysql_connect(). Tons of existing downstream code
I have an app written in PHP, MySQL, etc. The app has a few
I have a php / mysql / jquery web app that makes 13 ajax
I'm working on a web app using PHP on Apache. $_SESSION variables are used
We have an existing windows desktop app written in C# 6 that uses an
I have an existing web app that allows users to rate items based on
I have an existing site almost 85% of its contents are database driven, Now

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.