I got this errors after an upgrading from PHP 5.0.5 to PHP 5.1.2:
Fatal error: Cannot redefine class constant PelTag::XP_COMMENT in
/path/pel/PelTag.php on line 1086
Fatal error: Cannot redefine class constant PelTag::CFA_PATTERN in
/path/pel/PelTag.php on line 1348
Warning: gmdate() expects parameter 2 to be long, string given in
/path/pel/PelEntryAscii.php on line 220
I did this to emergency-fix it:
In PelTag.php file I commented out:
const CFA_PATTERN
const XP_COMMENT
I did just choose one of them.
In PelEntryAscii.php i put @ before gmdate():
function setValue($timestamp) {
$this->timestamp = $timestamp;
parent::setValue(@gmdate('Y:m:d H:i:s', $timestamp));
}
NB! This is just a lame emergency-fix! I don't know if this is PEL or
PHP's fault, but it should be fixed very soon:p
--
fotogalleri.org admin/webmaster
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
PEL-devel mailing list
PEL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pel-devel