Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118674 - dev-php5/propel-generator-1.1.1 fatal error, redefined class constant in ForeignKey.php
Summary: dev-php5/propel-generator-1.1.1 fatal error, redefined class constant in Fore...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High major
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-11 08:58 UTC by Harm Geerts
Modified: 2006-01-11 13:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harm Geerts 2006-01-11 08:58:33 UTC
This error prevents the usage of the class/sql generator.

http://propel.phpdb.org/trac/changeset/117?format=diff
Comment 1 Harm Geerts 2006-01-11 09:12:54 UTC
In addition to the fix above I have another.
dev-php5/propel-generator requires dev-lang/php to be build with the "simplexml" USE flag.

Line 18 in /usr/share/php5/data/propel_generator/templates/conf/xml.tpl:
$xml = simplexml_load_string($xmlDom->saveXML());
Comment 2 Harm Geerts 2006-01-11 11:50:13 UTC
Looking at the buglists about php-5.1 I think it's probably better to make this depend on php-5.0
Comment 3 Sebastian Bergmann (RETIRED) gentoo-dev 2006-01-11 13:30:22 UTC
dev-php5/propel-generator-1.1.1 now checks for the SimpleXML extension.
Comment 4 Sebastian Bergmann (RETIRED) gentoo-dev 2006-01-11 13:57:43 UTC
Applied http://propel.phpdb.org/trac/changeset/117?format=diff.