Note that there are some explanatory texts on larger screens.

plurals
  1. POSymfony: Fatal error: Class 'PHPUnit_Framework_TestCase' not found in
    primarykey
    data
    text
    <p>Using Symfony 2.0, I have a whole system working properly in localhost.</p> <p>Now I've tried to to upload it to an Internet hosting. After working in some errors, I am stuck here:</p> <pre><code>Fatal error: Class 'PHPUnit_Framework_TestCase' not found in /home/preparatest/www/Symfony/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php </code></pre> <p>(By the way, the class exists in that directory indeed).</p> <p>Anybody passed through this?</p> <p>NOTE: I am not particularly configuring <em>PHPUnit</em>. I guess it is just included within some Symfony bundle. I don't really know what it is for and I wouldn't mind, if possilbe, just to remove it completely.</p> <p>UPDATE: This is the exact class that isn't working. Apparently it doesn't find the parent class <code>\PHPUnit_Framework_TestCase</code>. But, I insist, this is a package bundled within Symfony and works well in local. I don't see why it doesn't in remote :(</p> <pre><code>&lt;?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier &lt;fabien@symfony.com&gt; * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Bundle\FrameworkBundle\Test; use Symfony\Bundle\FrameworkBundle\Client; use Symfony\Component\Finder\Finder; use Symfony\Component\HttpKernel\HttpKernelInterface; /** * WebTestCase is the base class for functional tests. * * @author Fabien Potencier &lt;fabien@symfony.com&gt; */ abstract class WebTestCase extends \PHPUnit_Framework_TestCase { static protected $class; static protected $kernel; </code></pre>
    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.
 

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