[Typo3] [Typo3] Fatal error: Cannot redeclare class (version 3.6.0) (php 4.1.2)
W van Bruggen
w.van.bruggen at gmail.com
Thu Feb 10 10:34:28 CET 2005
I've fixed the fatal error (just commented out line 34 and its related lines).
A problem remains : when you load the page for the first time it loads
fine, but i when i go to another page and go back to the page that
uses the plugin it doesn't show anything (it doesn't cache the
output).
Do i have to add a setting in the extension kickstarter that enables
caching for the page ? That would be a good thing, since the plugin
loads images and it would be a waste of serverload to keep sending
those images when they are perfectly available on the client-pc.
greets
Wietse van Bruggen
On Thu, 10 Feb 2005 09:37:43 +0100, W van Bruggen
<w.van.bruggen at gmail.com> wrote:
> Hello list,
>
> i've just made a small plugin which gets the info from the headerfield
> and adds it to a variable that constructs the path to a certain
> directory. The first time i loaded the plugin and checked it out it
> worked fine. I wanted to make some modifications, changed the class
> file and wanted to see how my changes worked out.
>
> Surprisingly i get this error :
> "Fatal error: Cannot redeclare class in (path to *pi1.php file) in line 34"
>
> Line 34 says this :
> class tx_stocksdirectory_pi1 extends tslib_pibase {
>
> Anyone ever had the same error and knows a fix ?
>
> greets,
> Wietse van Bruggen
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list