سلام
والا دیگه جون به لب شدم
از ساخت اکانت org گرفته تا نوشتن روزنامه
همش ارور میده
این ارور باسه ساخت اکانت org هست :
[PropelException]

Unable to execute INSERT statement. [wrapped: Could not execute update [Native Error: Duplicate entry 'M-ORG' for key 'by_name'] [User Info: INSERT INTO citizens (NAME,***,PASSWORD_STASH,PASSWORD_HASH,PASSWORD_SA LT,CREATED_AT,IS_ORGANIZATION,PARENT_ID) VALUES ('M-ORG','X','b59f844060790b8d72395290026b9ef3','5dc80 e70543d1272167134a64ce4549b93ec3bb0','d947b4ad642a e74d21d09a7e3fc3029d','2009-03-15 06:24:57',1,1310121)]]

stack trace


  • at ()
    in SF_SYMFONY_LIB_DIR/vendor/propel/util/BasePeer.php line 308 ...
      1. } catch (Exception $e) {
      2. Propel::log($e->getMessage(), Propel::LOG_ERR);
      3. throw new PropelException("Unable to execute INSERT statement.", $e);
      4. }
      5. // If the primary key column is auto-incremented, get the id
  • at BasePeer:oInsert(object('Criteria'), object('MySQLConnection'

....


این مشکل ما چیه آخه !؟