Register | Log in | Password |

365 projects | 71 services | 215 websites | 1073 freelancers | 2755 topics | advertise


Purchase JoomlaWatch:
30 day money-back guarantee
Read more...
9 EUR lifetime license
Buy Now

15 EUR lifetime license
Buy Now
(nofollow link from sponsors page)

Login:

23.4%United States United States
15.4%India India
7.3%Russian Federation Russian Federation
7.1%Colombia Colombia
6.1%Germany Germany
5.2%United Kingdom United Kingdom
4.4%Poland Poland
3.5%Netherlands Netherlands
3.1%France France
2.9%Canada Canada

Today: 116
Yesterday: 1413
This Week: 8179
Last Week: 10267
This Month: 4819
Total: 28133

Users

Most active users today from total of 8:
mlewis, Gomjerk, swaffel, specialone, leoaraujo, hanji, Denclub, fddeltenre
About JoomlaWatch:
JoomlaWatch is popular joomla visitor tracking and live stats component. It provides several features such as spam blocking, goals tracking, charts, nightly email reports, latest visit map, interactive HTML5 traffic flow graph and many other useful functionalities, which will help you to optimize your site.
RSS Feeds:

rss Freelance
rss Projects
rss Forum
rss Resources

Home
Welcome, Guest
Please Login or Register.    Lost Password?

JoomlaWatch only logs index.php [solved]
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: JoomlaWatch only logs index.php [solved]
#359
JoomlaWatch only logs index.php [solved] 4 Years ago Karma: 0
I've installed JoomlaWatch yesterday and i've run into a problem.
mod_joomlawatch is published on all pages, but the logs only seem to show hits to index.php. This makes it impossible to find out what pages or sections on my site are the most popular.

