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

Uwe Seher uwe.seher at gmail.com
Mon Jun 13 06:13:28 PDT 2016


Hello Andreas!

The full path is
/srv/www/htdocs/intranet/mapbender3/mapbender/src/Workshop/DemoBundle/WorkshopDemoBundle.php

I checked owner and rights and everything seems to be like in the
Mapbender-Dir on the same level.
The classfile itself is unchanged direct from the download.


Regards, Uwe


2016-06-13 14:47 GMT+02:00 Andreas Schmitz <andreas.schmitz at wheregroup.com>:

> Uwe Seher wrote:
>
> Hi,
>
> > 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 means that you don't have the WorkshopDemoBundle class. You can
> check what files you have in mapbender/src/Workshop/DemoBundle (you
> should have WorkshopDemoBundle.php) and if the class is correctly
> named (namespace Workshop\DemoBundle; and class WorkshopDemoBundle
> {...}).
>
> Best regards, Andreas
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20160613/c516ae4f/attachment.html>


More information about the Mapbender_users mailing list