<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello Moritz,<br>
      <br>
      thanks for your mail with the solution of your problem. Great
      Mapbender3 works now!<br>
      <br>
      I added the information to the documentation.<br>
      <br>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <a
href="http://doc.mapbender3.org/en/book/installation/installation_ubuntu.html">http://doc.mapbender3.org/en/book/installation/installation_ubuntu.html</a><br>
      <br>
      Best regards Astrid<br>
      <br>
      <br>
      Am 13.10.2016 11:33, schrieb Moritz Lennert:<br>
    </div>
    <blockquote
      cite="mid:43a680c5-e62a-3ddb-79c8-4cb9b3157900@club.worldonline.be"
      type="cite">Sorry, my bad: I forgot to run "sudo a2enmod php7.0".
      <br>
      (maybe a note about this in the doc might be good)
      <br>
      <br>
      Now <a class="moz-txt-link-freetext" href="http://localhost/mapbender3">http://localhost/mapbender3</a> gives me Mapbender ! ;-)
      <br>
      <br>
      Sorry for the noise,
      <br>
      Moritz
      <br>
      <br>
      On 12/10/16 15:51, Moritz Lennert wrote:
      <br>
      <blockquote type="cite">Some more info:
        <br>
        <br>
        <br>
        Using Chromium (instead of Firefox), I get the entire php code
        displayed
        <br>
        in the browser, be it for
        <br>
        <br>
        - <a class="moz-txt-link-freetext" href="http://localhost/mapbender3">http://localhost/mapbender3</a> (i.e. web/app.php) or
        <br>
        - <a class="moz-txt-link-freetext" href="http://localhost/mapbender3/config.php">http://localhost/mapbender3/config.php</a> (i.e. web/config.php)
        <br>
        <br>
        <br>
        And here are all the php related packages that are installed on
        my machine:
        <br>
        <br>
        dpkg -l "*php*" | grep ii | awk '{print $1, $2, $3}'
        <br>
        ii libapache2-mod-php 1:7.0+45
        <br>
        ii libapache2-mod-php7.0 7.0.11-1
        <br>
        ii php 1:7.0+45
        <br>
        ii php-apcu 5.1.5+4.0.11-1
        <br>
        ii php-apcu-bc 1.0.3-2
        <br>
        ii php-bz2 1:7.0+45
        <br>
        ii php-cli 1:7.0+45
        <br>
        ii php-common 1:44
        <br>
        ii php-curl 1:7.0+45
        <br>
        ii php-gd 1:7.0+45
        <br>
        ii php-intl 1:7.0+45
        <br>
        ii php-mbstring 1:7.0+45
        <br>
        ii php-mdb2 2.5.0b5-2
        <br>
        ii php-mdb2-driver-pgsql 1.5.0b4-2
        <br>
        ii php-pear 1:1.10.1+submodules+notgz-8
        <br>
        ii php-pgsql 1:7.0+45
        <br>
        ii php-sqlite3 1:7.0+45
        <br>
        ii php-xml 1:7.0+45
        <br>
        ii php-zip 1:7.0+45
        <br>
        ii php7.0 7.0.11-1
        <br>
        ii php7.0-bz2 7.0.11-1
        <br>
        ii php7.0-cli 7.0.11-1
        <br>
        ii php7.0-common 7.0.11-1
        <br>
        ii php7.0-curl 7.0.11-1
        <br>
        ii php7.0-gd 7.0.11-1
        <br>
        ii php7.0-intl 7.0.11-1
        <br>
        ii php7.0-json 7.0.11-1
        <br>
        ii php7.0-mbstring 7.0.11-1
        <br>
        ii php7.0-opcache 7.0.11-1
        <br>
        ii php7.0-pgsql 7.0.11-1
        <br>
        ii php7.0-readline 7.0.11-1
        <br>
        ii php7.0-sqlite3 7.0.11-1
        <br>
        ii php7.0-xml 7.0.11-1
        <br>
        ii php7.0-zip 7.0.11-1
        <br>
        <br>
        Moritz
        <br>
        <br>
        On 12/10/16 15:39, Moritz Lennert wrote:
        <br>
        <blockquote type="cite">Hi Frederik,
          <br>
          <br>
          Thank you for the quick response !
          <br>
          <br>
          On 11/10/16 17:58, Frederik Haefker (WhereGroup) wrote:
          <br>
          <blockquote type="cite">Hi Moritz,
            <br>
            <br>
            did you rename your "parameter.yml.dist" in following folder
            <br>
            "app/config/" by removing the ".dist"?
            <br>
          </blockquote>
          <br>
          I've just tried this, but no changes.
          <br>
          <br>
          This step is only described in [1] which is announced as
          "Installation
          <br>
          in the Symfony built-in webserver". I didn't think I had to go
          through
          <br>
          there.
          <br>
          <br>
          Looking at this I tried to run and reach the Symfony server
          with:
          <br>
          <br>
          sudo app/console server:run
          <br>
          <br>
          which gives me
          <br>
          <br>
          "Server running on <a class="moz-txt-link-freetext" href="http://localhost:8000">http://localhost:8000</a>"
          <br>
          <br>
          But when I point my browser to that address, I get:
          <br>
          <br>
          "Firefox can't establish a connection to the server at
          localhost:8000."
          <br>
          <br>
          I've tried stopping the apache2 service in order to avoid any
          possible
          <br>
          conflicts, but to no avail.
          <br>
          <br>
          I've also gone a bit further in the Ubuntu/Debian installation
          guide [2]
          <br>
          and changed the ownership of all files to www-data with:
          <br>
          <br>
          sudo chmod -R ugo+r /var/www/mapbender3
          <br>
          sudo chown -R www-data:www-data /var/www/mapbender3
          <br>
          sudo chmod -R ug+w /var/www/mapbender3/web/uploads
          <br>
          <br>
          No changes either. I still get the same unreadable web page...
          <br>
          <br>
          Moritz
          <br>
          <br>
          [1]
          <br>
