You're using Agavi 0.11; please upgrade to Agavi 1.0: pear upgrade agavi/agavi-1.0.1

There's a problem with our PEAR channel at the minute where it pulls 0.11 instead of 1.0 by default, sorry for the inconvenience.

- David


On 26.09.2009, at 23:46, Stéphane Didierjean wrote:

Hello,

My Contact.xml (it's only the ibm tutorial) but i try with various one it's always the same error :

<?xml version="1.0" encoding="UTF-8"?>
<ae:configurations
  xmlns="http://agavi.org/agavi/config/parts/validators/1.0";
  xmlns:ae="http://agavi.org/agavi/config/global/envelope/1.0";
  parent="%core.module_dir%/Default/config/validators.xml"
>
  <ae:configuration>

    <validators method="write">
      <validator class="string">
        <arguments>
          <argument>name</argument>
        </arguments>
        <errors>
          <error for="required">ERROR: Name is missing</error>
          <error>ERROR: Name is invalid</error>
        </errors>
        <ae:parameters>
          <ae:parameter name="required">true</ae:parameter>
        </ae:parameters>
      </validator>

      <validator class="email">
        <arguments>
          <argument>email</argument>
        </arguments>
        <errors>
<error for="required">ERROR: Email address is missing</ error>
          <error>ERROR: Email address is invalid</error>
        </errors>
        <ae:parameters>
          <ae:parameter name="required">true</ae:parameter>
        </ae:parameters>
      </validator>

      <validator class="string">
        <arguments>
          <argument>message</argument>
        </arguments>
        <errors>
          <error for="required">ERROR: Message body is missing</error>
          <error>ERROR: Message body is invalid</error>
        </errors>
        <ae:parameters>
          <ae:parameter name="required">true</ae:parameter>
        </ae:parameters>
      </validator>
    </validators>

  </ae:configuration>
</ae:configurations>


my environment :

Agavi:
    0.11.8
PHP:
    5.2.6-3ubuntu4.2
System:

Linux sddj-desktop 2.6.28-15-generic #49-Ubuntu SMP Tue Aug 18 18:40:08 UTC 2009 i686


Thanks for any help

Stephane

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to