Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Finally, it may be a cache optimizer issue. If you are using eAccelerator, then you will have problems, probably with Doctrine. The reason is eAccelerator removes annotations from the code! You can try APC which performs well with doctrine.</p> <p>Read <a href="https://stackoverflow.com/questions/930877/apc-vs-eaccelerator-vs-xcache">apc vs eaccelerator vs xcache</a></p> <hr> <p>Have a look at</p> <pre><code>http://you.site.name/config.php </code></pre> <p>It shows you the requirements that should be present to make your application work.</p> <p>AND</p> <p>please expose your page entity class.</p> <hr> <p>There may be many reasons for this error and your question was already asked here on SO <a href="https://stackoverflow.com/questions/7820597/class-xxx-is-not-a-valid-entity-or-mapped-super-class-after-moving-the-class-i">&quot;Class XXX is not a valid entity or mapped super class&quot; after moving the class in the filesystem</a></p> <p><a href="https://github.com/symfony/symfony/issues/4554" rel="nofollow noreferrer">https://github.com/symfony/symfony/issues/4554</a></p> <hr> <pre><code>$page=$em-&gt;getRepository('PageBundle:Page')-&gt;findOneBy(array('codi'=&gt;'0001')); </code></pre> <p>change it to</p> <pre><code> $page=$em-&gt;getRepository('PropaPageBundle:Page')-&gt;findOneBy(array('codi'=&gt;'0001')); </code></pre> <p>or</p> <pre><code> $page=$em-&gt;getRepository('Propa\PageBundle\Entity\Page')-&gt;findOneBy(array('codi'=&gt;'0001')); </code></pre> <p>and see if it works.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload