Skip to Content.
Sympa Menu

en - [sympa-users] XML include2 problems

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Daniel Cortes <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] XML include2 problems
  • Date: Tue, 12 Apr 2005 12:55:13 +0200

I tried to create a LIST with an xML:

prueba.xml
<?xml version="1.0" ?>
<list>
<listname>Prueba</listname>
<type>private_working_group</type>
<subject>Lista de Prueba</subject>
<status>open</status>
<shared_edit>editor</shared_edit>
<language>es</language>
<owner_include>
<source>owner</source>
</owner_include>
<editor_include>
<source>editor</source>
</editor_include>
<sql>
<type>mysql</type>
<host>daniol.fi.edu</host>
<user>name</user>
<pwd>password</pwd>
<name>test</name>
<query>SELECT DISTINCT email FROM gente</query>
</sql>
</list>

/home/soft/sympa/etc/data_sources/owner.incl contains:
include_sql_query
db_type mysql
host daniol.fi.edu
user name
passwd password
db_name test
sql_query SELECT DISTINCT email FROM gente WHERE nombre="daniel"

The result of execute

was:

No such list prueba
Language::SetLang(), missing locale parameter
The list "prueba" has got no owner defined
The list "prueba" is set in status error_config
Language::SetLang(), missing locale parameter


What's wrong? I don't have any subscribers, any owners and any edittors, why? I've benn tried the sql querry and return email correctly.

Tkhks


  • [sympa-users] XML include2 problems, Daniel Cortes, 04/12/2005

Archive powered by MHonArc 2.6.19+.

Top of Page