I solved the problem, it was something about the path of MySql's
socket files configuration in my php.ini
now everything works fine!
thnx for you help!
Paolo!
On 22 Ago, 13:29, chok wrote:
> Do you have launch : symfony propel:build-sql ?
>
> Check if this file exists (build-propel.xml) maybe you
Do you have launch : symfony propel:build-sql ?
Check if this file exists (build-propel.xml) maybe your installation
of symfony ?
On 21 août, 22:54, Paolo90 wrote:
> well, now i get the following error:
>
> "Execution of target "insert-sql" failed for the following reason: /
> Library/WebServer/
well, now i get the following error:
"Execution of target "insert-sql" failed for the following reason: /
Library/WebServer/Documents/blog/lib/vendor/symfony/lib/plugins/
sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:272:1:
[wrapped: SQLSTATE[HY000] [2002] No such file or directory]
Ok,now I'm not at home so I can't try it, but I'll tell you if it
works, thanks.
On 21 Ago, 15:20, chok wrote:
> In the schema on the top you have to put the connection name like:
>
> propel:
> ...
>
> and not :
>
> blog:
> ...
>
> I don't very well attributes with propel but I think you have
In the schema on the top you have to put the connection name like:
propel:
...
and not :
blog:
...
I don't very well attributes with propel but I think you have to put
_atributes: {connection: propel} or something like that. But the first
way is the simpliest ;-)
This is solve your problem
And in your propel.ini ?
On 21 août, 13:23, Paolo90 wrote:
> Thanks for your reply, but it seems it doesn't work anyway! :(
>
> On 20 Ago, 17:42, Quince wrote:
>
> > I'm a new user so hopefully this solves your problem. In your
> > schema.yml file I believe you're missing the following line for
Thanks for your reply, but it seems it doesn't work anyway! :(
On 20 Ago, 17:42, Quince wrote:
> I'm a new user so hopefully this solves your problem. In your
> schema.yml file I believe you're missing the following line for each
> table:
> "connection: propel"
>
> This should be a level below t
I'm a new user so hopefully this solves your problem. In your
schema.yml file I believe you're missing the following line for each
table:
"connection: propel"
This should be a level below the table name. For instance:
---code-
blog:
connection: propel
---/code--