Re: Cannot redeclare class ole_pps
| From: | Justin Patrin | Date: | Thu, 11 Aug 2005 17:07:14 +0000 |
| Subject: | Re: Cannot redeclare class ole_pps | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20383@lists.php.net to get a copy of this message | ||
On 8/11/05, John Boardman <jmichael68@yahoo.com> wrote:
> I am running the Spreadsheet_Excel_Writer on a UNIX server and have
> had it working perfectly for 5 months. All of a sudden I get an
> error message. I have not changed anything on my code. Here is
> the message:
>
> Fatal error: Cannot redeclare class ole_pps in
> /usr/lib/php/OLE/PPS.php on line 33
>
Sounds like it's getting included once. Check any files for using
require/include instead of require_once. Also make sure the exact same
path is used. Any differences will cause it to be included multiple
times.
--
Justin Patrin