VTS in phpwcms 1.2.1?
VTS in phpwcms 1.2.1?
Hello.
I have a question: When I follow the howto in vts, some of the lines are not the same as in phpwcms.php . I guess there has been a change in the syntax?
Anyway - for instance:
#
#-----[ FIND ]------------------------------------------
#
$phpinfo_subnavid = "subnavid".randpassword(5);
(and so on...)
Is not there anymore. Where do i paste the text I am to add+ Do I put it after:
if($phpwcms["phpmyadmin"]) {
$subnav .= subnavtextext('phpMyAdmin', 'include/inc_ext/phpMyAdmin/', '_blank', 0);
}
}
break;
Also other places like:
// input content
echo $content["all"];
in the ondex.php does not exist in version 1.2.1
Is the right place to put it before:
// return rendered content
echo $content['page_start'];
echo $content["all"];
echo $content['page_end'];
?
I have a question: When I follow the howto in vts, some of the lines are not the same as in phpwcms.php . I guess there has been a change in the syntax?
Anyway - for instance:
#
#-----[ FIND ]------------------------------------------
#
$phpinfo_subnavid = "subnavid".randpassword(5);
(and so on...)
Is not there anymore. Where do i paste the text I am to add+ Do I put it after:
if($phpwcms["phpmyadmin"]) {
$subnav .= subnavtextext('phpMyAdmin', 'include/inc_ext/phpMyAdmin/', '_blank', 0);
}
}
break;
Also other places like:
// input content
echo $content["all"];
in the ondex.php does not exist in version 1.2.1
Is the right place to put it before:
// return rendered content
echo $content['page_start'];
echo $content["all"];
echo $content['page_end'];
?
Solution found - but vts does not work
Hi.
I found the solution to the problem in another forum.
However - now I get full pages with warnings and errors. I have tried to solve it by putting all to 777, but I get the errors anyway. So I guess that vts just does not work with 1.2.1 anyway.
I solved it with another solution and just pasted a Javascript-line in the main frame in "templates", and it works just fine.
I found the solution to the problem in another forum.
However - now I get full pages with warnings and errors. I have tried to solve it by putting all to 777, but I get the errors anyway. So I guess that vts just does not work with 1.2.1 anyway.
I solved it with another solution and just pasted a Javascript-line in the main frame in "templates", and it works just fine.
Hello Rudi.
No, sorry - I did not solve that since the VTS does not support dev 1.2.1 according to the people behind it.
So I just pasted in a javascript that my Internet provider has so I can access the webstatistics that goes with my account. I put it in the main content part of the template, and it works just fine.
I guess it is just as easy to use any of the webstats solutions that one can download and install from phpresources and similar pages. Only thing is that I have chosen to let it open in a window of its own for now.
Just a temporary solution but it works.
No, sorry - I did not solve that since the VTS does not support dev 1.2.1 according to the people behind it.
So I just pasted in a javascript that my Internet provider has so I can access the webstatistics that goes with my account. I put it in the main content part of the template, and it works just fine.
I guess it is just as easy to use any of the webstats solutions that one can download and install from phpresources and similar pages. Only thing is that I have chosen to let it open in a window of its own for now.
Just a temporary solution but it works.
Rudi wrote:Hi Tomasahl,
did you actually solved your vts problem or what is your pasted javascript all about? Where can I find the script?
Greetings from Germany
Rudi
Hello,
Try this:
http://www.phpwcms.de/forum/viewtopic.p ... t=45#31594
I use VTS in 1.2.1-DEV
Bye, Paul
Ps.:
Try this:
http://www.phpwcms.de/forum/viewtopic.p ... t=45#31594
I use VTS in 1.2.1-DEV
Bye, Paul
Ps.:
Our new 1.2.1-dev site is developed on my PC but when uploded it then I get an this error message in site:
Before the last refresh everiting was OK, but after the last refres, I get the error message. But I suppose, the config is the same. I hope...
What is the problem?
Thx, Paul
Ps.: when I checkd through in VTS admin, have a statistic (in the latest hour also)
Code: Select all
phpOpenTracker Warning: Could not load plugin "search_engines".
What is the problem?
Thx, Paul
Ps.: when I checkd through in VTS admin, have a statistic (in the latest hour also)
I find this function in LoggingEngine.php file, around 199 line(s):Paal wrote:Our new 1.2.1-dev site is developed on my PC but when uploded it then I get an this error message in site:
Before the last refresh everiting was OK, but after the last refres, I get the error message. But I suppose, the config is the same. I hope...Code: Select all
phpOpenTracker Warning: Could not load plugin "search_engines".
What is the problem?
Thx, Paul
Ps.: when I checkd through in VTS admin, have a statistic (in the latest hour also)
Code: Select all
foreach ($plugins as $pluginName) {
if (@include(POT_INCLUDE_PATH . 'LoggingEngine/plugins/' . $pluginName . '.php')) {
$pluginClass = 'phpOpenTracker_LoggingEngine_Plugin_' . $pluginName;
$this->plugins[] = new $pluginClass($parameters);
} else {
phpOpenTracker::handleError(
sprintf(
'Could not load plugin "%s".',
$pluginName
)
);
}
}
Code: Select all
// With this directive you can define the names, separated by commas,
// of plugins for the phpOpenTracker Logging Engine, that should be
// loaded.
$PHPOPENTRACKER_CONFIGURATION['logging_engine_plugins'] = 'search_engines,conversions';
Code: Select all
paloczp@bmp:$ ls -l LoggingEngine
-rw-r--r-- 1 paloczp paloczp 2288 2005-01-21 21:51 Plugin.php
drwxr-xr-x 2 paloczp paloczp 4096 2005-03-30 19:12 plugins
paloczp@bmp:$ ls -l LoggingEngine/plugins/
-rw-r--r-- 1 paloczp paloczp 3782 2005-01-03 13:27 conversions.php
-rw-r--r-- 1 paloczp paloczp 3489 2004-05-23 13:17 search_engines.php
??
SOLVED the problem...
That wouse in plugins dir: .ph ???
mv search_engines.ph search_engines.php
and work without alert...
Thx, Paul
That wouse in plugins dir:
Code: Select all
-rw-r--r-- 1 paloczp paloczp 3694 2005-03-31 11:19 conversions.php
-rw-r--r-- 1 paloczp paloczp 3378 2005-03-31 11:19 search_engines.ph
mv search_engines.ph search_engines.php
and work without alert...
Thx, Paul