【问题标题】:Installing Symfony 1.4 with Postgres in Mac OSX 10.6在 Mac OSX 10.6 中使用 Postgres 安装 Symfony 1.4
【发布时间】:2011-10-15 05:51:45
【问题描述】:

我尝试按照本网站中的教程进行操作。 http://geek-madness.blogspot.com/2010/12/using-postgresql-with-symfony-14.html 但未能成功在 symfony 中运行我的应用程序。每当我在 postgre 中的数据库中插入 sql 时,我总是会收到以下错误。

注意:未定义的偏移量:../plugins/sfPostgresDoctrinePlugin/lib/vendor/doctrine/Doctrine/Export/Pgsql.php 第 449 行中的 1 SQLSTATE[42601]:语法错误:7 错误:在或附近出现语法错误

谁能帮我解决这个问题。我有 Postgre 8.4 Apache 5.3 和 PHP 5.3

【问题讨论】:

    标签: postgresql symfony1 schema installation


    【解决方案1】:

    我认为问题出在生成的 sql 中,如果这不是问题,请将 schema.yml 文件发送给我,如果这是 sfPostgresDoctrinePlugin 中的错误,我会修复它。

    【讨论】:

      猜你喜欢
      • 2012-04-09
      • 2014-02-17
      • 2011-07-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-19
      • 1970-01-01
      相关资源
      最近更新 更多