TrishZwei / php-reader

Automatically exported from code.google.com/p/php-reader
0 stars 0 forks source link

Invalid path for "require_once" #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I've just tried to update php-reader to version 1.8 and got the following
issue:

Warning: require_once(Reader.php) [function.require-once]: failed to open
stream: No such file or directory in Zend\Media\Mpeg\Abs\XingHeader.php on
line 24

In this file at line 24, I can read: require_once 'Reader.php';
but it should be: require_once 'Zend/Io/Reader.php'; ?!

After a quick search, I found the same include in
Zend\Media\Mpeg\Abs\VbriHeader.php. In my code, I've just added to my
include paths the root path containing the Zend directory.

I think you forgot to change this path when you modified the library
directory structure to match Zend Framework standards. Anyway, thanks a lot
for this, I use ZF in my project and it would be really nice if your
library would be integrated in the ZF package :)

Original issue reported on code.google.com by simon.brunel on 7 Mar 2010 at 6:53

GoogleCodeExporter commented 8 years ago
Yes, you are correct, that is my bad. You can just delete those include lines 
from
the code and it should then work as expected. I've already corrected it to
subversion. Thanks for reporting!

Original comment by svollbehr on 7 Mar 2010 at 8:55

GoogleCodeExporter commented 8 years ago

Original comment by svollbehr on 7 Mar 2010 at 9:19

GoogleCodeExporter commented 8 years ago
Fixed in 1.8

Original comment by svollbehr on 26 Mar 2010 at 6:50