vts Fatal error: Class 'phpOpenTracker_Config' not found in
-
- Posts: 8
- Joined: Mon 3. Jan 2005, 16:26
vts Fatal error: Class 'phpOpenTracker_Config' not found in
habe folgenden Fehler beim Aufruf von vts
Fatal error: Class 'phpOpenTracker_Config' not found in C:\webserver\xampp\htdocs\reisen\include\inc_ext\phpOpenTracker\tmpl\phpot.today.tmpl.php on line 48
In die vts Datenbank wird ebenfalls nichts geschrieben.
Für Hinweise wäre ich sehr dankbar.
Release 1.1-RC4 22-06-2004
Windows 98
PHP Version 5.0.1
Apache/2.0.50 (Win32)
Fatal error: Class 'phpOpenTracker_Config' not found in C:\webserver\xampp\htdocs\reisen\include\inc_ext\phpOpenTracker\tmpl\phpot.today.tmpl.php on line 48
In die vts Datenbank wird ebenfalls nichts geschrieben.
Für Hinweise wäre ich sehr dankbar.
Release 1.1-RC4 22-06-2004
Windows 98
PHP Version 5.0.1
Apache/2.0.50 (Win32)
-
- Posts: 8
- Joined: Mon 3. Jan 2005, 16:26
Re: vts Fatal error: Class 'phpOpenTracker_Config' not found
I foundreiseflieger wrote: Fatal error: Class 'phpOpenTracker_Config' not found in C:\webserver\xampp\htdocs\reisen\include\inc_ext\phpOpenTracker\tmpl\phpot.today.tmpl.php on line 48
Code: Select all
$config = phpOpenTracker_Config::getConfig();
I found the definion in inc_ext/phpOpenTracker/phpOpenTracker/Config.php
It seems to be an missing include/require ?
but
Code: Select all
require POT_INCLUDE_PATH . 'Config.php';
can you add
Code: Select all
echo POT_INCLUDE_PATH . 'Config.php';
Erfahrung ist das, was man besitzt, kurz nach dem es gebraucht wurde.
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
-
- Posts: 8
- Joined: Mon 3. Jan 2005, 16:26
Re: vts Fatal error: Class 'phpOpenTracker_Config' not found
Here ist the message.Neelix wrote:reiseflieger wrote: ...
can you addbefore line 48? and post what you see? maybe an chmod-problem?Code: Select all
echo POT_INCLUDE_PATH . 'Config.php';
POT_INCLUDE_PATHConfig.php
Fatal error: Class 'phpOpenTracker_Config' not found in C:\webserver\xampp\htdocs\reisen\include\inc_ext\phpOpenTracker\tmpl\phpot.today.tmpl.php on line 48
Re: vts Fatal error: Class 'phpOpenTracker_Config' not found
I see: POT_INCLUDE_PATH should be set to you path, where the Config.php strored...reiseflieger wrote: Here ist the message.
POT_INCLUDE_PATHConfig.php
I think the file - with then define('POT_INCLUDE_PATH',...
is not called...
Do you use 1.2.1-DEV? (not testet yet by myself)
In my case (RC4) POT_INCLUDE_PATH => inc_ext/phpOpenTracker/phpOpenTracker/
in the Extension-ROOT are located an file "phpOpenTracker.php" with the call in line #22..#24
Look in the doku4Tracker to the install-notes:
I think you (only) forget to add the vts-part in "phpwcms.php"
Code: Select all
// added by Christian Günther (guenther@emediafabrik.de) for VTS
case "vts":
include_once "./include/inc_ext/phpOpenTracker/phpOpenTracker.php";
$wcsnav["vts"] = "<strong class="navtexta">".$wcsnav["vts"]."</strong>";
...
I hope!
Erfahrung ist das, was man besitzt, kurz nach dem es gebraucht wurde.
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-
Warning: I have no foggiest idea of English/German, but I do
-ha{p}{p}y day/night/dia/noche-