phpOpenTracker Plugin problem

Having trouble installing serendipity?
Post Reply
baco
Regular
Posts: 5
Joined: Thu Feb 08, 2007 10:24 pm

phpOpenTracker Plugin problem

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: phpOpenTracker Plugin problem

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
baco
Regular
Posts: 5
Joined: Thu Feb 08, 2007 10:24 pm

Re: phpOpenTracker Plugin problem

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: phpOpenTracker Plugin problem

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
baco
Regular
Posts: 5
Joined: Thu Feb 08, 2007 10:24 pm

Finally I found out the problem

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