Bugs item #1503755, was opened at 2006-06-10 00:28
Message generated for change (Comment added) made by mgeisler
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=650322&aid=1503755&group_id=108380
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Robert Hennig (maximilianrh)
>Assigned to: Martin Geisler (mgeisler)
Summary: Cannot redefine class constant PelTag::XP_COMMENT
Initial Comment:
Hello!
I've installed PEL in Version 0.9 on my local test
system and tried the following script:
<?php
require_once("extlib/pel/PelJpeg.php");
try {
$jpeg = new PelJpeg();
//$jpeg->loadFile("images/test.jpg");
} catch (Exception $e) {
die($e->getMessage());
}
?>
It results in the following error:
Fatal error: Cannot redefine class constant
PelTag::XP_COMMENT in
F:\www\rphoto\trunk\extlib\pel\PelTag.php on line 1086
Is there something wrong with my Configuration or do
you know why this happens?
Kind regards
----------------------------------------------------------------------
>Comment By: Martin Geisler (mgeisler)
Date: 2006-06-10 23:04
Message:
Logged In: YES
user_id=1264592
This has been fixed in CVS, but hasn't yet been part of a
proper release. Sorry about that.
You can find the updated file here:
http://pel.cvs.sourceforge.net/*checkout*/pel/pel/PelTag.php
The initial report can be found on Gmane here:
http://article.gmane.org/gmane.comp.web.pel.devel/81
It seems that something changed between PHP version 5.0.5
and 5.1.2 that made this bug surface.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=650322&aid=1503755&group_id=108380
_______________________________________________
PEL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pel-devel