Page 6 of 7
Posted: Sun 1. Aug 2004, 20:54
by shpolbder
I installed mod as said in txt file.
I push WEBSTAT and get this:
Fatal error: Undefined class name 'phpopentracker_config' in /pub/home/shpolbde/cms3/include/inc_ext/phpOpenTracker/phpOpenTracker.php on line 35
What can I do? Help me please.
i need a little love
Posted: Thu 30. Sep 2004, 01:15
by ryanpratt
i cant seem to find this section im runing rc4
am i blind, i found that in the post it says that it has been tested in rc4 ?
Code: Select all
#-----[ OPEN ]------------------------------------------
#
phpwcms.php
#
#-----[ FIND ]------------------------------------------
#
$phpinfo_subnavid = "subnavid".randpassword(5);
$subnav .= '<tr><td align="right" class="subnavinactive"><a href="include/inc_ext/phpMyAdmin/" target="_blank" ';
$subnav .= "onMouseOver=\"".$phpinfo_subnavid.".src='img/subnav/subnav_1.gif'\" onMouseOut=\"".$phpinfo_subnavid.".src='img/subnav/subnav_0.gif'\">";
$subnav .= 'phpMyAdmin</a></td><td><img name="'.$phpinfo_subnavid.'" src="img/subnav/subnav_0.gif" width="15" height="13" border="0"></td></tr>';
}
}
break;

Posted: Thu 30. Sep 2004, 11:14
by jmeyknecht
latest VTS version is running with RC4
ok ?
Posted: Thu 30. Sep 2004, 14:58
by ryanpratt
wher can i get the latest vts
Posted: Thu 30. Sep 2004, 15:07
by jmeyknecht
Posted: Thu 30. Sep 2004, 15:11
by ryanpratt
Thanks

Posted: Thu 30. Sep 2004, 18:27
by pSouper
has anyone got this working with RC4 version 27/8/04 + patches 1,2,3 & 4 ?
infact any 27/8/4 would be reassuring?
if so.. did you encounter any issues?
Posted: Thu 30. Sep 2004, 18:30
by ryanpratt
i have it working in Release 1.1-RC4 22-06-2004
Posted: Thu 30. Sep 2004, 18:37
by pSouper
show off!
no issues i guess?
with all the patches etc?
I am getting an error..
Code: Select all
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/psa/home/vhosts/idealsounds.co.uk/httpdocs/phpwcms_template/inc_script/frontend_init/sample.php:4) in /usr/local/psa/home/vhosts/idealsounds.co.uk/httpdocs/index.php on line 114
Warning: session_register(): Cannot send session cache limiter - headers already sent (output started at /usr/local/psa/home/vhosts/idealsounds.co.uk/httpdocs/phpwcms_template/inc_script/frontend_init/sample.php:4) in /usr/local/psa/home/vhosts/idealsounds.co.uk/httpdocs/include/inc_ext/phpOpenTracker/phpOpenTracker/Container.php on line 70
did you?
would you or anyone have a clue to what this may be or how to fix it?
all help is welcome, all solutions are more so

Posted: Thu 30. Sep 2004, 19:18
by jmeyknecht
hmmm i dunno if it is running in version 27/08/04 with all patches, because i haven't installed it...
with 22/06/04 it is running..
Posted: Thu 30. Sep 2004, 19:30
by ryanpratt
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
phpwcms.php
#-----[ FIND ]------------------------------------------
case "messages": //Messages
switch($p) {
case 0: include_once ("./include/inc_tmpl/message.center.tmpl.php"); break; //Messages Overview
case 1: include_once ("./include/inc_tmpl/message.send.tmpl.php"); break; //New Message
case 2: //Newsletter subscription
if($_SESSION["wcs_user_admin"] == 1) include_once ("./include/inc_tmpl/message.subscription.tmpl.php");
break;
case 3: //Newsletter
if($_SESSION["wcs_user_admin"] == 1) include_once ("./include/inc_tmpl/message.newsletter.tmpl.php");
break;
case 4: //Newsletter subscribers
if($_SESSION["wcs_user_admin"] == 1) include_once ("./include/inc_tmpl/message.subscribers.tmpl.php");
break;
}
break;
#
#-----[ AFTER, ADD ]------------------------------------------
#
// added by Christian G¸nther (guenther@emediafabrik.de) for VTS
case "vts":
switch($p) {
case 0: include_once "./include/inc_ext/phpOpenTracker/tmpl/phpot.total.tmpl.php"; break;
case 1: include_once "./include/inc_ext/phpOpenTracker/tmpl/phpot.currhour.tmpl.php"; break;
case 2: include_once "./include/inc_ext/phpOpenTracker/tmpl/phpot.lasthour.tmpl.php"; break;
case 3: include_once "./include/inc_ext/phpOpenTracker/tmpl/phpot.today.tmpl.php"; break;
case 4: include_once "./include/inc_ext/phpOpenTracker/tmpl/phpot.yesterday.tmpl.php"; break;
case 5: include_once "./include/inc_ext/phpOpenTracker/tmpl/phpot.currweek.tmpl.php"; break;
case 6: include_once "./include/inc_ext/phpOpenTracker/tmpl/phpot.lastweek.tmpl.php"; break;
case 7: include_once "./include/inc_ext/phpOpenTracker/tmpl/phpot.curryear.tmpl.php"; break;
case 8: include_once "./include/inc_ext/phpOpenTracker/tmpl/phpot.lastyear.tmpl.php"; break;
}
break;
this is the only change i had to make to get my instal working from the instal log which is set to a previous version, so this needed to be changed .
hope this helps

Posted: Thu 30. Sep 2004, 20:41
by pSouper
thanks R & J but sadly it has no effect for my installation
ho-hum, I shall plod on with my impending slow torturous death by php

Posted: Thu 30. Sep 2004, 20:44
by jmeyknecht
well, next week, i'm finishing my diploma thesis. then i will have the time to update phpwcms to the latest release with patches and we will know more about using latest vts and latest phpwcms, ok?
Posted: Fri 1. Oct 2004, 10:02
by pSouper
hehe, I feel so old, every one is finishing study at the moment, i finishes sooooo many years ago

Posted: Fri 1. Oct 2004, 11:28
by pSouper
helloe friends,
I have a solution for the VTS within RC4 27/8/4 + p1,p2,p3,p4
do not include any of the index.php stuff. instead create a new script... phpwcms_twmplate/inc_script/frontend_init/vts.php
and copy (in order) all of the content that would otherwise have been placed inside index.php
example: vts.php
Code: Select all
<?php
// Added by Christian Günther | guenther@emediafabrik.de for VTS-MOD
// replace all external URLs with exit.php?url=exit_url
preg_match_all("#<a href=(\"|')http://([^\"']+)(\"|')#i",$content["all"],$content_treffer,PREG_SET_ORDER);
$cnt_anz = count($content_treffer);
for ($i = 0; $i < $cnt_anz; $i++) {
$content["all"] = str_replace($content_treffer[$i][0],"<a href=\"exit.php?url=".urlencode($content_treffer[$i][2])."\"",$content["all"]);
}
require_once ("include/inc_ext/phpOpenTracker/phpOpenTracker.php");
header('P3P: CP="NOI NID ADMa OUR IND UNI COM NAV"');
phpOpenTracker::log();
?>
oon currsory inspection it appears to be working but I have noticed the exit page may not be loging & I have -2 'one time' visitors
hope it work for you guys too.