<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hallo,<br>
    <br>
    ich brauche mal wieder eure Hilfe.<br>
    <br>
    Ich will mit meiner Installation auf meinen Wedspace bei Strato
    umziehen und bin nach dieser Anleitung vorgegangen: <a
      class="moz-txt-link-freetext"
      href="http://wiki.volkszaehler.org/howto/installation_auf_webhoster_2">http://wiki.volkszaehler.org/howto/installation_auf_webhoster_2</a><br>
    <br>
    Ich habe also auf meinem Webspace einen Unterordner "volkszaehler"
    angelegt und alles unterhalb von: /home/pi/volkszaehler.org von der
    SD-Karte meines Raspberry dort hinein kopiert.<br>
    <br>
    Dann habe ich noch die Datenbank vom Raspberry in die Datenbank von
    Strato importiert.<br>
    <br>
    Meine volkszaehler.conf.php auf dem Webspace sieht nun so aus:<br>
    <font color="#3366ff"><br>
      <?php<br>
      <br>
      ...<br>
      <br>
      Â * See Doctrine doc for details:
      <a class="moz-txt-link-freetext"
href="http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en#getting-a-connection:driver">http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en#getting-a-connection:driver</a><br>
      Â */<br>
      $config['db']['driver']    Â Â Â  Â Â Â  Â Â Â  = 'pdo_mysql';<br>
      <br>
      /**<br>
      Â * Hostname of database server<br>
      Â *<br>
      Â * Use 'localhost' for the machine your webserver is running on.<br>
      Â * See Doctrine doc for details:
      <a class="moz-txt-link-freetext"
href="http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en">http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en</a><br>
      Â */<br>
      $config['db']['host']    Â Â Â  Â Â Â  Â Â Â  =
      'rdbms.strato.de';<br>
      <br>
      /**<br>
      Â * Username for the database server<br>
      Â *<br>
      Â * See Doctrine doc for details:
      <a class="moz-txt-link-freetext"
href="http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en">http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en</a><br>
      Â */<br>
      $config['db']['user'] = 'U20xxxxx';<br>
      <br>
      /**<br>
      Â * Password for the database server<br>
      Â *<br>
      Â * See Doctrine doc for details:
      <a class="moz-txt-link-freetext"
href="http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en">http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en</a><br>
      Â */<br>
      $config['db']['password'] = 'xxxxx';<br>
      <br>
      /**<br>
      Â * @var string database name<br>
      Â *<br>
      Â * See Doctrine doc for details:
      <a class="moz-txt-link-freetext"
href="http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en">http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en</a><br>
      Â */<br>
      $config['db']['dbname'] = 'DB2xxxxx';<br>
      <br>
      /**<br>
      Â * @var database connection encoding - should not be changed<br>
      Â *<br>
      Â * See
      <a class="moz-txt-link-freetext"
href="http://stackoverflow.com/questions/13399912/symfony2-charset-for-queries-parameters">http://stackoverflow.com/questions/13399912/symfony2-charset-for-queries-parameters</a><br>
      Â */<br>
      $config['db']['charset']    Â Â Â  Â Â Â  = 'UTF8';<br>
      <br>
      /**<br>
      Â * Administration credentials<br>
      Â *<br>
      Â * For administration tasks (used by doctrine cli and the setup
      script)<br>
      Â * the following $['db']['admin'] settings will be merged with
      $config['db']<br>
      Â */<br>
      $config['db']['admin']['user'] = 'U2xxxxx';<br>
      $config['db']['admin']['password'] = 'xxxx';<br>
      <br>
      /**<br>
      Â * Database aggregation<br>
      Â *<br>
      Â * See misc/tools/aggregation.php for details<br>
      Â */<br>
      $config['aggregation'] = false;<br>
      <br>
      /**<br>
      Â * Path of the SQLite database<br>
      Â *<br>
      Â * See Doctrine doc for details:
      <a class="moz-txt-link-freetext"
href="http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en">http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en</a><br>
      Â */<br>
      //$config['db']['path']    Â Â Â  Â Â Â  Â Â Â  =
      'volkszaehler';<br>
      <br>
      $config['lib']['doctrine'] =
      '/home/strato/www/vi/www.viper1.de/htdocs/volkszaehler/vendor/doctrine/';

      <br>
      <br>
      ...<br>
      <br>
      ?></font><br>
    <br>
    Und meine volkszaehler.conf auf dem Webspace sieht nun so aus:<br>
    <br>
    <font color="#3366ff"># volkszaehler.org default Apache
      configuration<br>
      <br>
      // Alias /volkszaehler.org /usr/share/volkszaehler.org/htdocs<br>
      <br>
      Alias /volkszaehler.org
      /home/strato/www/vi/www.viper1.de/htdocs/volkszaehler/<br>
      <br>
      // <Directory /usr/share/volkszaehler.org><br>
      <Directory
      /home/strato/www/vi/www.viper1.de/htdocs/volkszaehler/><br>
      Â Â Â  Options AllowOverride FileInfo Limit Options Indexes<br>
      Â Â Â  DirectoryIndex index.php<br>
      <br>
      Â Â Â  <IfModule mod_php5.c><br>
      Â Â Â  Â Â Â  AddType application/x-httpd-php .php<br>
      <br>
      Â Â Â  Â Â Â  php_flag magic_quotes_gpc Off<br>
      Â Â Â  Â Â Â  php_flag track_vars On<br>
      Â Â Â  Â Â Â  php_flag register_globals Off<br>
      Â Â Â  Â Â Â  php_value include_path .<br>
      Â Â Â  </IfModule><br>
      <br>
      </Directory></font><br>
    <br>
    Aber beim Aufrufen der Seite kommt immer folgender Fehler:<br>
    <br>
    <font color="#ff0000">500:Internal Server Error<br>
      <span style="font-family: Verdana,Arial,sans-serif; font-size:
        17.6px; font-style: normal; font-variant: normal; font-weight:
        normal; letter-spacing: normal; line-height: normal; text-align:
        start; text-indent: 0px; text-transform: none; white-space:
        normal; widows: 1; word-spacing: 0px; display: inline !
        important; float: none; background-color: rgb(255, 255, 255);">../middleware.php/capabilities.json:</span><br
        style="font-family: Verdana,Arial,sans-serif; font-size: 17.6px;
        font-style: normal; font-variant: normal; font-weight: normal;
        letter-spacing: normal; line-height: normal; text-align: start;
        text-indent: 0px; text-transform: none; white-space: normal;
        widows: 1; word-spacing: 0px; background-color: rgb(255, 255,
        255);">
      <br style="font-family: Verdana,Arial,sans-serif; font-size:
        17.6px; font-style: normal; font-variant: normal; font-weight:
        normal; letter-spacing: normal; line-height: normal; text-align:
        start; text-indent: 0px; text-transform: none; white-space:
        normal; widows: 1; word-spacing: 0px; background-color: rgb(255,
        255, 255);">
    </font>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <span style="color: rgb(34, 34, 34); font-family: Verdana, Arial,
      sans-serif; font-size: 17.6000003814697px; font-style: normal;
      font-variant: normal; font-weight: normal; letter-spacing: normal;
      line-height: normal; orphans: auto; text-align: start;
      text-indent: 0px; text-transform: none; white-space: normal;
      widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px;
      display: inline !important; float: none; background-color:
      rgb(255, 255, 255);"><font color="#ff0000">Unknown middleware
        response</font><br>
      <br>
      Laut der Volkszähler FAQ <a class="moz-txt-link-freetext"
        href="http://wiki.volkszaehler.org/faq">http://wiki.volkszaehler.org/faq</a>
      würde in der volkszaehler.conf.php ein Verweis auf Doctrine
      fehlen weshalb ich dies dort nachgetragen habe:<br>
    </span><br>
    <font color="#3366ff">$config['lib']['doctrine'] =
'/home/strato/www/vi/www.viper1.de/htdocs/volkszaehler/vendor/doctrine/';</font><br>
    <br>
    Leider ist der Fehler immer noch da und wenn man den Wekklickt
    Ã¶ffnet sich zwar die Seite aber sobald man einen Kanal hinzufügen
    will kommen nur JAVA RUNTIME errors und der oben schon aufgeführte
    500:Internal Server Error mit unterschiedlichen
    ../middelware.php/xxx fehlern.<br>
    <br>
    Hat einer von euch eine Idee was ich falsch gemacht habe???<br>
    <br>
    Gruß,<br>
    <br>
    Andre <br>
  </body>
</html>