php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23392 Spreadsheet_Excel_Writer refers to missing OLE/PPS/Root.php file
Submitted: 2003-04-28 20:01 UTC Modified: 2003-04-29 09:37 UTC
From: ross at bnw dot com Assigned: xnoguer (profile)
Status: Not a bug Package: PEAR related
PHP Version: 5CVS-2003-04-28 (dev) OS: any
Private report: No CVE-ID: None
 [2003-04-28 20:01 UTC] ross at bnw dot com
/pear/Spreadsheet_Excel_Writer/Writer/Workbook.php

refers to

require_once('OLE/PPS/Root.php');
require_once('OLE/PPS/File.php');

But these files do not exist in the /pear or /php4/pear cvs trees.

Where are these files?

Google doesn't help at all.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-29 00:22 UTC] arnaud@php.net
That one is for you xavier :)
 [2003-04-29 09:37 UTC] xnoguer@php.net
 This is just in cvs, you should use a release. By the way, OLE is a new package which should be a dependency for Spreadsheet_Excel_Writer in the next release (hopefully soon).
 [2004-06-30 00:54 UTC] dave at imarc dot net
Same problem for me (FreeBSD / PHP 4.3.6)

# pear install Spreadsheet_Excel_Writer

Copied and pasted first sample from package's 
'Documentation' page:

Warning: main(OLE/PPS/Root.php): failed to open stream: 
No such file or directory in /usr/local/lib/php/
Spreadsheet/Excel/Writer/Workbook.php on line 39

Fatal error: main(): Failed opening required 'OLE/PPS/
Root.php' (include_path='.:/usr/local/lib/php') in /usr/
local/lib/php/Spreadsheet/Excel/Writer/Workbook.php on 
line 39
 [2004-08-13 03:05 UTC] maxs at intellectit dot com dot au
Problem solved:

[root@localhost root]# pear install OLE
downloading http://pear.php.net/get/OLE ...
...done: 9,058 bytes
installed file /usr/share/pear///OLE.php
installed file /usr/share/pear/OLE/PPS.php
installed file /usr/share/pear/OLE/PPS/Root.php
installed file /usr/share/pear/OLE/PPS/File.php
install ok
[root@localhost root]# pear install Spreadsheet_Excel_Writer
downloading http://pear.php.net/get/Spreadsheet_Excel_Writer ...
...done: 55,402 bytes
installed file /usr/share/pear/Spreadsheet/Excel//Writer.php
installed file /usr/share/pear/Spreadsheet/Excel//Writer/BIFFwriter.php
installed file /usr/share/pear/Spreadsheet/Excel//Writer/Workbook.php
installed file /usr/share/pear/Spreadsheet/Excel//Writer/Format.php
installed file /usr/share/pear/Spreadsheet/Excel//Writer/Worksheet.php
installed file /usr/share/pear/Spreadsheet/Excel//Writer/Parser.php
installed file /usr/share/pear/Spreadsheet/Excel//Writer/Validator.php
install ok
[root@localhost root]#
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 05:01:33 2024 UTC