[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



Hi all,

Several months ago we configured our repository with the secure protocol (
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprints.ucm.es&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C668505a6e40f49779d7e08d6b7609d24%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=JdLh8PV6d6K8EfEuTR9nNpRhLb%2BGwL5wklbQHrMDzdc%3D&reserved=0).

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
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fg.co%2Fdev%2Fmaps-no-account&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C668505a6e40f49779d7e08d6b7609d24%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ZZkDc7O8%2F5ef7VYM2AcdofhMppxFGVSFK8u3FkP38BY%3D&reserved=0 For more information on authentication and
Google Maps JavaScript API services please see:
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdevelopers.google.com%2Fmaps%2Fdocumentation%2Fjavascript%2Fget-api-key&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C668505a6e40f49779d7e08d6b7609d24%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=WsANO5Fvo9JPwWosi8kxNViaBWTYQ32c%2FXjeuIeUYPE%3D&reserved=0 "



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://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprints.ucm.es%2Fjavascript%2Fauto.js%3A10688&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C668505a6e40f49779d7e08d6b7609d24%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=tnlwpp6cYll%2FAm5tTIPyQqHPQVQeOs6%2FpmIeImIibs0%3D&reserved=0



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





[image: cid:image005.jpg at 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

https://eur03.safelinks.protection.outlook.com/?url=www.ucm.es&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C668505a6e40f49779d7e08d6b7609d24%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=ZDNvXfRiTSvFaaloeBNKqwVEXKEcXcfJcx3uBC%2BhRyA%3D&reserved=0

___

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).

[image: cid:image006.png at 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).



[image: cid:image006.png at 01D39E6C.6586DC70] Before printing this mail
please consider whether it is really necessary: the environment is a
concern for us all.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190402/242022db/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3824 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190402/242022db/attachment-0001.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1088 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190402/242022db/attachment-0001.png