This blog is NOFOLLOW Free!

The magic space of the IT find what you seek or get lost


Fix propel-gen error: Error reading project file build-propel.xml

I had just installed propel-gen and phing with the pear method onto a new system. But after running the propel-gen I only get this error:

$ propel-gen $PWD
Buildfile: /usr/lib/php/data/propel_generator/pear-build.xml
[resolvepath] Resolved /devel/build/propel

propel-project-builder > projdircheckExists:

propel-project-builder > projdircheck:

propel-project-builder > configure:

 [echo] Loading project-specific props from /devel/build/propel/
 [property] Loading /devel/build/propel/

propel-project-builder > main:

 [phing] Calling Buildfile '/devel/build/propel/build-propel.xml' with target 'main'
 [phing] Error reading project file [wrapped: Unable to open /devel/build/propel/build-propel.xml for reading: ]


Total time: 0.1085 seconds

My Installed software versions:

propel-gen -> 1.4.1
phing      -> 2.4

And exactly this was the problem. It seems that the phing version 2.4 breaks some stuff. Because of this I have installed the old version, and now it works perfect.

Fatal error: Call to undefined function the_flattr_permalink() in /srv/www/webs/aschneider/magicspace_eu/htdocs/wp-content/themes/lightword-custom/single.php on line 23 Call Stack: 0.0002 235736 1. {main}() /srv/www/webs/aschneider/magicspace_eu/htdocs/index.php:0 0.0003 238696 2. require('/srv/www/webs/aschneider/magicspace_eu/htdocs/wp-blog-header.php') /srv/www/webs/aschneider/magicspace_eu/htdocs/index.php:17 0.4244 54903720 3. require_once('/srv/www/webs/aschneider/magicspace_eu/htdocs/wp-includes/template-loader.php') /srv/www/webs/aschneider/magicspace_eu/htdocs/wp-blog-header.php:19 0.4314 55331504 4. include('/srv/www/webs/aschneider/magicspace_eu/htdocs/wp-content/themes/lightword-custom/single.php') /srv/www/webs/aschneider/magicspace_eu/htdocs/wp-includes/template-loader.php:74