Error warning when install aoi2
warning: pg_query(): Query failed: ERROR: syntax error at or near "MODIFY" LINE 1: ALTER TABLE oai2_tokens MODIFY COLUMN timestamp TIMESTAMP ^ in /home/wa2n/web/drupal-6.24/includes/database.pgsql.inc on line 138.
user warning: query: ALTER TABLE oai2_tokens MODIFY COLUMN timestamp TIMESTAMP in /home/wa2n/web/drupal-6.24/sites/all/modules/oai2/oai2.install on line 98.
warning: pg_query(): Query failed: ERROR: syntax error at or near "`" LINE 1: INSERT INTO oai2_metadata_formats (`metadata_prefix`,`schema... ^ in /home/wa2n/web/drupal-6.24/includes/database.pgsql.inc on line 138.
user warning: query: INSERT INTO oai2_metadata_formats (`metadata_prefix`,`schema_location`,`metadata_namespace`,`record_prefix`,`metadata_header`) VALUES ('oai_dc','http://www.openarchives.org/OAI/2.0/oai_dc.xsd','http://www.openarchives.org/OAI/2.0/oai_dc/','dc','<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">'); ; in /home/wa2n/web/drupal-6.24/sites/all/modules/oai2/oai2.install on line 120.
warning: pg_query(): Query failed: ERROR: syntax error at or near "`" LINE 1: INSERT INTO oai2_metadata_formats (`metadata_prefix`,`schema... ^ in /home/wa2n/web/drupal-6.24/includes/database.pgsql.inc on line 138.
user warning: query: INSERT INTO oai2_metadata_formats (`metadata_prefix`,`schema_location`,`metadata_namespace`,`record_prefix`,`local`,`metadata_header`) VALUES ('biblio_dc','biblio_dc.xsd', 'biblio_dc/','bibliodc',1,'<biblio_dc:bibliodc xmlns:biblio_dc="__LOCAL__biblio_dc/" xmlns:biblioterms="__LOCAL__biblioterms/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="__LOCAL__biblio_dc/ __LOCAL__biblio_dc.xsd" >') in /home/wa2n/web/drupal-6.24/sites/all/modules/oai2/oai2_biblio_terms/oai2_biblio_terms.install on line 18.
warning: pg_query(): Query failed: ERROR: syntax error at or near "`" LINE 1: INSERT INTO oai2_metadata_schemas (`name`,`schema`) ^ in /home/wa2n/web/drupal-6.24/includes/database.pgsql.inc on line 138.
user warning: query: INSERT INTO oai2_metadata_schemas (`name`,`schema`) VALUES ('biblio_dc.xsd','<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:biblioterms="__LOCAL__biblioterms/" xmlns="__LOCAL__biblio_dc/" targetNamespace="__LOCAL__biblio_dc/" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:annotation> <xs:documentation xml:lang="en"> GEO Qualified DC container XML Schema. Created 2010-09-30. Created by Ron Jerome. This schema declares a container element for a Qualified DC application. </xs:documentation> </xs:annotation> <xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd" /> <xs:import namespace="__LOCAL__biblioterms/" schemaLocation="__LOCAL__biblioterms.xsd" /> <xs:element name="bibliodc" type="biblioterms:elementContainer" /> </xs:schema> ') in /home/wa2n/web/drupal-6.24/sites/all/modules/oai2/oai2_biblio_terms/oai2_biblio_terms.install on line 25.
warning: pg_query(): Query failed: ERROR: syntax error at or near "`" LINE 1: INSERT INTO oai2_metadata_schemas (`name`,`schema`) ^ in /home/wa2n/web/drupal-6.24/includes/database.pgsql.inc on line 138.
user warning: query: INSERT INTO oai2_metadata_schemas (`name`,`schema`) VALUES ('biblioterms.xsd','<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dc="http://purl.org/dc/elements/1.1/" targetNamespace="__LOCAL__biblioterms/" xmlns="__LOCAL__biblioterms/" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:annotation> <xs:documentation xml:lang="en"> GEO Terms XML Schema Created 2010-10-01 Created by Ron Jerome. </xs:documentation> </xs:annotation> <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"> </xs:import> <xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="http://dublincore.org/schemas/xmls/qdc/2003/04/02/dc.xsd" /> <!-- The following line defines the additional property used to describe the biblioterms. --> <xs:complexType name="GeoTags"> <xs:annotation> <xs:documentation xml:lang="en"> This is the default type for all of the DC elements. It permits text content only with optional xml:lang attribute. Text is allowed because mixed="true", but sub-elements are disallowed because minOccurs="0" and maxOccurs="0" are on the xs:any tag. This complexType allows for restriction or extension permitting child elements. </xs:documentation> </xs:annotation> <xs:complexContent mixed="true"> <xs:extension base="dc:SimpleLiteral"> <xs:attribute name="type" type="xs:string"></xs:attribute> <xs:attribute name="name" type="xs:string"></xs:attribute> <xs:attribute name="relevance" type="xs:string"></xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="geoTag" type="GeoTags" substitutionGroup="dc:any"></xs:element> <xs:group name="elementsGroup"> <xs:annotation> <xs:documentation xml:lang="en"> This group is included as a convenience for schema authors who need to refer to all the DC and GEO elements. </xs:documentation> </xs:annotation> <xs:sequence> <xs:choice minOccurs="0" maxOccurs="unbounded"> <xs:element ref="dc:any" /> </xs:choice> </xs:sequence> </xs:group> <xs:complexType name="elementContainer"> <xs:annotation> <xs:documentation xml:lang="en"> This is included as a convenience for schema authors who need to define a root or container element for all of the DC and GEO elements. </xs:documentation> </xs:annotation> <xs:choice> <xs:group ref="elementsGroup"/> </xs:choice> </xs:complexType> </xs:schema> ') in /home/wa2n/web/drupal-6.24/sites/all/modules/oai2/oai2_biblio_terms/oai2_biblio_terms.install on line 30.
Comments
Comment #1
rjerome commentedFixed in the latest -dev
http://drupalcode.org/project/oai2.git/commit/8a91fda
Ron
Comment #2.0
(not verified) commentedadded all error