<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>