configuration - propel could not find postgresql driver - wrong pdo version? -


i can't propel script running on system.

my build.properties looks this:

propel.project = test  # propel driver use generating sql, etc. propel.database = pgsql  # must pdo dsn propel.database.url = pgsql:host=localhost;port=5432;dbname=test propel.database.user = user propel.database.password = password 

i following error when run propel-gen . reverse:

[propel-schema-reverse] there error building xml metadata: /home/user/web/dev/vendor/propel/generator/build-propel.xml:296:1: not find driver

pdo_pgsql enabled (there several applications running succesfully); in phpinfo there seems wrong version stated:

postgresql(libpq) version 8.4.13

i'm running postgresql 9.1. think causes error have no idea why versions different. have installed first postgresql , php5-fpm etc. via apt-get.

using php 5.3.5 on ubuntu 11.04. can help?

remove empty spaces , newlines in between xml tags in buildtime-conf.xml. worked me.

my file looked after using runtime-conf.xml template buildtime-conf.xml

...             <adapter> mysql             </adapter>  ... 

now looks , works

...             <adapter>mysql</adapter>  ... 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -