vts Fatal error: Class 'phpOpenTracker_Config' not found in

If you've problems with unsupported - non official ;-) - functionalities use this forum please.
Post Reply
reiseflieger
Posts: 8
Joined: Mon 3. Jan 2005, 16:26

vts Fatal error: Class 'phpOpenTracker_Config' not found in

Post 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)
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post 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.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
reiseflieger
Posts: 8
Joined: Mon 3. Jan 2005, 16:26

Post 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.
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

Hallo

ich glaub localhost zählt der phpTracker nicht - but not shure :(
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Neelix
Posts: 80
Joined: Wed 29. Sep 2004, 12:06
Location: España

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

Post 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?
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-
reiseflieger
Posts: 8
Joined: Mon 3. Jan 2005, 16:26

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

Post 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
Neelix
Posts: 80
Joined: Wed 29. Sep 2004, 12:06
Location: España

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

Post 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:
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-
vijay123
Posts: 1
Joined: Fri 5. Jan 2007, 17:01

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