<div dir="ltr">Hi, you may need to run a geonode updatelayers in order to register them in geonode.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-04 11:33 GMT+01:00 David Alda Fernandez de Lezea <span dir="ltr"><<a href="mailto:dalda@hazi.eus" target="_blank">dalda@hazi.eus</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi List,<br>
<br>
I don’t know why but when I’m trying to add a layer in the geoexplorer interface I get an error 404 a prompt shows: PAGE NOT FOUND Using fiddler I’ve seen that it fails requesting the url<br>
<br>
<a href="http://192.168.1.190/gs/puntos_rakel/edit-check" rel="noreferrer" target="_blank">http://192.168.1.190/gs/puntos_rakel/edit-check</a><br>
<br>
where puntos_rakel is a previously added shape layer. It also occurs with all geoserver added layers.<br>
<br>
The full output from fiddler is<br>
<br>
<br>
<!DOCTYPE html><br>
<html lang="en"><br>
<head><br>
<meta charset="utf-8"><br>
<meta http-equiv="X-UA-Compatible" content="IE=edge"><br>
<meta name="viewport" content="width=device-width, initial-scale=1"><br>
<title>GeoNode</title><br>
<br>
<br>
<link href="/static/lib/css/assets.min.css?v=2.4" rel="stylesheet"/><br>
<br>
<link href="/static/geonode/css/ext-compatibility.css?v=2.4" rel="stylesheet" /><br>
<link href="/static/geonode/css/base.css?v=2.4" rel="stylesheet" /><br>
<style type="text/css">[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}</style><br>
<br>
<br>
<br>
<!--[if IE]><br>
<script src="<a href="https://html5shim.googlecode.com/svn/trunk/html5.js" rel="noreferrer" target="_blank">https://html5shim.googlecode.com/svn/trunk/html5.js</a>"></script><br>
<style><br>
#ieflag{<br>
display: block !important;<br>
height: 150px;<br>
text-align: center;<br>
}<br>
</style><br>
<![endif]--><br>
<link rel="search" type="application/opensearchdescription+xml" href="/catalogue/opensearch" title="GeoNode Search"/><br>
</head><br>
<br>
<body class=""><br>
<br>
<br>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"><br>
<div class="container"><br>
<div class="navbar-header"><br>
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"><br>
<span class="sr-only">Toggle navigation</span><br>
<span class="icon-bar"></span><br>
<span class="icon-bar"></span><br>
<span class="icon-bar"></span><br>
</button><br>
<a class="navbar-brand" href="/">GeoNode</a><br>
</div><br>
<div id="navbar" class="navbar-collapse collapse"><br>
<ul class="nav navbar-nav"><br>
<br>
<li id="nav_layers"><br>
<a href="/layers/">Capas</a><br>
</li><br>
<li id="nav_maps"><br>
<a href="/maps/">Mapas</a><br>
</li><br>
<li id="nav_documents"><br>
<a href="/documents/">Documentos</a><br>
</li><br>
<br>
<br>
<li id="nav_people"><br>
<a href="/people/">Personas</a><br>
</li><br>
<li id="nav_groups"><br>
<a href="/groups/">Grupos</a><br>
</li><br>
<br>
</ul><br>
<form class="navbar-form" id="search" action="/search/" ><br>
<div class="col-md-3"><br>
<div class="input-group"><br>
<br>
<input id="search_input" type="text" placeholder="Search" class="form-control" name="title__icontains"><br>
<br>
<span class="input-group-btn"><br>
<button class="btn btn-primary" type="submit"><i class="fa fa-search"></i></button><br>
</span><br>
</div><br>
</div><br>
</form><br>
<ul class="nav navbar-nav navbar-right"><br>
<br>
<br>
<li><br>
<a href="#" data-toggle="modal" data-target="#UserModal" role="button" aria-expanded="false"><br>
<img src="<a href="http://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e/?s=30" rel="noreferrer" target="_blank">http://www.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e/?s=30</a>" alt="u0899jbe" /> u0899jbe<br>
</a><br>
</li><br>
<br>
</ul><br>
</div><!--/.nav-collapse --><br>
</div><br>
</nav><br>
<br>
<br>
<div class="alert alert-danger alert-dismissible" role="alert" id="ieflag" style="display:none"><br>
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button><br>
<h1>You are using an outdated browser that is not supported by GeoNode.</h1><br>
<p>Please use a <strong>modern browser</strong> like Mozilla Firefox, Google Chrome or Safari.</p><br>
</div><br>
<br>
<div id="wrap"><br>
<br>
<div class="container"><br>
<div class="alert alert-warn" id="status-message" hidden="hidden"><br>
<a class="close" onclick="$('.alert').hide()">×</a><br>
<strong><p id="status-message-text">Placeholder for status-message</p></strong><br>
<p id="status-message-text-body">Placeholder for status-message-body</p><br>
</div><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="row"><br>
<div class="col-md-8"><br>
<br>
<div id="description"><h3>Página no encontrada</h3></div><br>
<br>
La página solicitada no existe. Tal vez usted está utilizando un marcador desactualizado.⏎<br>
<br>
</div><br>
<div class="col-md-4"><br>
<br>
</div><br>
</div><br>
<br>
</div><br>
<br>
</div><br>
<br>
<br>
<footer class="footer"><br>
<div class="container"><br>
<div class="row"><br>
<div class="col-md-8"><br>
Proporcionado por: <a href="<a href="http://geonode.org" rel="noreferrer" target="_blank">http://geonode.org</a>">GeoNode</a> <em>Versión 2.4</em> |<br>
<a href="/developer/">Desarrolladores</a> |<br>
<a href="/about/">Acerca de</a><br>
</div><br>
<div class="col-md-4"><br>
<label class="hidden">Idioma</label><br>
<br>
<br>
<form class="form-inline" action="/i18n/setlang/" method="post"><br>
<input type='hidden' name='csrfmiddlewaretoken' value='jwfEKZjzwie2cflbenmB0s4wNuXKAFTn' /><br>
<select class="col-md-6 pull-right" name="language" onchange="javascript:form.submit()"><br>
<br>
<option value="en" ><br>
English<br>
</option><br>
<br>
<option value="es" selected="selected"><br>
Español<br>
</option><br>
<br>
<option value="it" ><br>
Italiano<br>
</option><br>
<br>
<option value="fr" ><br>
Français<br>
</option><br>
<br>
<option value="de" ><br>
Deutsch<br>
</option><br>
<br>
<option value="el" ><br>
Ελληνικά<br>
</option><br>
<br>
<option value="id" ><br>
Bahasa Indonesia<br>
</option><br>
<br>
<option value="zh-cn" ><br>
中文<br>
</option><br>
<br>
<option value="ja" ><br>
日本語<br>
</option><br>
<br>
<option value="fa" ><br>
Persian<br>
</option><br>
<br>
<option value="ar" ><br>
Arabic<br>
</option><br>
<br>
<option value="bn" ><br>
Bengali<br>
</option><br>
<br>
<option value="ne" ><br>
Nepali<br>
</option><br>
<br>
<option value="sq" ><br>
Albanian<br>
</option><br>
<br>
<option value="af" ><br>
Afrikaans<br>
</option><br>
<br>
<option value="sw" ><br>
Swahili<br>
</option><br>
<br>
<option value="pt" ><br>
Portuguese<br>
</option><br>
<br>
<option value="ru" ><br>
Russian<br>
</option><br>
<br>
<option value="vi" ><br>
Vietnamese<br>
</option><br>
<br>
<option value="ko" ><br>
한국어<br>
</option><br>
<br>
<option value="am" ><br>
Amharic<br>
</option><br>
<br>
<option value="km" ><br>
Khmer<br>
</option><br>
<br>
<option value="pl" ><br>
Polish<br>
</option><br>
<br>
<option value="sv" ><br>
Swedish<br>
</option><br>
<br>
<option value="th" ><br>
ไทย<br>
</option><br>
<br>
<option value="uk" ><br>
Ukranian<br>
</option><br>
<br>
<option value="si" ><br>
Sinhala<br>
</option><br>
<br>
<option value="ta" ><br>
Tamil<br>
</option><br>
<br>
<option value="tl" ><br>
Tagalog<br>
</option><br>
<br>
</select><br>
</form><br>
<br>
</div><br>
</div><br>
</div><br>
</footer><br>
<br>
<br>
<br>
<!-- Modal must stay outside the navbar --><br>
<br>
<div class="modal fade" id="UserModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"><br>
<div class="modal-dialog modal-sm"><br>
<div class="modal-content"><br>
<div class="modal-header"><br>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><br>
<h4 class="modal-title" id="myModalLabel">Menu</h4><br>
</div><br>
<div class="modal-body"><br>
<ul class="list-unstyled"><br>
<li><a href="/layers/upload"><i class="fa fa-cloud-upload"></i> Subir Capas</a></li><br>
<li class="modal-divider"></li><br>
<li><a href="/people/profile/u0899jbe/"><i class="fa fa-user"></i> Perfil</a></li><br>
<li><a href="/social/recent-activity"><i class="fa fa-fire"></i> Reciente Actividad</a></li><br>
<li><a href="/messages/inbox/"><i class="fa fa-inbox"></i> Bandeja de entrada</a></li><br>
<br>
<br>
<br>
<br>
<br>
<br>
<li class="modal-divider"></li><br>
<li><a title="Help" rel="tooltip" href="/help/"><i class="fa fa-question-circle"></i> Ayuda</a></li><br>
</ul><br>
</div><br>
<div class="modal-footer"><br>
<form action="/account/logout/" id="logout_form" method="post"><br>
<input type='hidden' name='csrfmiddlewaretoken' value='jwfEKZjzwie2cflbenmB0s4wNuXKAFTn' /><br>
<a class="btn btn-warning btn-block" href="javascript:{}" onclick="document.getElementById('logout_form').submit();">Salir</a><br>
</form><br>
</div><br>
</div><br>
</div><br>
</div><br>
<br>
<!-- End of Modal --><br>
<br>
<br>
<script src="/static/lib/js/assets.min.js?v=2.4"></script><br>
<br>
<script src="/static/geonode/js/utils/utils.js?v=2.4"></script><br>
<script src="/static/geonode/js/base/base.js?v=2.4"></script><br>
<br>
<br>
<script type="text/javascript"><br>
jQuery(function($) {<br>
function getCookie(name) {<br>
var cookieValue = null;<br>
if (document.cookie && document.cookie != '') {<br>
var cookies = document.cookie.split(';');<br>
for (var i = 0; i < cookies.length; i++) {<br>
var cookie = jQuery.trim(cookies[i]);<br>
// Does this cookie string begin with the name we want?<br>
if (cookie.substring(0, name.length + 1) == (name + '=')) {<br>
cookieValue = decodeURIComponent(cookie.substring(name.length + 1));<br>
break;<br>
}<br>
}<br>
}<br>
return cookieValue;<br>
}<br>
function csrfSafeMethod(method) {<br>
// these HTTP methods do not require CSRF protection<br>
return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method));<br>
}<br>
function sameOrigin(url) {<br>
// test that a given url is a same-origin URL<br>
// url could be relative or scheme relative or absolute<br>
var host = document.location.host; // host + port<br>
var protocol = document.location.protocol;<br>
var sr_origin = '//' + host;<br>
var origin = protocol + sr_origin;<br>
// Allow absolute or scheme relative URLs to same origin<br>
return (url == origin || url.slice(0, origin.length + 1) == origin + '/') ||<br>
(url == sr_origin || url.slice(0, sr_origin.length + 1) == sr_origin + '/') ||<br>
// or any other URL that isn't scheme relative or absolute i.e relative.<br>
!(/^(\/\/|http:|https:).*/.test(url));<br>
}<br>
$.ajaxSetup({<br>
beforeSend: function(xhr, settings) {<br>
if (!csrfSafeMethod(settings.type) && sameOrigin(settings.url)) {<br>
// Send the token to same-origin, relative URLs only.<br>
// Send the token only if the method warrants CSRF protection<br>
// Using the CSRFToken value acquired earlier<br>
xhr.setRequestHeader("X-CSRFToken", getCookie('csrftoken'));<br>
}<br>
}<br>
});<br>
});<br>
</script><br>
<br>
<br>
<script type="text/javascript" src="/static/autocomplete_light/django_admin.js"></script><br>
<script type="text/javascript" src="/static/autocomplete_light/autocomplete.js"></script><br>
<script type="text/javascript" src="/static/autocomplete_light/widget.js"></script><br>
<script type="text/javascript" src="/static/autocomplete_light/addanother.js"></script><br>
<script type="text/javascript" src="/static/autocomplete_light/text_widget.js"></script><br>
<script type="text/javascript" src="/static/autocomplete_light/remote.js"></script><br>
<link rel="stylesheet" type="text/css" href="/static/autocomplete_light/style.css" /><br>
<br>
<script type="text/javascript" src="/jsi18n/"></script><br>
<br>
<script type="text/javascript"><br>
var autocomplete = $('#search_input').yourlabsAutocomplete({<br>
url: '/autocomplete/ResourceBaseAutocomplete/',<br>
choiceSelector: 'span',<br>
hideAfter: 200,<br>
minimumCharacters: 1,<br>
placeholder: 'Escriba aquí su busqueda ...',<br>
appendAutocomplete: $('#search_input'),<br>
autoHilightFirst: false<br>
});<br>
$('#search_input').bind('selectChoice', function(e, choice, autocomplete) {<br>
if(choice[0].children[0] == undefined) {<br>
$('#search_input').val($(choice[0]).text());<br>
$('#search').submit();<br>
}<br>
});<br>
</script><br>
<script><br>
// Workaround to fix the autocomplete box positions<br>
yourlabs.Autocomplete.prototype.fixPosition = function(html) {<br>
this.input.parents().filter(function() {<br>
return $(this).css('overflow') === 'hidden';<br>
}).first().css('overflow', 'visible');<br>
if(this.input.attr('name') !== 'resource-keywords'){<br>
this.box.insertAfter(this.input).css({top: 0, left: 0});<br>
}else{<br>
var pos = $.extend({}, this.input.position(), {<br>
height: this.input.outerHeight()<br>
});<br>
this.box.insertAfter(this.input).css({top: pos.top + pos.height, left: pos.left});<br>
}<br>
};<br>
</script><br>
<script type="text/javascript" src="/lang.js"></script><br>
<br>
</body><br>
</html><br>
<br>
<br>
<br>
Any Ideas?<br>
<br>
<br>
Thanks.<br>
<br>
<br>
Agur bero bat,<br>
<br>
<br>
David Alda Fernández de Lezea<br>
Área de Sistemas de Información Geográfica, Planificación Territorial y Forestal Informazio Geografikoen Sistemak, Lurralde eta Baso Antolaketaren Arloa.<br>
dalda@hazi.eus | www.hazi.eus<br>
T 945 003 240 – M 627 923 170 – F 945 003 290<br>
Hazi | Granja Modelo de Arkaute s/n | 01192 Arkaute – Araba<br>
<br>
********************* LEGE OHARRA ******************* AVISOLEGAL ******************* DISCLAIMER *****************************<br>
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.<br>
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.<br>
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.<br>
<br>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Simone </div>
</div>