[Mapbender-users] JavaScript module not found, path wrong

Thomas Baschetti info at thomas-baschetti.de
Wed Mar 6 02:32:20 PST 2013


Hi,

why do you think the path ist wrong?
Can you do something like:

$ ls -l /var/www/sites/mapbender/http/javascripts/../javascripts/../extensions/RaphaelJS/raphael-1.4.7.min.js   

When the script is found perhaps there  is a problem with permissions on files or dirs?

On my laptop this is perfectly fine:
thomas at pseudopolis:~$ ls -l /opt/mapbender/mapbender27/http/javascripts/../javascripts/../extensions/RaphaelJS/raphael-1.4.7.min.js
-rw-rw-r-- 1 thomas thomas 56631 Jul 13  2010 /opt/mapbender/mapbender27/http/javascripts/../javascripts/../extensions/RaphaelJS/raphael-1.4.7.min.js
thomas at pseudopolis:~$

Don't get confused by using "../", this might look unusual but is correct, e.g.
/var/www/sites/somefile
is the same as
/var/www/../www/sites/somefile

Ciao
Thomas

Am 06.03.2013 10:14, schrieb karsten vennemann:
> Hi All,
>
> In one application (gui) of my MapBender 2.7.3 under Apache 2 on Ubuntu I
> suddenly ran into a problem that one of the gui is not loading any more. I
> am not aware what could have triggered this but the gui loading never
> finished (other guis are loading fine). I looked into the MapBender log file
> and find the following errors below. 
> It seems that somehow mb sets the path to certain JS modules wrong  such as
> for example:
>
>
> /var/www/sites/mapbender/http/javascripts/../javascripts/../extensions/Rapha
> elJS/raphael-1.4.7.min.js   
>
> More details see below. 
> I am not aware how I can fix this or where to look first in order to solve
> the problem.
> Any help is greatly appreciated ...
> Cheers
> Karsten
> -------------------------------------------
> ...
> , 2013.03.06, 10:10:11,ERROR: Javascript module not found:
> 2013.03.06, 10:10:11,Notice: LOADING module :
> /var/www/sites/mapbender/http/javascripts/../javascripts/../extensions/Rapha
> elJS/raphael-1.4.7.min.js
> 2013.03.06, 10:10:11,Notice: LOADING module :
> /var/www/sites/mapbender/http/javascripts/../javascripts/popup.js
> 2013.03.06, 10:10:11,Notice: LOADING module :
> /var/www/sites/mapbender/http/javascripts/../javascripts/geometry.js
> 2013.03.06, 10:10:11,Notice: LOADING module :
> /var/www/sites/mapbender/http/javascripts/../javascripts/wfsFilter.js
> 2013.03.06, 10:10:11,Notice: LOADING module :
> /var/www/sites/mapbender/http/javascripts/../javascripts/../extensions/dataT
> ables-1.5/media/js/jquery.dataTable$
> 2013.03.06, 10:10:11,Notice: LOADING module :
> /var/www/sites/mapbender/http/javascripts/../javascripts/../../lib/history.j
> s
> 2013.03.06, 10:10:11,Notice: LOADING module :
> /var/www/sites/mapbender/http/javascripts/../javascripts/map_obj.js
> 2013.03.06, 10:10:11,NoticeERROR: Javascript module not found: LOADING
> module : /var/www/sites/mapbender/http/javascripts/../javascripts/map.js
> -----------------------------------------------------------------------
>
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users


Mit freundlichen Grüßen

Thomas Baschetti

-- 

Thomas Baschetti - Systemanalyse Geographische Informationssysteme
Hakenstraße 8D
49074 Osnabrück

Tel: 0541 25 91 90 | mobil 01577 189 25 91
E-Mail: info at thomas-baschetti.de
www.thomas-baschetti.de
Ust-IdNr.: DE264355072



More information about the Mapbender_users mailing list