<a class="moz-txt-link-freetext" href="http://doc.mapbender3.org/en/book/installation/installation_symfony.html">http://doc.mapbender3.org/en/book/installation/installation_symfony.html</a>
          <br>
          [2]
          <br>
<a class="moz-txt-link-freetext" href="http://doc.mapbender3.org/en/book/installation/installation_ubuntu.html">http://doc.mapbender3.org/en/book/installation/installation_ubuntu.html</a>
          <br>
          <br>
          <blockquote type="cite">
            <br>
            Best Regards
            <br>
            Frederik
            <br>
            <br>
            Am 11.10.2016 um 17:34 schrieb Moritz Lennert:
            <br>
            <blockquote type="cite">Hello there,
              <br>
              <br>
              I'm new to Mapbender and am having quite some issues just
              trying to
              <br>
              install it. Any help would be appreciated.
              <br>
              <br>
              Below a summary of my situation and of what I've done.
              <br>
              <br>
              Thanks !
              <br>
              <br>
              Moritz
              <br>
              <br>
              <br>
              ***************************************************
              <br>
              <br>
              OS: Debian testing
              <br>
              Apache Version: 2.4.23
              <br>
              PHP Debian version: 1:7.0+45
              <br>
              <br>
              I "apt-get removed" any remaining installed php5 packages
              (php5 is no
              <br>
              longer supported in Debian testing)
              <br>
              <br>
              sudo apt-get install apache2 libapache2-mod-php php
              php-pgsql php-gd
              <br>
              php-curl php-cli php-xml php-sqlite3 sqlite3 php-apcu
              php-intl openssl
              <br>
              php-zip php-mbstring php-bz2
              <br>
              <br>
              <br>
              sudo a2enmod rewrite
              <br>
              <br>
              cd /var/www
              <br>
              sudo tar xvzf ~/SRC/mapbender3-3.0.5.3.tar.gz
              <br>
              sudo mv mapbender3-3.0.5.3/ mapbender3
              <br>
              <br>
              sudo vi mapbender3.conf
              <br>
              ***
              <br>
              Alias /mapbender3 /var/www/mapbender3/web/
              <br>
              <Directory /var/www/mapbender3/web/>
              <br>
               Options MultiViews FollowSymLinks
              <br>
               DirectoryIndex app.php
              <br>
               Require all granted
              <br>
              <br>
               RewriteEngine On
              <br>
               RewriteBase /mapbender3/
              <br>
               RewriteCond %{REQUEST_FILENAME} !-f
              <br>
               RewriteRule ^(.*)$ app.php [QSA,L]
              <br>
              </Directory>
              <br>
              ***
              <br>
              <br>
              sudo a2ensite mapbender3.conf
              <br>
              <br>
              sudo service apache2 reload
              <br>
              <br>
              When I now point my browser to
              <br>
              <br>
              <a class="moz-txt-link-freetext" href="http://localhost/mapbender3/">http://localhost/mapbender3/</a>
              <br>
              <br>
              I get a page with this:
              <br>
              <br>
              register(true); */ require_once
              __DIR__.'/../app/AppKernel.php';
              <br>
              //require_once __DIR__.'/../app/AppCache.php'; $kernel =
              new
              <br>
              AppKernel('prod', false); $kernel->loadClassCache();
              //$kernel = new
              <br>
              AppCache($kernel); $request =
              Request::createFromGlobals(); $response
              <br>
              = $kernel->handle($request); $response->send();
              <br>
              $kernel->terminate($request, $response);
              <br>
              <br>
              When I point it to
              <br>
              <br>
              <a class="moz-txt-link-freetext" href="http://localhost/mapbender3/config.php">http://localhost/mapbender3/config.php</a>
              <br>
              <br>
              I get to the config page, but with apparently a series of
              PHP issues
              <br>
              (see attached screenshot)
              <br>
              <br>
              After having seen an error about date.timezone on
              <br>
