Support Thread for Supertracker Contribution
#41
Posted 25 August 2005 - 02:31 PM
the NONSSL bit is peculiar to the tep_href_link function of osCommerce. To understand how it works you would have to examine the code for that function (its in /catalog/includes/functions/html_output.php if I recall correctly).
This parameter controls whether the output URL uses the secure, or non-secure form of URL for the link (i.e http://blahblah or https://blahblah). I seem to remember that if you omit the parameter the output defaults to non-secure anyway, so it doesn't matter if you miss it out.
Regards,
Contribs:
http://www.oscommerce.com/community/contributions,1680
http://www.oscommerce.com/community/contributions,1467
http://www.oscommerce.com/community/contributions,1422
#42
Posted 25 August 2005 - 08:05 PM
ok it worked..!
nex problem!
When i want to delete the oldest data and enter the nr. of rows i want to delete i get this error...
1064 - You have an error in your SQL syntax near 'ORDER by tracking_id ASC LIMIT 1' at line 1
DELETE from supertracker ORDER by tracking_id ASC LIMIT 1
[TEP STOP]
any ideas?
thanks
gr.
kasper
#43
Posted 26 August 2005 - 07:50 AM
it works. thank you for this contribution.
it helps me a lot keeping track of visitors
sincerely
Roberto
#44
Posted 26 August 2005 - 08:52 AM
julianpuje, on Aug 25 2005, 08:30 AM, said:
I've done the complete upload again and got a fresh binary GeoIP.dat file from the site. I ftp'd this folder in binary mode and still no luck. Exactly the same error.
Any ideas, thanks.
Julian
Fatal error: error traversing database - perhaps it is corrupt? in /home/julianp/public_html/includes/geoip.inc on line 416
Been through the install many times now with the same error. No idea why it isn't working, has anyone else?
Cheers
Julian
If Life Begins At 40, What ends????
#45
Posted 26 August 2005 - 04:00 PM
elv1s, on Aug 25 2005, 04:05 PM, said:
ok it worked..!
nex problem!
When i want to delete the oldest data and enter the nr. of rows i want to delete i get this error...
1064 - You have an error in your SQL syntax near 'ORDER by tracking_id ASC LIMIT 1' at line 1
DELETE from supertracker ORDER by tracking_id ASC LIMIT 1
[TEP STOP]
any ideas?
thanks
gr.
kasper
Hmm, this is an interesting one - I may have a clue on this, but can I just check how many rows were in the table when you did this and what number you entered (I'm guessing 1, but I want to be sure).
BTW - further posts will only be made in a couple of days as I will be away this weekend.
Regards,
Contribs:
http://www.oscommerce.com/community/contributions,1680
http://www.oscommerce.com/community/contributions,1467
http://www.oscommerce.com/community/contributions,1422
#46
Posted 29 August 2005 - 04:05 PM
First, sorry for my bad english...
Im having a little problem, but I know that this problem is becouse I have a different file stucture, I mean, my url is www.huntingadultflix.com, but I pointed this url to a html page with a warning message becouse I sell adult videos, so www.huintingadultflix.com is ranked #1 referring page becouse most of the customers are landing at my catalog/index.php through that html page.
The thing is that I want to know if its possible to make a modification to the supertracker contrib or to my html file in order to see the referring pages that customers are using to land at www.huntingadultflix.com.
Thank You!
Juan Ugarte
#47
Posted 29 August 2005 - 04:31 PM
jugarte, on Aug 29 2005, 12:05 PM, said:
Thank You!
Juan Ugarte
Hi Juan,
yes, I get the opposite problem - hits on custom pages I use just for myself that I don't want recorded - because I do what I'm about to suggest to you.
Unfortunately, you are using a html file, but if you could change that to a php file (still mostly just plain html in it though), so that you can include a single line of php to include application_top.php, then you should find that the session starts at your doorway page and all the data is then recorded correctly:
include (DIR_WS_INCLUDES . 'application_top.php');
The only other way I can think of doing it is more complicated and involves capturing all the details on the front page and then POSTing them into the subsequent page (index.php), but this involves using php on the front page too, so I guess the first solution would still be the best one.
Regards,
Mark
Contribs:
http://www.oscommerce.com/community/contributions,1680
http://www.oscommerce.com/community/contributions,1467
http://www.oscommerce.com/community/contributions,1422
#48
Posted 29 August 2005 - 04:37 PM
This blank.php could then simply include application_top.php. Not sure if this won't generate error messages for one reason or another as I haven't tried it, and also I don't know if the referrer details, etc, would still be recorded properly, but there must be a solution similar to this that would work.
Regards,
Contribs:
http://www.oscommerce.com/community/contributions,1680
http://www.oscommerce.com/community/contributions,1467
http://www.oscommerce.com/community/contributions,1422
#49
Posted 29 August 2005 - 04:44 PM
#50
Posted 30 August 2005 - 07:51 AM
equilla, on Aug 26 2005, 05:00 PM, said:
BTW - further posts will only be made in a couple of days as I will be away this weekend.
Regards,
Hi there,
well there were about 380 rows in the table and i tried it with 200, 100 and 1. None of them worked..
Thanks again!
gr.
kasper
#51
Posted 30 August 2005 - 12:36 PM
i've downloaded everything and it seems to work, i'm just a little concerned as i can't read the data inside the .dat file, and hope it's not connecting to anywhere and passing on some information from my site to someone...
i'm probably being silly, but i did find a "free" hack somewhere on here before and people posted that it was sending information out to the providers of the code..
hopefully it's just a DB and i'm being paranoid..
Edited by kev@num, 30 August 2005 - 12:37 PM.
#52
Posted 30 August 2005 - 07:00 PM
kev@num, on Aug 30 2005, 08:36 AM, said:
i've downloaded everything and it seems to work, i'm just a little concerned as i can't read the data inside the .dat file, and hope it's not connecting to anywhere and passing on some information from my site to someone...
i'm probably being silly, but i did find a "free" hack somewhere on here before and people posted that it was sending information out to the providers of the code..
hopefully it's just a DB and i'm being paranoid..
Paranoia is good
It's basically just a database which is loaded when the class declared in geoip.inc is called. If there was any "calling home" going on it would be in geoip.inc, rather that the .dat file. If you have a look at that file, you should be able to see how all this works and put your mind at rest.
Regards,
Mark
#53
Posted 30 August 2005 - 07:11 PM
elv1s, on Aug 30 2005, 03:51 AM, said:
well there were about 380 rows in the table and i tried it with 200, 100 and 1. None of them worked..
Thanks again!
gr.
kasper
Kasper,
Do you know what version of MySQL you have?
It could be that it doesn't like the lack of a WHERE condition in the statement. Perhaps you could try giving it one.
...On Line 63 of admin/supertracker.php, change the line to read as follows:-
$del_query = "DELETE from supertracker WHERE tracking_id>0 ORDER by tracking_id ASC LIMIT " . $rows_to_delete;
If that doesn't work I will need to think again once I know what MySQL version you are running, as the supported syntax may be different to later ones.
Regards,
Edited by equilla, 30 August 2005 - 07:12 PM.
Contribs:
http://www.oscommerce.com/community/contributions,1680
http://www.oscommerce.com/community/contributions,1467
http://www.oscommerce.com/community/contributions,1422
#54
Posted 31 August 2005 - 08:03 AM
I`ve installed your contribution.
I`m not quite sure where I went wrong during installation. When I visit
admin/supertracker I see a totally blank page.
Any ideas how to fix this?
Thanks in advance.
Best Regards
Soeren
#55
Posted 31 August 2005 - 08:13 AM
soeren71, on Aug 31 2005, 04:03 AM, said:
I`ve installed your contribution.
I`m not quite sure where I went wrong during installation. When I visit
admin/supertracker I see a totally blank page.
Any ideas how to fix this?
Thanks in advance.
Best Regards
Soeren
Hi Soeren,
are you using and administration modifications, such admin with access levels, etc. If so, I'm just wondering if the page is being blocked in some way because it hasn't been added to your list of allowed pages.
Another possibility is that you are using a browser in which this page doesn't render properly - it was checked in both IE and firefox, but I didn't go beyond that.
If the above draws a blank, perhaps you could PM me with some details so that I can see the problem for myself as I'm shooting slightly in the dark on this one.
Regards,
Contribs:
http://www.oscommerce.com/community/contributions,1680
http://www.oscommerce.com/community/contributions,1467
http://www.oscommerce.com/community/contributions,1422
#56
Posted 31 August 2005 - 08:13 AM
equilla, on Aug 30 2005, 08:11 PM, said:
Do you know what version of MySQL you have?
It could be that it doesn't like the lack of a WHERE condition in the statement. Perhaps you could try giving it one.
...On Line 63 of admin/supertracker.php, change the line to read as follows:-
$del_query = "DELETE from supertracker WHERE tracking_id>0 ORDER by tracking_id ASC LIMIT " . $rows_to_delete;
If that doesn't work I will need to think again once I know what MySQL version you are running, as the supported syntax may be different to later ones.
Regards,
Hi again!
well iīm using MySQL 3.23.57
*****
i will try the code....
and...
iīm sorry doesnīt work...
Error:
1064 - You have an error in your SQL syntax near 'ORDER by tracking_id ASC LIMIT 95' at line 1
DELETE from supertracker WHERE tracking_id>0 ORDER by tracking_id ASC LIMIT 95
[TEP STOP]
any ideas?
thanks
gr.
kasper
#57
Posted 31 August 2005 - 06:34 PM
elv1s, on Aug 31 2005, 04:13 AM, said:
Well, I think that it is your MySQL version that is causing the problem (it was released over 2 years ago). I have read the relevant documentation for the DELETE function, and the above should have worked.....
So, basically there are 2 options - update your MySQL version, or experiment in something like phpmyadmin until you find something that works for your version. Unfortunately I don't have anything that old around to experiment for myself.
Regards,
Contribs:
http://www.oscommerce.com/community/contributions,1680
http://www.oscommerce.com/community/contributions,1467
http://www.oscommerce.com/community/contributions,1422
#58
Posted 31 August 2005 - 06:39 PM
equilla, on Aug 31 2005, 07:34 PM, said:
Well, I think that it is your MySQL version that is causing the problem (it was released over 2 years ago). I have read the relevant documentation for the DELETE function, and the above should have worked.....
So, basically there are 2 options - update your MySQL version, or experiment in something like phpmyadmin until you find something that works for your version. Unfortunately I don't have anything that old around to experiment for myself.
Regards,
Hi again,
well thanks anyway! I know itīs an old version.. but my provider didnīt make the update to a newer version..
So i guess iīve to try and play with the code!
Thanks again man!
gr.
kasper
#59
Posted 31 August 2005 - 11:43 PM
One suggestion, in the next release I would move the geo_flags directory to just images/flags to be consistent with visitors and other contribs that already use the flags.
I do have a question, from what I understand every visitor is logged. So in a site say getting 500+ or 1000+ visitors a day the lines can really add up, How often do you suggest deleting the tables to maintain optimal site performance?
Great work!
Also Purchased (AP) Preselection (cuts this resource hogging query down to nothing) -- Contribution 3294
FedEx Automated Labels -- Contribution 2244
RMA Returns system -- Contribution 1136
Sort Products By Dropdown -- Contribution 4312
Ultimate SEO URLs -- Contribution 2823
Credit Class & Gift Voucher -- Contribution 282
Cross-Sell -- Contribution 5347
#60
Posted 31 August 2005 - 11:57 PM
many thanks for your feedback. I'm getting a few suggestions now and will certainly take them into account in the next release.
In answer to the question you posed, the simple answer is, I don't know. I think perhaps we have to draw on the experience from users of busier stores to gather that information...!
Regards,
Mark









