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

Astrid Emde astrid.emde at wheregroup.com
Wed Mar 6 03:29:24 PST 2013


Hello,

there was a bug in Mapbender 2.7.2 which was fixed in Mapbender 2.7.3.
http://trac.osgeo.org/mapbender/ticket/868

Did you run the update SQL for Mapbender 2.7.3?

Here comes the link to the update SQL update_2.7.2_to_2.7.3_pgsql_UTF-8.sql:
http://trac.osgeo.org/mapbender/browser/branches/2.7/resources/db/pgsql/UTF-8/update/update_2.7.2_to_2.7.3_pgsql_UTF-8.sql


-- update all body elements for guis containing wz_jsgraphics.js
---> otherwise new wz_jsgraphics version leads to an error
UPDATE gui_element set e_mb_mod =
CASE
WHEN e_mb_mod IS NULL
THEN '../extensions/RaphaelJS/raphael-1.4.7.min.js'
ELSE
    CASE
    WHEN e_mb_mod LIKE '%../extensions/RaphaelJS/raphael-1.4.7.min.js%'
    THEN e_mb_mod
    ELSE  e_mb_mod::text ||',../extensions/RaphaelJS/raphael-1.4.7.min.js'
    END
END
where e_id = 'body' and fkey_gui_id IN (SELECT DISTINCT fkey_gui_id FROM
gui_element where e_js_file LIKE '%wz_jsgraphics%' OR e_mb_mod LIKE
'%wz_jsgraphics%');*

*Best regards Astrid*

*
Am 06.03.2013 12:15, schrieb Karsten-3-2:
> Hi,
>
> yes I can do
>
> $ ls -l
> /var/www/sites/mapbender/http/javascripts/../javascripts/../extensions/RaphaelJS/raphael-1.4.7.min.js  
>
> I was not aware those where valid paths :) 
>
> The permissons seem to be ok (at elast i geuss) .
> I have
> 0755/drwxr-xr-x on 
> `/var/www/sites/mapbender/http/extensions'
> and
> 0644/-rw-r--r-- 
> on raphael-1.4.7.min.js
> owner is www-data www-data
>
> Also the same for the other files..
>
> I have no idea what could be the cause of this problem ...
> Also it seems to be specific to this gui ...
> Any ideas where to look ?
> Cheers
> Karsten
>
>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.n6.nabble.com/JavaScript-module-not-found-path-wrong-tp5038732p5038758.html
> Sent from the mapbender-users mailing list archive at Nabble.com.
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users


-- 

Mit freundlichen Grüßen

Astrid Emde

-----------------------------------
Aufwind durch Wissen!

Qualifizierte OpenSource-Schulungen
bei der www.foss-academy.eu
-----------------------------------

 Astrid Emde
 WhereGroup GmbH & Co.KG
 Eifelstraße 7
 53119 Bonn
 Germany

 Fon: +49(0)228 90 90 38 - 19
 Fax: +49(0)228 90 90 38 - 11

 astrid.emde at wheregroup.com
 www.wheregroup.com

 Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com

Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
 pgp-public key:
 http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284
  Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen
  Signed and/or encrypted mail is highly appreciated

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20130306/2dafda90/attachment.html>


More information about the Mapbender_users mailing list