<a class="moz-txt-link-freetext" href="http://doc.mapbender3.org/en/book/installation/installation_ubuntu.html">http://doc.mapbender3.org/en/book/installation/installation_ubuntu.html</a>:
              <br>
              <br>
              <br>
              sudo vi /etc/php/7.0/cli/php.ini
              <br>
              sudo vi /etc/php/7.0/apache2/php.ini
              <br>
              <br>
              ***
              <br>
              date.timezone = Europe/Brussels
              <br>
              ***
              <br>
              <br>
              sudo service apache2 restart
              <br>
              <br>
              <a class="moz-txt-link-freetext" href="http://localhost/mapbender3/config.php">http://localhost/mapbender3/config.php</a>
              <br>
              <br>
              => same result
              <br>
              <br>
              <br>
              <br>
              <br>
              _______________________________________________
              <br>
              Mapbender_users mailing list
              <br>
              <a class="moz-txt-link-abbreviated" href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a>
              <br>
              <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapbender_users">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a>
              <br>
            </blockquote>
            <br>
            --
            <br>
            Ps.: bitte beachten Sie die Möglichkeit den Schriftverkehr
            mit meinem
            <br>
            public-PGP-key zu schützen:
            <br>
<a class="moz-txt-link-freetext" href="http://pool.sks-keyservers.net/pks/lookup?op=vindex&search=frederik+haefker">http://pool.sks-keyservers.net/pks/lookup?op=vindex&search=frederik+haefker</a>
            <br>
            <br>
            <br>
            *****************************************************
            <br>
            INTERGEO 2016
            <br>
            11.- 13. Oktober 2016 in Hamburg
            <br>
            Treffen Sie die WhereGroup in Halle A4, Stand B4.028
            <br>
            <a class="moz-txt-link-abbreviated" href="http://www.intergeo.de">www.intergeo.de</a>
            <br>
            *****************************************************
            <br>
            <br>
            Frederik Haefker
            <br>
            WhereGroup GmbH & Co. KG
            <br>
            Eifelstraße 7
            <br>
            53119 Bonn
            <br>
            Germany
            <br>
            <br>
            Fon: +49 (0)228 / 90 90 38 - 0
            <br>
            Fax: +49 (0)228 / 90 90 38 - 11
            <br>
            <br>
            PGP Key:
            <br>
<a class="moz-txt-link-freetext" href="http://pool.sks-keyservers.net/pks/lookup?op=vindex&search=frederik+haefker">http://pool.sks-keyservers.net/pks/lookup?op=vindex&search=frederik+haefker</a>
            <br>
            <br>
            <br>
            <a class="moz-txt-link-abbreviated" href="mailto:frederik.haefker@wheregroup.com">frederik.haefker@wheregroup.com</a>
            <br>
            <a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>
            <br>
            Amtsgericht Bonn, HRA 6788
            <br>
            -------------------------------
            <br>
            Komplementärin:
            <br>
            WhereGroup Verwaltungs GmbH
            <br>
            vertreten durch:
            <br>
            Olaf Knopp, Peter Stamm
            <br>
            -------------------------------
            <br>
            <br>
            <br>
            <br>
            _______________________________________________
            <br>
            Mapbender_users mailing list
            <br>
            <a class="moz-txt-link-abbreviated" href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a>
            <br>
            <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapbender_users">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a>
            <br>
            <br>
          </blockquote>
          <br>
          <br>
        </blockquote>
        <br>
        <br>
        _______________________________________________
        <br>
        Mapbender_users mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a>
        <br>
        <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapbender_users">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a>
        <br>
      </blockquote>
      <br>
      _______________________________________________
      <br>
      Mapbender_users mailing list
      <br>
      <a class="moz-txt-link-abbreviated" href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a>
      <br>
      <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapbender_users">http://lists.osgeo.org/mailman/listinfo/mapbender_users</a><br>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 

Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

********************************************
Where2B Konferenz 2016
15. Dezember 2016 in Bonn
<a class="moz-txt-link-abbreviated" href="http://www.where2b-conference.com">www.where2b-conference.com</a>
******************************************** 

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

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

 <a class="moz-txt-link-abbreviated" href="mailto:astrid.emde@wheregroup.com">astrid.emde@wheregroup.com</a>
 <a class="moz-txt-link-abbreviated" href="http://www.wheregroup.com">www.wheregroup.com</a>

 Folgen Sie der WhereGroup auf twitter: <a class="moz-txt-link-freetext" href="http://twitter.com/WhereGroup_com">http://twitter.com/WhereGroup_com</a>

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