Page 1 of 1

phpOpenTracker Plugin problem

Posted: Thu Feb 08, 2007 10:34 pm
by baco
Hi,
I've tried for hours to install the plugin phpopentracker without successful. I have installed the phpopentracker plugin and phpopentracker software-API, created table and modify the conf/phpopentracker.
But no stats appears when I use the "simple_report" as example...
Is there somewhere a step-by-step plugin installation?
Where can I find a way to debug or to be sure the plugin well logged to my database?

thanks for help
-damien

Re: phpOpenTracker Plugin problem

Posted: Fri Feb 09, 2007 9:56 am
by garvinhicking
Hi!

Were you able to test if phpOpenTracker itself is properly logging, by using its example scripts?

If the phpOpenTracker works, then we can go further to check why the plugin might not work - but to me it currently sounds as if POT itself is not logging anything...

Best regards,
Garvin

Re: phpOpenTracker Plugin problem

Posted: Fri Feb 09, 2007 10:39 am
by baco
Hi,
Thanks for reply.
You probably right, POT is not able to log to my database... But how to be really sure since the S9Y plugin do not test it...
Can you help me to add a test into this plugin to test the log-in of POT?
(I read an HANDLE-ERROR function into the API ref of POT, how to use this function inside the plugin code (when I save the configuration parameters, for example)?

thanks

-damien
garvinhicking wrote:Hi!

Were you able to test if phpOpenTracker itself is properly logging, by using its example scripts?

If the phpOpenTracker works, then we can go further to check why the plugin might not work - but to me it currently sounds as if POT itself is not logging anything...

Best regards,
Garvin

Re: phpOpenTracker Plugin problem

Posted: Fri Feb 09, 2007 10:52 am
by garvinhicking
Hi!

Sadly I know POT not very well. Maybe you can check a simple test file, the documentation of POT AFAIR descripes how to use a simple dummy logger...

So first try it completely distinct from serendipity on its own.

Regards,
Garvin

Finally I found out the problem

Posted: Sat Feb 10, 2007 12:22 am
by baco
Answer of this problem is to move the phpOpenTracker.php and the directory phpOpenTracker to the {root_of_my_free_host_domain}/include directory.

When the plugin event_phpOpentracker.php try to add to modify the INCLUDE_PATH to add the POT directory it fails.

It is a problem with my french host named FREE.FR.

So I move to the default php.ini INCLUDE path all the source of POT and now everything works!

thanks

-damien