Re: [phpOpenTracker-User] Bug simple_report PHPOPENTRACKER_VERSION already defined

Jean-Christian Imbeault <[email protected]>
Newsgroups gmane.comp.web.phpopentracker.general
Message-ID <[email protected]>
Sebastian Bergmann wrote:
> Jean-Christian Imbeault wrote:
> 
>>Constant PHPOPENTRACKER_VERSION already defined
> 
> 
>   This cannot happen when using phpOpenTracker properly since
> 
>     - The constant is only declared once, in Version.php
> 
>     - Version.php is only included once, in phpOpenTracker.php

You're right. I auto_prepend a file which already includes
phpOpenTracker.php

The old simple_report/index.php had a require_once() but the new file
has only a require :)

require 'phpOpenTracker.php';

Could you change the simple_report/index.php to have instead:

require_once 'phpOpenTracker.php';

Thanks,

Jean-Christian Imbeault





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.