Home » File Formats » File_Archive » Bug #4916
Fatal error when using extract()
Details
| Submitted | 2005-07-26 08:31 UTC |
|---|---|
| From | arthur at movenext dot nl |
| Assigned | vincentlascaux |
| Status | Closed |
| Package | File_Archive |
| PHP Version | 4.3.11 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-07-26 08:31 UTC] arthur at movenext dot nl
Description:
------------
I get a fatal error when extracting an archive with File_Archive 1.5.0. When I'm using the same script in version 1.4.1 everything works fine.
Fatal error: Undefined class name 'file_archive_reader' in /usr/share/php/File/Archive.php on line 298
Test script:
---------------
$file = "file.bz2";
$src = "$file/";
echo "Extracting $file\n";
$result = File_Archive::extract($src, File_Archive::toFiles());
Expected result:
----------------
File is extracted