PHP-XPDF icon indicating copy to clipboard operation
PHP-XPDF copied to clipboard

Fatal error: Class 'PHPUnit_Framework_TestCase' not found in D:\xampp\htdocs\xpdf\tests\XPDF\Tests\PdfToTextTest.php on line 9

Open abbas-sanjrani opened this issue 10 years ago • 2 comments

Hello I downloaded the code from here https://github.com/alchemy-fr/PHP-XPDF/tree/0.2.1 to convert pdf into text. I also have installed composer.exe from the path https://getcomposer.org/Composer-Setup.exe ,it looks like there is problem regarding phpunit on these lines $loader = require DIR.'/../vendor/autoload.php'; $loader->add('XPDF\Tests', DIR); in bootstrap.php but i am not sure. I am running this package on local window machine using xampp server. I am trying to solve from many times but still stuck in error "Fatal error: Class 'PHPUnit_Framework_TestCase' not found in D:\xampp\htdocs\xpdf\tests\XPDF\Tests\PdfToTextTest.php on line 9"

Looking forward to your guidance and help.

thanks

abbas-sanjrani avatar Sep 23 '14 06:09 abbas-sanjrani

Hello, is this issue still relevant ?

fabre-thibaud avatar Dec 11 '15 08:12 fabre-thibaud

I'm facing it! Right now! Php 7.1

RafaelPlantard avatar Mar 16 '17 01:03 RafaelPlantard