![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 102 Pomógł: 0 Dołączył: 10.01.2010 Ostrzeżenie: (0%) ![]() ![]() |
Witam Serdecznie mam taki problem:
Cytat MappingException: The class 'Acme\UserBundle\Entity\User' was not found in the chain configured namespaces FOS\UserBundle\Entity, FOS\UserBundle\Model Mój plik Acme\UserBundle\Entity\User Kod <?php // src/Acme/UserBundle/Entity/User.php namespace Acme\UserBundle\Entity; use FOS\UserBundle\Model\User as BaseUser; use Doctrine\ORM\Mapping as ORM; /** @ORM\Entity @ORM\Table(name="fos_user") / class User extends BaseUser { /* @ORM\Id @ORM\Column(type="integer") @ORM\GeneratedValue(strategy="AUTO") */ protected $id; public function __construct() { parent::__construct(); // your own logic } } Zauważyłem, że podczas generowania tabeli Kod php app/console doctrine:schema:create nie tworzy nawet tabeli Totalnie nie wiem o co chodzi ![]() |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 14.08.2025 - 07:54 |