[vz-dev] vz auf 1&1-Webserver ?

Klaus Reichenecker kr at kr123.de
Thu Jan 19 20:30:24 CET 2012


so langsam scheint es was zu werden, ich habe es jetzt geschafft, die 
einzelnen Tabellen in der Datenbank anzulegen
(über das 1&1 Web- phpmyadmin-Interface, die Einträge aus entities, 
properties und data über SQL-Befehle rein kopiert)

So ganz geht es aber immer noch nicht, ich bekomme zwar das Frontend zu 
sehen, aber erst mal steht da "nothing to plot", dann wenn ich z.B. versuche 
einen Kanal hinzuzufügen, kommt "Javascript Runtime Error - Für die 
Eigenschaft "each" kann kein Wert abgerufen werden: Das Objekt ist Null oder 
undefiniert"

Ich denke ich habe noch was in der volkszaehler.conf falsch, mag mal jemand 
darüber schauen ?

was mir vor allem unklar ist:

- bei database server muss ich schon die Adresse angeben ? localhost wäre in 
dem fall ja wohl falsch ?
- was ist der Unterschied zwischen user und admin-user ? ist es korrekt das 
ich da das Gleiche angebe ?


Grüße

Klaus



<?php

/**

* Configuration template

*

* You should use this file to obtain your custom configuration

* new parameters should be documented

*

* @copyright Copyright (c) 2011, The volkszaehler.org project

* @author Steffen Vogel <info at steffenvogel.de>

* @package default

* @license http://www.opensource.org/licenses/gpl-license.php GNU Public 
License

*/

/*

* This file is part of volkzaehler.org

*

* volkzaehler.org is free software: you can redistribute it and/or modify

* it under the terms of the GNU General Public License as published by

* the Free Software Foundation, either version 3 of the License, or

* any later version.

*

* volkzaehler.org is distributed in the hope that it will be useful,

* but WITHOUT ANY WARRANTY; without even the implied warranty of

* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

* GNU General Public License for more details.

*

* You should have received a copy of the GNU General Public License

* along with volkszaehler.org. If not, see <http://www.gnu.org/licenses/>.

*/

/**

* @var string PDO driver for Doctrine DBAL

* @link 
http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en#getting-a-connection:driver

*/

$config['db']['driver'] = 'pdo_mysql';

/**

* @var string hostname of database server. Use 'localhost' for the machine 
your webserver is running on.

* @link 
http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en

*/

$config['db']['host'] = 'db12345678.db.1and1.com';

/**

* @var string username for the database server

* @link 
http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en

*/

$config['db']['user'] = 'dbo12345678';

/**

* @var string password for the database server

* @link 
http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en

*/

$config['db']['password'] = 'sagichnicht';

/**

* @var string database name

* @link 
http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en

*/

$config['db']['dbname'] = 'db12345678';

/**

* For administration tasks (used by doctrine cli and the setup script)

* the following $['db']['admin'] settings will be merged with $config['db']

*/

//$config['db']['admin']['user'] = 'dbo12345678';

//$config['db']['admin']['password'] = 'sagichnicht';

/**

* @var string path of the sqlite database

* @link 
http://www.doctrine-project.org/projects/dbal/2.0/docs/reference/configuration/en

*/

//$config['db']['path'] = 'volkszaehler';

/**

* Vendor libs

* Set to NULL to use PHP's include path

* @var string path to vendor libs

* @link http://www.php.net/manual/en/ini.core.php#ini.include-path

*/

//$config['lib']['doctrine'] = VZ_DIR . '/lib/vendor/Doctrine';

//$config['lib']['jpgraph'] = VZ_DIR . '/lib/vendor/JpGraph';

/**

* @var string timezone for the middleware

* @link http://www.php.net/manual/de/timezones.php

* @link 
http://www.php.net/manual/de/datetime.configuration.php#ini.date.timezone

*/

//$config['timezone'] = 'Europe/Berlin';

/**

* @var string Locale used for regular expressions

* @link http://php.net/manual/de/function.setlocale.php

*/

$config['locale'] = array('de_DE', 'en_US', 'C');

/**

* @var array of colors for plot series

*/

$config['colors'] = array('#83CAFF', '#7E0021', '#579D1C', '#FFD320', 
'#FF420E', '#004586', '#0084D1', '#C5000B', '#FF950E', '#4B1F6F', '#AECF00', 
'#314004');

/**

* @var boolean disables some optimizations. Only use it when you exactly 
know what you are doing.

*/

$config['devmode'] = FALSE;

/**

* @var integer set to > 0 to show debugging messages

*/

$config['debug'] = 0;

?>



More information about the volkszaehler-dev mailing list