Could it me that Joomla's own sef/seo (not sure about the name) gets in the way? In a browser, my URLs look like this :
www.WEBSITE.com/content/blogcategory/21/89/
www.WEBSITE.com/component/option,com_seyret/Itemid,91/
(Note that www.website.com is just a placeholder URL because i don't want to spam.)
I can not disable this feature because people have linked to some of my articles and i don't want those links to die.

I would love to see the URLs of the pages that people (and bots) really visited to be displayed in the logs. Is there a way to make this happen?

Post edited by: matto, at: 2008/01/16 03:57<br><br>Post edited by: matto, at: 2008/01/29 02:40
sparky (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#360
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 24
Hmm.. it's strange. Do you use Apache as a web server ? Provide please some further system info.

Regards,

Matto
matto (Admin)
Moderator
Posts: 705
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#362
Re:JoomlaWatch only logs index.php 4 Years ago  
Same issue. It shows the latest visitors section, it shows the full &quot;page&quot;, but under the stats section, it only shows index.php as the page loaded.
fpccsvb (Visitor)

The administrator has disabled public write access.
 
#363
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 24
Hmm.. strange.. do you use some mod_rewrite or some SEO-positive settings?
It's strange that one part shows page correctly and other does not.

Any further info about your system configuration will be appreciated.
matto (Admin)
Moderator
Posts: 705
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#364
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 0
Some of the system info that i dug from Joomla:

Joomla! 1.0.13
Apache/1.3.37 (Unix) using modules mod_throttle/mod_fastcgi/mod_gzip/mod_ssl
PHP 4.4.7
MySQL 5.0.16

Joomla's own SEO (Site =&gt; Global Configuration =&gt; SEO) is enabled.

Off the top of my head, i wouldn't know what else i can tell about the system.
sparky (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#365
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 24
These are parameters that URI information is taken from:
$redirURI = @ $_SERVER['REDIRECT_URL'];
$uri = @ $_SERVER['REQUEST_URI'];

so maybe try to do kind of a test. into your template file /templates/template_name/index.php

insert this piece of code:

&lt;?php print_r($_SERVER); ?&gt;

This should dump server parameters and try to find the URI there, maybe it has different key in your case.
Once you identified that key, use it instead of REDIRECT_URL or REQUEST_URI in JoomlaWatch source codes.

That's all I can suggest about this strange problem.

Regards,

Matej Koval
matto (Admin)
Moderator
Posts: 705
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#366
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 0
I did as you suggested and requested the server parameters.

[REDIRECT_URL] =&gt; /index.php
[REQUEST_URI] =&gt; /index.php?option=com_content&amp;task=view&amp;id=18&amp;Itemid=33

In mod_joomlawatch, line 28, it looks like that's where the value of the variable containing the path gets replaced with '/index.php' which then gets inserted into the DB.
I hope this makes some kind of sense, because i am not very skilled in PHP.

Here are what i think may be some other relevant parameters:

[PATH_TRANSLATED] =&gt; /home/johnnie/WEBSITE.com/index.php
[HTTP_REFERER] =&gt; www.WEBSITE.com/content/category/4/15/33/
[SCRIPT_URI] =&gt; www.WEBSITE.com/content/view/18/33/
[SCRIPT_URL] =&gt; /content/view/18/33/
[QUERY_STRING] =&gt; option=com_content&amp;task=view&amp;id=18&amp;Itemid=33

I hope this helps making JoomlaWatch even better.
sparky (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#368
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 24
Great !

I'll have a look at it tomorow in the morning. Meanwhile you can try to replace old attributes with those that work in your case.
matto (Admin)
Moderator
Posts: 705
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#369
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 0
As a first attempt and to find out if it made any difference, i've switched the values for $uri and $redirURI and the weird thing is, that works now!

Once i thought about it, this is what used to happen:

Code:

$redirURI = /index.php
$uri = /index.php?option=com_joomlaboard&amp;Itemid=8



The next line makes both values equal to eachother with this code
Code:

$uri = $redirURI


This changes the values to:

Code:

$redirURI = /index.php
$uri = /index.php



So now i've changed the lines that say $uri = $redirURI so that it says $redirURI = $uri and now i see the full URLs in the logs.

I do not know if this is the best way to do this stuff, but for the moment, it seems to work.
However, the URL after the link... I'd rather see the page title there, if i had any idea how that could be done, i would probably have tried to implement it. But perhaps that's something for the feature request topic...
sparky (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#385
Re:JoomlaWatch only logs index.php 4 Years ago  
I too have the same problem: www.passion-tortue.com/joomlawatch.jpg

What do we finally have me do to solve the problem?
Thank you
Me too; i have the same probleme (Visitor)

The administrator has disabled public write access.
 
#387
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 24
Hi there,
I made an experiment, and inserted a fix for index.php

$redirURI = @ $_SERVER['REDIRECT_URL'];
$uri = @ $_SERVER['REQUEST_URI'];

if (@ $redirURI &amp;&amp; @ $redirURI != &quot;/index.php&quot;)
$uri = $redirURI;

you can test it by downloading the &quot;fixed&quot; .zip file from:

www.codegravity.com/install/JoomlaWatch-...nzipFirst.urifix.zip

When this will work, I'll make this archive the official one, so please test it.

Thank you
matto (Admin)
Moderator
Posts: 705
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#390
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 0
Hey Matto,

It looks like your fix works beautifully! It's working here ayway.
Thanks for the fix!!!
sparky (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#394
Re:JoomlaWatch only logs index.php 4 Years ago  
I installed everything. But unfortunately it still does not work.

I use a template yootheme - Season.

And my setup is this: www.passion-tortue.com/php-configuration.html

I hope that this can help you to solve the problem.
Thank you

Philippe
Philippe (Visitor)

The administrator has disabled public write access.
 
#395
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 24
Philippe,
please do what I suggested:


so maybe try to do kind of a test. into your template file /templates/template_name/index.php

insert this piece of code:

&lt;?php print_r($_SERVER); ?&gt;

This should dump server parameters and try to find the URI there, maybe it has different key in your case.
Once you identified that key, use it instead of REDIRECT_URL or REQUEST_URI in JoomlaWatch source codes.

That's all I can suggest about this strange problem.


and post your result here, otherwise I'm not able to figure out what's the problem in your case.

Thanks,

Matto
matto (Admin)
Moderator
Posts: 705
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#396
Re:JoomlaWatch only logs index.php 4 Years ago  
Ok, but where to put it into the page. Because this gives me errors.

Where is this page : www.passion-tortue.com/index.php.html

Thank you !
Philippe (Visitor)

The administrator has disabled public write access.
 
#397
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 24
for example right before your

&lt;/body&gt;

&lt;/html&gt;

tags...

just insert it like this:


&lt;?php print_r($_SERVER); ?&gt;

&lt;/body&gt;

&lt;/html&gt;

and it should list all the parameters (just browse your website normally)
matto (Admin)
Moderator
Posts: 705
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#399
Re:JoomlaWatch only logs index.php 4 Years ago  
Ok, I just understand what you asked me. I am sorry but I do not speak English, and I use the Google translator.

Now, what I find at the top :

Code:

Array ( [PATH] =&gt; /usr/local/bin:/usr/bin:/bin [DOCUMENT_ROOT] =&gt; /home.10.29/passionth/www [GEOIP_AREA_CODE] =&gt; 0 [GEOIP_CITY] =&gt; Nostang [GEOIP_COUNTRY_CODE] =&gt; FR [GEOIP_COUNTRY_NAME] =&gt; France [GEOIP_DMA_CODE] =&gt;  0 [GEOIP_LATITUDE] =&gt; 47.750000 [GEOIP_LONGITUDE] =&gt; -3.183300 [GEOIP_REGION] =&gt; A2 [HTTP_ACCEPT] =&gt; image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/ xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_ACCEPT_ENCODING] =&gt; gzip, deflate [HTTP_ACCEPT_LANGUAGE] =&gt; fr [HTTP_CONNECTION] =&gt; Keep- Alive [HTTP_COOKIE] =&gt; __utma=220556057.42334130.1200771895.1201161309.1201191142.13; __utmz=220556057.1201191142.13.14.utmccn=(organic)|utmcsr=google|utmctr=tortue|utmcmd=organic; __utmb=220556057; __utmc=220556057;  5dfae14fe96d12995c108621e1ec7c6e=8bc033d35d148203fa0cbc6ae8cba031; mosvisitor=1; com_jw_fpss=true [HTTP_HOST] =&gt; www.passion-tortue.com [HTTP_REFERER] =&gt; http://www.passion-tortue.com/terrestre/amenagement/terrarium [HTTP_UA_CPU] =&gt;  x86 [HTTP_USER_AGENT] =&gt; Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [REDIRECT_STATUS] =&gt; 200 [REDIRECT_URL] =&gt; /home.10.29/passionth/www/ index.php [REGISTER_GLOBALS] =&gt; 0 [REMOTE_ADDR] =&gt; 81.53.147.25 [REMOTE_PORT] =&gt; 49396 [SCRIPT_FILENAME] =&gt; /home.10.29/passionth/www/index.php [SCRIPT_URI] =&gt; http://www.passion-tortue.com/accueil [SCRIPT_URL] =&gt; / accueil [SERVER_ADDR] =&gt; 213.186.33.2 [SERVER_ADMIN] =&gt; postmaster@www.passion-tortue.com [SERVER_NAME] =&gt; www.passion-tortue.com [SERVER_PORT] =&gt; 80 [SERVER_SOFTWARE] =&gt; Apache [GATEWAY_INTERFACE] =&gt; CGI/1.1 [SERVER_PROTOCOL] =&gt;  HTTP/1.1 [REQUEST_METHOD] =&gt; GET [QUERY_STRING] =&gt; option=com_content&amp;task=view&amp;id=13&amp;Itemid=47 [REQUEST_URI] =&gt; /index.php?option=com_content&amp;task=view&amp;id=13&amp;Itemid=47 [SCRIPT_NAME] =&gt; /home.10.29/passionth/www/ index.php [PHP_SELF] =&gt; /home.10.29/passionth/www/index.php [argv] =&gt; Array ( ) [argc] =&gt; 0 ) 


Thanks for your help
Philippe
Philippe (Visitor)

The administrator has disabled public write access.
 
#400
Re:JoomlaWatch only logs index.php 4 Years ago  
And please I would like you to give me the contents of the file mod_joomlawatch.php corrected for my own site. For I am new to php.

Thank you
Philippe (Visitor)

The administrator has disabled public write access.
 
#404
Re:JoomlaWatch only logs index.php 4 Years ago Karma: 24
Me and Philippe have had an e-mail conversation about that, and concusion to this issue is, that he downloaded the version 1.2.0 update from 27.1.2008, and he changed newly introduced parameter:
define('JOOMLAWATCH_SERVER_URI_KEY', 'REDIRECT_URL');

into:

define('JOOMLAWATCH_SERVER_URI_KEY', 'SCRIPT_URL');

in /components/com_joomlawatch/config.php

So, if anyone has the same problem, he can try to do the same.<br><br>Post edited by: matto, at: 2008/01/29 02:39
matto (Admin)
Moderator
Posts: 705
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1

no license?

Recommended: (advertise)
Joomlawatch 1.2.17 Demo (PRO: 9/15 EUR)
Download Joomlawatch 1.2.17 (PRO: 9/15 EUR)

Rate this extension ...


Stay in touch:

New article about JoomlaWatch Live Stats feature: (link)
14 hours ago from web

Tested versions 1.2.12 FREE, 1.2.17 PRO, 1.2.18 BETA on Joomla 2.5 and older Joomla 1.5 - confirmed to work on both Joomla versions

Small installer fixes - added JoomlaWatch compatibility with Joomla 2.5

New article on JoomlaWatch Traffic Flow feature: (link) ... All features of JoomlaWatch will be documented this way.

Another minor fixes for version 1.2.17 and 1.2.18, added functionality to display only changed values in SEO report - important keyprases
2 weeks ago from web

Minor fixes for JoomlaWatch version 1.2.17 (language files), you can find the latest package in customer zone ((link)
2 weeks ago from web

If you'd like to help with testing of the latest 1.2.18 BETA with new features (Joomla/Wordpress),please add me on skype: matto3c.Thank you!
3 weeks ago from web

New article on JoomlaWatch SEO (Search Engine Optimization) report functionality - (link)

JoomlaWatch 1.2.18 is out now! Features new click heatmap feature, SEO report - how people find you on google, and many other improvements

Reorganized the menu items. Now you'll be able to easily find most requested links

JoomlaWatch 1.2.18 BETA now ready! Main features: - Heatmap integration - SEO reports - Anti-spam section visualization (link)

Fixed one issue: no unique visits recorded; PHP $_SERVER['REMOTE_ADDR'] doesn't always return remote IP address! using HTTP_X_FORWARDED_FOR

Christmas Special - 19% OFF from all licenses until 25th of December 2011

JoomlaWatch Heatmap functionality nearly done. Works with all client resolutions. Will be available in next version. (link)

Simple customer zone - (link) is now ready. Users who purchased the PRO version can now download newest version from there.

Because of the problems with payments and forwarding. We are using (link) service to deliver you the files after purchase.

Tracking Expenses from SMS android application is now published on android market :) and it's completely free !

(link) user information now protected with UserCrypt 1.1

UserCrypt version 1.1 released: Added query log, jos_users decryption on database interceptor plugin deactivation (link)

Timezone issue now fixed. Tested on canadian server which has hosting in the USA. Also module class suffix parameter now works for J1.7



Partners:
Freelance ColdFusion, Flex, PHP

Olejomalby, abstraktne obrazy

Camping Europe

WinAsm Studio

Vyšné Ružbachy

Sochy, Reštaurovanie

R.E.M.

Valid XHTML 1.0 Transitional

RSS feed:

Statistics:
Search Engine Genie Promotion Widget
Privacy policy | Advertise | Donate

Locations of visitors to this page


©2003-2010 Codegravity.com