EPrints Technical Mailing List Archive

Message: #07761


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Eprints IRStats2 and Google Maps API keys


Hi all,

Several months ago we configured our repository with the secure protocol (https://eprints.ucm.es).

The IRStats2 plugin has also been updated to version 1.1 recently.

 

We have a couple of errors in the pages html (Chrome Inspector) of the repository that we do not know how to solve, are the following:

 

1. "Geocoding Service: You must use an API key to authenticate each request to Google Maps Platform APIs For additional information, please refer to http://g.co/dev/maps-no-account For more information on authentication and Google Maps _javascript_ API services please see: https://developers.google.com/maps/documentation/_javascript_/get-api-key "

 

We have obtained the necessary "API key" from Google but we do not know where to configure/install it in the EPrints/IRStats2 code to avoid this error.

Any clue about this?

 

2. ReferenceError: eprints_http_root is not defined

 https://eprints.ucm.es/_javascript_/auto.js:10688

 

If I define the variable in auto.js, the code duplicates the div tags and the html page overlays a black layer that I do not know how to disable.

Any help will be appreciated

 

Thanks in advance,

JC

 

 

cid:image005.jpg@01D39E6C.6586DC70

 

Juan Carlos Herraiz Regidor

Gobierno TI

Servicios Informáticos · Gobierno TI. Avenida Complutense s/n. 28040 Madrid

Teléfono: +34 91 394 5130, Fax: +34 91 394 4773

www.ucm.es

___

La información contenida en este correo es CONFIDENCIAL, de uso exclusivo del destinatario/a arriba mencionado. Si ha recibido este mensaje por error, notifíquelo inmediatamente por esta misma vía y proceda a su eliminación, ya que ud. tiene totalmente prohibida cualquier utilización del mismo, en virtud de la legislación vigente.

 

Los datos personales recogidos serán incorporados y tratados en el fichero 'Correoweb', bajo la titularidad del Vicerrectorado de Tecnologías de la Información, y en él el interesado/a podrá ejercer los derechos de acceso, rectificación, cancelación y oposición ante el mismo (artículo 5 de la Ley Orgánica 15/1999, de 13 de diciembre, de Protección de Datos de Carácter Personal).

cid:image006.png@01D39E6C.6586DC70 Antes de imprimir este correo piense si es necesario: el medioambiente es cosa de todos.

 

This message is private and confidential and it is intended exclusively for the addressee. If you receive this message by mistake, you should not disseminate, distribute or copy this e-mail. Please inform the sender and delete the message and attachments from your system, as it is completely forbidden for you to use this information, according to the current legislation. No confidentiality nor any privilege regarding the information is waived or lost by any mistransmission or malfunction.

 

The personal data herein will be collected in the file "Correoweb", under the ownership of the Vice-Rectorate for Information Technologies, in which those interested may exercise their right to access, rectify, erasure or right to object the contents (article 15-21 of Regulation (EU) 2016/679, General Data Protection Regulation).

 

cid:image006.png@01D39E6C.6586DC70 Before printing this mail please consider whether it is really necessary: the environment is a concern for us all.

Â