New Year 2018 present from CoalaWeb! Get 20% off for the entire month of January. More Info

Traffic FAQ

Before posting in the forum its a good idea to check the information in the extension guide and or here in the frequently asked question section. The FAQ will be expand as questions arise so always check here first to make sure your question hasn't already been answered.

List of Questions

  1. Fatal error: Class 'JControllerLegacy' not found [J2.5]
  2. Fatal error: Class CoalawebtrafficViewControlpanel cannot extend from interface JView [J3.+]
  3. I cannot locate the field to adjust the time zone. Is this field available? [J2.5/J3.+]
  4. Manual GEO upload but com_coalawebtraffic folder empty? [J2.5/J3.+]
  5. Module not displaying correctly after update to V0.1.8 [J2.5/J3.+]
  6. How does the Who Is Online system work?

Fatal error: Class 'JControllerLegacy' not found

Updating Joomla to the latest version will fix this issue. Legacy is a new concept that is mainly used in Joomla 3.0 but also works in the latest 2.5 releases.

Anyone with issue please check your Joomla version under Site/System Information and make sure it's the version below or newer.

Joomla! 2.5.9 Stable [ Ember ] 4-February-2013 14:00 GMT Joomla Platform 11.4.0 Stable [ Brian Kernighan ] 03-Jan-2012 00:00 GMT

Fatal error: Class CoalawebtrafficViewControlpanel cannot extend from interface JView

I think you might have installed the 2.5 version instead of the 3.0 version try uninstalling your current installation (Note: Just uninstall the component and it will take care of the other parts of the extension). Then download and install the version with J30 in the name for example

com_coalawebtraffic-j30-0.1.5-core.zip

I cannot locate the field to adjust the time zone. Is this field available?

The time zone is based on your Joomla installation's "Server Time Zone" which can be found under:

Site -> Global Configuration -> Server or User settings

Instructions

  1. Login to your Joomla back-end (yoursite.com/administrator).
  2. Select "Site" then go to "Global Configuration" from the top menu.
  3. Next select "Server" from the toolbar menu.
  4. Now under "Location Settings" choose your "Server Time Zone" from the drop down menu.
  5. Lastly click "Save".

Manual GEO upload but com_coalawebtraffic folder empty?

I think you might be looking in the wrong location can you check again because if the directory:

administrator/components/com_coalawebtraffic

If this directory is empty then the component wouldn't be functioning at all. I'm 99% sure you are looking in the front end location which is:

components/com_coalawebtraffic
Note: This directory will be empty as there are no front end views for CoalaWeb Traffic.

Once you have found the right location it should have files similar to this including the assets directory. [Figure-1]

Figure-1

Then I recommend using the updated Guide and follow the steps exactly.


Module not displaying correctly after update to V0.1.8

This is due to a restructure where some of the options were moved from the module to the component. This was because there are now statistics displayed in the backend that rely on these setting as well as the front end module.

This should be an easy one to fix:

  1. Open up the save the Component and Module Configuration Options
  2. Then clear your Joomla + Browser Cache.

How does the Who Is Online system work?

I'll explain a bit, in the early days of CoalaWeb Traffic I was using a similar method as Joomla's inbuilt module to display who was online but there is one major issues with that system and it's called sessions. This made the displayed user data very inaccurate as it was being stored for the length of a session as set in the Joomla system configuration.

After unsuccessfully trying to get the old system to be more accurate I decide to move away from that method and created my own which uses Cookies and a Stored IP in a database table. If for example you visit my Demo Site and then check your browser cookies you should find a cwGeoData cookie in the list.

The system will do the following:

  1. Get your IP
  2. Checks if it already exist in the who is online database table.
  3. If it doesn't it will create a cookie and add the IP and date time to the database table.
  4. If it does it will update the date time in the database table.
  5. If more than 10 minutes has passed the database entry will be removed.

The CoalaWeb Traffic module displays the users currently stored in the who is online database table.


Written by Steven Palmer Sunday, 07 April 2013 Posted in Extensions, Traffic

GET IN TOUCH

We will be glad to help you with any general or technical questions.