Note that there are some explanatory texts on larger screens.

plurals
  1. POSYMFONY2 works great locally, but in server Class not found in AppKernel
    primarykey
    data
    text
    <p>Im having this trouble in where my application runs great locally, but when i upload it to the server it fails with whatever valid direction i put in. Im using SVN as a code versioner (trough Eclipse), and im working with Symphony2.</p> <p><strong>Server</strong>: in the server i have access to a shell for my directory, it runs PHP 5.3.3-7+squeeze15 with Suhosin-Patch.</p> <p><strong>Local</strong>: PHP/5.4.10.</p> <p><strong>The error</strong>:</p> <pre><code>FatalErrorException: Error: Class 'Cv\DBBundle\CvDBBundle' not found in enter code here/var/www/grupo36/public_html/symfony/app/AppKernel.php line 22 </code></pre> <p><strong>AppKernel.php:</strong></p> <pre><code>&lt;?php use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; class AppKernel extends Kernel { public function registerBundles() { $bundles = array( new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), new Symfony\Bundle\SecurityBundle\SecurityBundle(), new Symfony\Bundle\TwigBundle\TwigBundle(), new Symfony\Bundle\MonologBundle\MonologBundle(), new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), new Symfony\Bundle\AsseticBundle\AsseticBundle(), new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), new JMS\AopBundle\JMSAopBundle(), new JMS\DiExtraBundle\JMSDiExtraBundle($this), new JMS\SecurityExtraBundle\JMSSecurityExtraBundle(), new CV\DBBundle\CvDBBundle(), ); if (in_array($this-&gt;getEnvironment(), array('dev', 'test'))) { $bundles[] = new Symfony\Bundle\WebProfilerBundle\WebProfilerBundle(); $bundles[] = new Sensio\Bundle\DistributionBundle\SensioDistributionBundle(); $bundles[] = new Sensio\Bundle\GeneratorBundle\SensioGeneratorBundle(); } return $bundles; } public function registerContainerConfiguration(LoaderInterface $loader) { $loader-&gt;load(__DIR__.'/config/config_'.$this-&gt;getEnvironment().'.yml'); } } </code></pre> <hr> <p>Can you please guys help? ive look in other posts but they doesnt fit my case.</p>
    singulars
    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.
    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.
    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