Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6531607
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T09:53:54+00:00 2026-05-25T09:53:54+00:00

I have just set up a completely new Symfony 1.4 project and designed the

  • 0

I have just set up a completely new Symfony 1.4 project and designed the schema but unfortunately I can’t build the schema.

I having some trouble with the symfony command php symfony propel:build --all --no-confirmation.

Unfortunately it leaves a rather cryptic error message php symfony propel:build --all --no-confirmation does anyone know what is causing this error and how to correct it? Google turns up some polish websites that (even with translate) I cannot understand!

Many thanks!

Full Error:

>> schema    putting /Applications/XAMPP/xamppfiles/htdocs/swingers/config/generated-schema.xml
>> propel    Running "insert-sql" phing task
Execution of target "insert-sql" failed for the following reason: /Applications/XAMPP/xamppfiles/htdocs/swingers/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:272:1:  [wrapped: SQLSTATE[HY000] [2002] No such file or directory]
    [phing] /Applications/XAMPP/xamppfiles/htdocs/swingers/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:272:1:  [wrapped: SQLSTATE[HY000] [2002] No such file or directory]

  Some problems occurred when executing the task:                                       

  build-propel.xml:272:1:  [wrapped: SQLSTATE[HY000] [2002] No such file or directory]  

  If the exception message is not clear enough, read the output of the task for         
  more information                                                                      

>> file-     /Applications/XAMPP/xamppfiles/htdocs/swingers/config/generated-schema.xml
PezCuckowMBP:swingers pezcuckow$ 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T09:53:55+00:00Added an answer on May 25, 2026 at 9:53 am

    Damn, I’ve answered my own question after some more thought:

    I am using Xampp on OSX 10.6. The problem is it was executing the wrong php binary.

    $ php symfony propel:insert-sql
    

    would call the php binary in /usr/bin/ not the one in

    /Applications/xampp/xamppfiles/bin/ which is what I wanted in the first place

    The command $ php is running the wrong PHP (OSX’s default PHP).

    To resolve this problem I:

    Went in /usr/bin and renamed

    php to php_old
    phpize to phpize_old 
    php-config to php-config_old
    

    Then, make symbolic link:

    sudo ln -s /Applications/XAMPP/xamppfiles/bin/php-config php-config
    sudo ln -s /Applications/XAMPP/xamppfiles/bin/php php
    sudo ln -s /Applications/XAMPP/xamppfiles/bin/phpize phpize
    

    Hope this is of use to someone else stuck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just set up cruise control.net on our build server, and I am
I'm fairly new to WebService developement and have just set up my own webservice
I have just set up ruby in Aptana studio and am getting the following
I have a WPF app which snaps to screen edges (I just set the
I have a CRON job php script that I just set up not too
If I have a table of a hundred users normally I would just set
Could I use migrator.net bare migration framework and just have a set of SQL
I have a <Grid> set up just the way I want with each cell
Just starting out with subversion, have set up repos for 3 current projects and
I've just got my first VPS & have set up NGinx, Ruby, Rails &

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.