[Mapbender-users] MB3.0.5.1 app.php HTML-Ansicht

Manns, Marc Marc.Manns at remscheid.de
Mon Aug 31 23:53:37 PDT 2015


Hallo Ivo,

wenn die Startseite nur als reines HTML dargestellt wird, 
ist die Wahrscheinlichkeit hoch, dass das Stylesheet/JavaScript nicht richtig geladen wird.
Versuche mal die .css Datei (im app_dev Modus) im Browser aufzurufen
(siehe link im Seitenquelltext).
Falls dabei was schief läuft  bekommst Du eine Symfony-Fehlermeldung.
Die kann schon mal ein wenig aussagekräftiger sein.
(mit der Einstellung use_controller: true sollte es aber grundsätzlich funktionieren)

Du könnest auch noch folgendes versuchen:
1. Assets (javascript und css) neu verteilen per:  
    A: => app/console assets:install web
    oder 
    B:=> app/console assets:install web --symlink --relative

    ==> B funktioniert natürlich nur wenn deine Apache Konfiguration auch symbolische Links zulässt.
    
2. Den Cache leeren/löschen.
    Das Sicherste ist, die Verzeichnisse dev und prod 
    unter: app/cache 
    komplett zu loschen.
  

Gruß Marc

-----Ursprüngliche Nachricht-----
Von: mapbender_users-bounces at lists.osgeo.org [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag von ivo
Gesendet: Montag, 31. August 2015 15:07
An: Mapbender_users at lists.osgeo.org
Betreff: [Mapbender-users] MB3.0.5.1 app.php HTML-Ansicht

Hallo Zusammen,

ich wollte mal wieder die neu Verion ausprobieren, dabei ist mir aufgefallen, dass bei mir die Startseite nur als "einfache Html-Darstellung"
mit eingeschränkten Funtionen angezeigt wird, selbst wenn ich den Parameter /use_controller:/ in der config.yml auf false oder wieder zurück auf true setze, es bleibt bei der Html-Darstellung (siehe Bild, Ansicht bei http://localhost/mapbender3/app.php und http://localhost/mapbender3/app_dev.php ist gleich) <http://osgeo-org.1560.x6.nabble.com/file/n5221936/app.png>  

Beim Aufruf von http://localhost/mapbender3/app_test.php kommt folgende
Fehlermeldung:
"/An exception occurred while executing 'SELECT m0_.id AS id0, m0_.title AS title1, m0_.slug AS slug2, m0_.description AS description3, m0_.template AS template4, m0_.published AS published5, m0_.screenshot AS screenshot6, m0_.extra_assets AS extra_assets7, m0_.updated AS updated8, m0_.custom_css AS custom_css9 FROM mb_core_application m0_ ORDER BY m0_.title ASC':

SQLSTATE[HY000]: General error: 1 no such table: mb_core_application
500 Internal Server Error - DBALException
1 linked Exception:
    PDOException »/ "

Logs:
"/21. CRITICAL - Uncaught PHP Exception Doctrine\DBAL\DBALException: "An exception occurred while executing 'SELECT m0_.id AS id0, m0_.title AS title1, m0_.slug AS slug2, m0_.description AS description3, m0_.template AS template4, m0_.published AS published5, m0_.screenshot AS screenshot6, m0_.extra_assets AS extra_assets7, m0_.updated AS updated8, m0_.custom_css AS custom_css9 FROM mb_core_application m0_ ORDER BY m0_.title ASC':
SQLSTATE[HY000]: General error: 1 no such table: mb_core_application" at C:\ms4w\Apache\htdocs\mapbender3\vendor\doctrine\dbal\lib\Doctrine\DBAL\DBALException.php
line 91/" 

Kann mir jemand weiterhelfen?
Vielen Dank schon einmal.

Ivo





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/MB3-0-5-1-app-php-HTML-Ansicht-tp5221936.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


More information about the Mapbender_users mailing list