Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] Keyword Show with Admin v1.0


Guest

Recommended Posts

The Keyword Show with Admin v1.0 contribution shows searches to your web site from visitors including yourself. It shows the IP address of the visitor, the time of the visit, the visited URL as well as the keywords used for finding your web site. At the moment the search engines Google, Google Germany, Google France, Google Japan, Other Google search engines, Yahoo, Altavista and Other search engines are differentiated in the script.

 

By registering your own IP address in the configuration you can chose not to show your own searches. By switching off visitors' searches to your site you can chose to show only your own searches for testing purposes etc.

 

The Keyword Show contribution assumes that your server has what is called the Extended Combined Log File Format.

Link to comment
Share on other sites

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 78

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 112

 

Keywords, search from Google

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 117

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 150

 

Keywords, search from Google Germany

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 155

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 188

 

Keywords, search from Google France

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 192

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 227

 

Keywords, search from Google Japan

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 231

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 267

 

Keywords, search from Other Googles

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 271

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 305

 

Keywords, search from Yahoo

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 309

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 342

 

Keywords, search from Altavista

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 346

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 379

 

Keywords, search from Other search engines

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxx.com/httpdocs/store/admin/keyword_show.php on line 384

Link to comment
Share on other sites

got a lot of errors

 

how to fix it?

 

thanks

sean

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 78

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 112

 

Keywords, search from Google

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 117

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 150

 

Keywords, search from Google Germany

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 155

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 188

 

Keywords, search from Google France

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 192

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 227

 

Keywords, search from Google Japan

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 231

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 267

 

Keywords, search from Other Googles

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 271

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 305

 

Keywords, search from Yahoo

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 309

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 342

 

Keywords, search from Altavista

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 346

 

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 379

 

Keywords, search from Other search engines

 

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxx.com/httpdocs/store/admin/keyword_show.php on line 384

Link to comment
Share on other sites

The Keyword Show contribution assumes that your server has what is called the Extended Combined Log File Format.

 

And what is this and how do I know if my server has it?

[no external urls in signatures please, kthanks]

Link to comment
Share on other sites

Sean,

 

Check that the path to your log file is correct, including the name of the log file, in my case the logfile is access-log. And check that it is not a compressed file.

Link to comment
Share on other sites

loxly,

 

I understand that the Combined log file is the most commonly used one so most likely you can use the log file you have on your server.

 

You can open your log file with an editor and if any line of the file looks something like this it is a Combined log file (on one line):

 

127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326 "http://www.example.com/start.html" "Mozilla/4.08 [en] (Win98; I ;Nav)"

 

Here is a line from my own log file with a search from Google (again on one line):

 

203.88.131.238 - - [16/Jun/2003:04:02:17 -0400] "GET /products_new.php HTTP/1.0" 200 26682 "http://www.google.com/search?hl=en&ie=ISO-8859-1&q=fm+receiver&btnG=Google+Search" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)"

 

or with a visit from Googlebot:

 

64.68.82.5 - - [16/Jun/2003:09:00:58 -0400] "GET /robots.txt HTTP/1.0" 200 193 "-" "Googlebot/2.1 (+http://www.googlebot.com/bot.html)"

 

 

There is more to read about this at:

 

http://httpd.apache.org/docs/logs.html#combined

Link to comment
Share on other sites

I get the same errors:

Warning: fgets(): supplied argument is not a valid stream resource in /home/httpd/vhosts/xxxx.com/httpdocs/store/admin/keyword_show.php on line 78  

 

Warning: fclose():

 

this my log but I dont know if its compressed?

/var/log/www/tep/page_parse_time.log

 

Cheers Lee

Link to comment
Share on other sites

Lee,

 

If you can open the log file with your editor and read it so it is understandable it should not be compressed.

 

Also, please check again that your path is correct. You could also

try to set the permission on the log file as well as it's folder to 777.

 

Regards

Link to comment
Share on other sites

Lee,

 

Sorry I did not notice first but this is not the log file you should use.

 

The log file to be used here is normally in a folder on the same level

as your www root directory and should have a name like access-log

or similar. It is part of your server setup, not part of osCommerce.

 

Regards

Link to comment
Share on other sites

Lee,

 

OK, I have seen such log files as well. Should be possible to modify the

script to read also compressed files, let's see when I have some time I

will do it, or if someone can help to do it before me....

 

If you like you can decompress your log and put it back and then read

it from Keyword Show so you can see how it works, at least as a temporary solution.

 

Regards

Link to comment
Share on other sites

  • 4 weeks later...

