[Mapbender-users] Error when trying to make a custom template

Uwe Seher uwe.seher at gmail.com
Mon Jun 13 05:37:29 PDT 2016


Hello group!

I am trying to create a own template for mapbender3 v 3.0.5.3. At the
moment i have downloaded the sample code and go through the description.
The tree for the DemoTemplate is in $INSTALL_DIR/mapbender/src/ on the same
level as the Mapbender-Dir. All files and dirs are owned by the
webserver-user.

When i get to this point in the tutorial:

app/console assets:install web --symlink --relative

this error appears:

PHP Fatal error:  Class 'Workshop\DemoBundle\WorkshopDemoBundle' not
found in /srv/www/htdocs/mapbender3-3.0.5.3/app/AppKernel.php on line
40

This is the entry for the new class, if i comment the line out all work out.

In the tutorial this dir
/web/assets/WorkshopDemoBundle__demo_fullscreen__css.css is mentioned
As this does not exist i created it by hand.

It would be great if someone has a hint whats going wrong here.

Thank you in advance
Uwe Seher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20160613/65867a49/attachment.html>


More information about the Mapbender_users mailing list