Page 1 of 1

vts Fatal error: Class 'phpOpenTracker_Config' not found in

Posted: Thu 7. Apr 2005, 13:49
by reiseflieger
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)

Posted: Thu 7. Apr 2005, 16:12
by pico
Hi

die Datei phpOpenTracker.php in
..\include\inc_ext\phpOpenTracker\phpOpenTracker\conf
angepasst? d.h. Datenbank Verbindungseinstellungen.

Wenn Dein Rechner nur lokal läuft oder über NAT an nem Router hängt, wirst du aber keine Zugriffdaten bekommen.

Posted: Thu 7. Apr 2005, 17:32
by reiseflieger
Die Einstellungen in der phpOpenTracker sind richtig.

Zugriffsdaten müsste ich doch aber auch lokal erhalten ( meine eigenen ) oder bin ich auf dem Holzweg. Der Fehler ist noch vorhanden.

Posted: Thu 7. Apr 2005, 17:57
by pico
Hallo

ich glaub localhost zählt der phpTracker nicht - but not shure :(

Re: vts Fatal error: Class 'phpOpenTracker_Config' not found

Posted: Fri 29. Apr 2005, 13:28
by Neelix
reiseflieger 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
I found

Code: Select all

$config = phpOpenTracker_Config::getConfig();
but php don't know the class-defintion!

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';
is in phpOpenTracker.php ... should be OK ...

can you add

Code: Select all

echo POT_INCLUDE_PATH . 'Config.php';
before line 48? and post what you see? maybe an chmod-problem?

Re: vts Fatal error: Class 'phpOpenTracker_Config' not found

Posted: Tue 3. May 2005, 12:48
by reiseflieger
Neelix wrote:
reiseflieger wrote: ...
can you add

Code: Select all

echo POT_INCLUDE_PATH . 'Config.php';
before line 48? and post what you see? maybe an chmod-problem?
Here ist the message.

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

Posted: Tue 3. May 2005, 13:24
by Neelix
reiseflieger wrote: Here ist the message.
POT_INCLUDE_PATHConfig.php
I see: POT_INCLUDE_PATH should be set to you path, where the Config.php strored...

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>";
			...
There is the call "...phpOpenTracker.php" and set the POT_INCLUDE_PATH correct?

I hope! :cry:

Posted: Fri 5. Jan 2007, 17:03
by vijay123
Hi!

I exactly have this issue.


Fatal error: Class 'phpOpenTracker_Config' not found in C:\Program Files\xampp\htdocs\analytics\phpOpenTracker-1.5.2\phpOpenTracker\docs\examples\simple_report\index.php on line 72


Can anybody help me?

I appreciate your help.

Thank you.
Vijay