Hi,

 

Can the visitors email address be captured aswell?

 

If not does anyone know of a contribution that can do this

 

Email address

Time and date

Last URL

 

 

Thanks in advance

Reddy to Rumble

 

Thank you osCommerce and all who Contribute to her!

Link to comment
Share on other sites

  • 1 month later...

Hi, I've installed this contributions, and i get the following errors on keyword search....

 

why i'm i getting these errrors??

 

Warning: gzgets(): supplied argument is not a valid stream resource in /home/rcujazcz/public_html/test/admin/keyword_show.php on line 82



Warning: gzclose(): supplied argument is not a valid stream resource in /home/rcujazcz/public_html/test/admin/keyword_show.php on line 116

 

Keywords, search from Google 



Warning: gzgets(): supplied argument is not a valid stream resource in /home/rcujazcz/public_html/test/admin/keyword_show.php on line 121



Warning: gzclose(): supplied argument is not a valid stream resource in /home/rcujazcz/public_html/test/admin/keyword_show.php on line 154

 

Keywords, search from Google Germany 



Warning: gzgets(): supplied argument is not a valid stream resource in /home/rcujazcz/public_html/test/admin/keyword_show.php on line 159



Warning: gzclose(): supplied argument is not a valid stream resource in /home/rcujazcz/public_html/test/admin/keyword_show.php on line 192

Link to comment
Share on other sites

  • 1 month later...

Well, I was getting the same errors as usmanaa has said, but then I went to forums.cpanel.net and found that the path to raw log files is /usr/local/apache/domlogs/

 

I put that in *Keyword Show (absolute path to your logfile)* in the admin side of osCommerce.

 

Now the error warnings are not coming, but still, there are no log reports.

 

It is plainly visible that I have not put in the raw access log file name ...but my telnet/ssh/cpanel file manager do not show the clickable path to /usr/local/apache/domlogs/ .. I wonder what file name to put in

 

Pls. help asap

Link to comment
Share on other sites

  • 1 year later...

Can't obtain to avoid this error message too :

Warning: gzgets(): supplied argument is not a valid stream resource in /home/virtual/site156/fst/var/www/html/admin/keyword_show.php on line 82

 

Warning: gzclose(): supplied argument is not a valid stream resource in /home/virtual/site156/fst/var/www/html/admin/keyword_show.php on line 116

 

Keywords, search from Google

 

Warning: gzgets(): supplied argument is not a valid stream resource in /home/virtual/site156/fst/var/www/html/admin/keyword_show.php on line 121

 

Etc...

 

I indicates well the path of the log file : /var/log/httpd/access_log given by my server and controled but no matters what I do, I have this error...

 

I have verified all my install and sql but can't find error...

Link to comment
Share on other sites

  • 3 weeks later...
Can't obtain to avoid this error message too :

Warning: gzgets(): supplied argument is not a valid stream resource in /home/virtual/site156/fst/var/www/html/admin/keyword_show.php on line 82

 

Warning: gzclose(): supplied argument is not a valid stream resource in /home/virtual/site156/fst/var/www/html/admin/keyword_show.php on line 116

 

Keywords, search from Google

 

Warning: gzgets(): supplied argument is not a valid stream resource in /home/virtual/site156/fst/var/www/html/admin/keyword_show.php on line 121

 

Etc...

 

I indicates well the path of the log file : /var/log/httpd/access_log given by my server and controled but no matters what I do, I have this error...

 

I have verified all my install and sql but can't find error...

 

 

You need to look at the path of your file. You need to go all the way to the file. HEre is mine:

 

/home/downdogs/logs/downdogsales.biz-Apr-2005.gz

Link to comment
Share on other sites

  • 1 month later...
You need to look at the path of your file. You need to go all the way to the file. HEre is mine:

 

/home/downdogs/logs/downdogsales.biz-Apr-2005.gz

 

I have no more errors but no informations :s

 

my access_log is staying to 0...

I think it's due to my server offering not advanced format but normal one...

Link to comment
Share on other sites

  • 2 months later...

Hello

 

After a long time working on it, I finally get it working. I had the same problems as all of you. In my case was the problem, that the path to my log-file was not working right, even than I thought so.

 

To solve the problem I got with my ftp-programm (like smart FTP) to the log-file, with a right click on your mouse, you can copy the url from the log-file. Take exactly this path in the administration. After I changed this everything was working perfekt. (my path: ftp://web87615:[email protected]/log/access_log)

 

I hope I could help some people and sorry about my english. Greetings from Switzerland.

 

Cyrill

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...