Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP][SYMFONY2] FOS USER BUNDLE
meehow18
post 12.08.2014, 08:30:36
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 smile.gif
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 07:54