[vz-dev] Volkszaehler installation: Warning: require_once(Doctrine/ORM/ Configuration.php): failed to open stream

Harald Koenig H.Koenig at science-computing.de
Thu Sep 15 18:00:59 CEST 2011


On Sep 12, Willy Verbiest wrote:

> Dear Sirs,
> 
> I'm trying to install the Volkszaehler but after the creation of an empty
> database I get the following error:
> 
> creating database volkszaehler...
> /var/www/volkszaehler.org ~
> PHP Warning:  require_once(Doctrine/ORM/
> Configuration.php): failed to open stream: No such file or directory in
> /var/www/volkszaehler.org/lib/Util/ClassLoader.php on line 123

I just did a new/clean installation using the "install.sh" script 

	https://github.com/volkszaehler/volkszaehler.org/raw/master/misc/tools/install.sh

according to 

	http://wiki.volkszaehler.org/howto/getstarted
	Install-Skript (empfohlene Installationsmethode)

and I run into the same error.


some testing and comparison with my old vz installation showed that this patch
solves at least my php/doctrine problems:

-------------------------------------------------------------------------------
--- /var/www/volkszaehler.org/etc/volkszaehler.conf.php~        2011-09-15 14:36:06.000000000 +0200
+++ /var/www/volkszaehler.org/etc/volkszaehler.conf.php 2011-09-15 14:57:49.000000000 +0200
@@ -85,8 +85,8 @@
  * Set to NULL to use PHP's include path
  * See PHP doc for details: 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';
+$config['lib']['doctrine']                     = VZ_DIR . '/lib/vendor/Doctrine';
+$config['lib']['jpgraph']                      = VZ_DIR . '/lib/vendor/JpGraph';
 
 /**
  * Timezone for the middleware
-------------------------------------------------------------------------------

I'm not sure about the 'jpgraph' path (no idea what this is good for -- but there is
no single version of directory JpGraph on my vz server anyway;)...




Harald Koenig
-- 
"I hope to die                                      ___       _____
before I *have* to use Microsoft Word.",           0--,|    /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen.        <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig                                          \/\/\/\/\/\/\/\/\/
science+computing ag                                    //  /     \\  \
koenig at science-computing.de                            ^^^^^       ^^^^^
-- 
Vorstand/Board of Management:
Dr. Bernd Finkbeiner, Dr. Roland Niemeier, 
Dr. Arno Steitz, Dr. Ingrid Zech
Vorsitzender des Aufsichtsrats/
Chairman of the Supervisory Board:
Philippe Miltin
Sitz/Registered Office: Tuebingen
Registergericht/Registration Court: Stuttgart
Registernummer/Commercial Register No.: HRB 382196 




More information about the volkszaehler-dev mailing list