If this is your first visit, check our documentation. To post, register or login.

Supertracker

Started by a_berezin on 5 May 2007, 1:29 PM · Views: 96,875

Results 241 to 260 of 324
28 Mar 2011, 9:49 PM
#241
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Post #241 by rxalex

ScriptJunkie:

  1. Put back the js file you deleted.
  1. Blank pages mean you have a syntax error or corrupted file (which can sometimes happen during upload).
  1. Review the files on your server - do any of them have a 0 byte content? If so, it is corrupted and needs to be reinstalled.
  1. This is an old mod...it may use syntax that has since been deprecated and needs to be updated. For example, users who have PHP5.3 will need to make a fix, as shown in this thread
  1. Take a look in your store's cache folder - there should be debug logs there telling you what the error is and what file is causing the error. Before you can know how to fix the problem, you have to know where it's originating.
  1. If you have multiple debug files to look at and don't know which one is the right one, delete them all, reload the store page to create the error, and then go back and look at the new files that were created as a result.
  1. Check out this tutorial, but ignore the section on installing and using the debugging tool, as this is already installed in ZC139.
  1. Once you've done all this, if you still need help, post the error message from the debug file to the forum. Someone who understands how to interpret them will likely give you the answer or point you in the right direction to figure it out.

Good luck :smile:
Thanks but still getting blank page.. the debugging report is as follows
[28-Mar-2011 16:24:46] PHP Fatal error: Cannot redeclare class supertracker in /home/on233/public_html/dir/includes/classes/supertracker.php on line 15

any help would be appreciated

19 Apr 2011, 8:38 PM
#243
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Post #243 by scriptjunkie

I'm not that well versed in deciphering php error logs. Try searching the entire form for "cannot redeclare class" and see if any threads come up for this or other mods with that error. It might get you pointed in the right direction.

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

20 Apr 2011, 4:56 PM
#244
writeathome avatar

writeathome

New Zenner

Join Date:
Dec 2008
Posts:
50
Plugin Contributions:
0

Post #244 by writeathome

I had a couple errors, but have it working correctly now. Here is what I did to fix each problem:

Error #1 - After installing, my website came up blank. The error log came up as : Cannot redeclare class supertracker in /home/on233/public_html/dir/includes/classes/supertracker.php on line 15

I deleted the install and reinstalled. This fixed it.

Error#2 - Received the following error on the country and last 10 visitors report: 1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation '='
in:
[SELECT COUNT(*) AS count, s.country_code, c.countries_name FROM supertracker s LEFT JOIN countries c ON (c.countries_iso_code_2 = s.country_code) GROUP BY country_code]

I went into PhpMyAdmin, opened the supertracker table, clicked select all, then edit. I changed all the offending "latin1_swedish_ci" to "latin1_general_ci". This fixed it.

Thank you for the tidbits of help I read on this thread so that I could fix these errors.

Kim

21 Apr 2011, 3:57 AM
#245
writeathome avatar

writeathome

New Zenner

Join Date:
Dec 2008
Posts:
50
Plugin Contributions:
0

Post #245 by writeathome

And I spoke too soon. I'm still getting the blank page after reinstalling the mod.

Still getting PHP Fatal error: Cannot redeclare class supertracker in /home2/XXXXXX/public_html/includes/classes/supertracker.php on line 15

The only thing on line 15 is:

class supertracker {

I know absolutely nothing about PHP, but the jscript file seems a little odd. All the other jscript files in the folder have a suffix of .js, whereas this one is named js_supertracker.php. Is this an error?

I'm running PHP 5.2.16.

Any help is greatly appreciated.

Kim

21 Apr 2011, 1:40 PM
#246
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Post #246 by scriptjunkie

I believe this error message is telling you that some other file is trying to call (or declare) the supertracker class for that page. Meaning that two different files are calling the same class (supertracker) for the same page. This is causing a conflict that can't be resolved, and so the fatal error (stop loading page) results.

To resolve the problem, I believe you have to identify all the files that are calling (or declaring) the class (i.e the code that's on line 15) and remove one of them.

I don't have the faintest idea how to advise you re: where to start. I suggest searching the forum for " PHP Fatal error: Cannot redeclare class" and see what comes up. You might find some instructions on how to handle this kind of error.

You could also do a google search on it.

Sorry I couldn't be of more help

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

21 Apr 2011, 1:50 PM
#247
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Post #247 by scriptjunkie

A google search of "cannot redeclare class" brought up this site. See if the info there helps you out a little bit.

To find all the places this class is declared (usually more than once in a single file, but can also be only once in more than one file), try logging in to your ZC admin, and going to tools>>Developer's Toolkit.

Go down to "Look-Up in all Files". In the all files field, select all files. Check "case sensitive" and then in the box, paste in the code from line 15 class supertracker {

See which files that come up that are declaring (calling) this class, or if it's being called more than once in one file.

Armed with that info, you can go to the forum's general support board and start a new thread and provide all the details of your research and request help in fixing it.

Good luck :)

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

22 Apr 2011, 4:20 AM
#248
writeathome avatar

writeathome

New Zenner

Join Date:
Dec 2008
Posts:
50
Plugin Contributions:
0

Post #248 by writeathome

Hi ScriptJunkie,

I've been working on deducing the number of files it could be. I copied this website from another website I created. So, I downloaded supertracker onto the old website. It worked fine.

Then on this website I changed it back to the classic template and the tracker worked fine (or at least it didn't give me a blank page).

So, it's got to be a template file that doesn't exist in the classic template, and that I've changed since copying the website. I've also added about 4 other mods to this website. But I guess if the classic template works fine with those other mods installed, it wouldn't be any files from those mods.

I did the search from the Developer's Tool Kit for "class supertracker" but came up empty except for the original file. Tomorrow I'll be going through my files with a fine tooth comb. I'll let you know what my findings are, as it may help someone else who has the same problem.

Kim

22 Apr 2011, 2:40 PM
#249
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Post #249 by scriptjunkie

Hmm...those are some interesting results....makes me wonder if it's the file itself that's being called more than once. That can happen when two identical javascript files are competing against each other.

Since it only happens with the current template, makes me wonder if the mod and the template have battling js files. I have no idea how to advise on that though.

Your next step might have to be putting all your results into a new thread in the general support forum.

WriteAtHome:

Hi ScriptJunkie,

I've been working on deducing the number of files it could be. I copied this website from another website I created. So, I downloaded supertracker onto the old website. It worked fine.

Then on this website I changed it back to the classic template and the tracker worked fine (or at least it didn't give me a blank page).

So, it's got to be a template file that doesn't exist in the classic template, and that I've changed since copying the website. I've also added about 4 other mods to this website. But I guess if the classic template works fine with those other mods installed, it wouldn't be any files from those mods.

I did the search from the Developer's Tool Kit for "class supertracker" but came up empty except for the original file. Tomorrow I'll be going through my files with a fine tooth comb. I'll let you know what my findings are, as it may help someone else who has the same problem.

Kim

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

10 Jun 2011, 5:35 PM
#250
urgentprog avatar

urgentprog

New Zenner

Join Date:
Jun 2011
Posts:
24
Plugin Contributions:
0

Post #250 by urgentprog

Can I use supertracker outside of zen-cart, like on a portal page if zen-cart is installed in /cart ? Thanks.

24 Jun 2011, 11:54 AM
#251
n_t_r avatar

n_t_r

New Zenner

Join Date:
Mar 2011
Location:
Sydney Australia
Posts:
30
Plugin Contributions:
0

Post #251 by n_t_r

Woodymon:

Are you stating when you go to Reports > Supertracker, the resulting page is blank?

Or are you saying when you select the Reports menu, Supertracker does not appear on the Tools dropdown menu?

Or are you saying something else?

But you are observing Configuration > Super Tracker
just fine and can manage the functions on that admin page ok?

Woody
Hi - i am trying to get this going to. I have installed ST, there are entries in zen_configuration_group and zen_configuration and a zen_supertracker table too. I see the four config options in Configuration, Super Tracker.

I installed supertracker_1-0_Fix_20100414 into ZC v1.3.9h

The issue is i don't see anything under Reports. Where should i start checking?

Many many thanks in advance!

24 Jun 2011, 12:19 PM
#252
n_t_r avatar

n_t_r

New Zenner

Join Date:
Mar 2011
Location:
Sydney Australia
Posts:
30
Plugin Contributions:
0

Post #252 by n_t_r

doh - people if you do this, make sure you install into your admin folder, not the default one if you have changed it!!!!!!

24 Jun 2011, 4:14 PM
#253
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Post #253 by rxalex

I installed it on 1.3.9h but my front end comes out blank...

27 Jun 2011, 4:58 AM
#254
xman888 avatar

xman888

Zen Follower

Join Date:
Jan 2007
Posts:
226
Plugin Contributions:
0

Post #254 by xman888

Hello,

I have used this mod before and love it.

Is the author going to bring out a new version for 1.39h?

Kind regards,
Anthony

12 Jul 2011, 12:48 PM
#255
andy_gs avatar

andy_gs

Zen Follower

Join Date:
Jun 2008
Posts:
187
Plugin Contributions:
0

Post #255 by andy_gs

I want off supertracker, how do i do this?

Andy.

oh dear gurrrddddd.

13 Jul 2011, 3:22 AM
#256
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Post #256 by scriptjunkie

Andy_GS:

I want off supertracker, how do i do this?

Andy.

Uninstall it.

  • In the download pack for this mod, there is an uninstall.sql file.
  • Run it.
  • Look at the read_me for a list of files you uploaded when you installed the mod.
  • Delete them.

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

13 Jul 2011, 8:04 AM
#257
andy_gs avatar

andy_gs

Zen Follower

Join Date:
Jun 2008
Posts:
187
Plugin Contributions:
0

Post #257 by andy_gs

Thanks Script,

a previous developer installed it several years ago, and recently it's started locking up database tables killing our shop.

thanks again, ill take a look

Andy.

oh dear gurrrddddd.

13 Jul 2011, 3:33 PM
#258
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Post #258 by scriptjunkie

Andy_GS:

Thanks Script,

a previous developer installed it several years ago, and recently it's started locking up database tables killing our shop.

thanks again, ill take a look

Andy.

You can go to the "Free Software Addons" link at the top of this page. Once there, search Supertracker. Download the installation pack and have a look at the Read_Me file.

It will tell you which files were originally installed - those are the files you want to delete. It will also contain a file called uninstall.sql - you will want to run it.

Take a look in your database and/or the Supertracker configuration settings in the admin to find out what version you are running.

It's very important that you download the same version pack you have installed so that you get the correct uninstall.sql file and the correct list of installed files.

Back up your store and database before you make the changes.

*Go that extra mile, you never know what's at the end of the road

* Empowerment Sanctuary

30 Aug 2011, 7:53 PM
#259
brooklynartist avatar

brooklynartist

New Zenner

Join Date:
Jan 2011
Location:
Brooklyn
Posts:
75
Plugin Contributions:
0

Post #259 by brooklynartist

Does anyone know what it means when Time On Site (Looking at LAST 10 VISITORS) reads 0hrs 0mins 0 seconds?

Are these real visits? or robots? or some other program?

7 Nov 2011, 6:22 AM
#260
keystoneairsoft avatar

keystoneairsoft

New Zenner

Join Date:
Jun 2010
Posts:
41
Plugin Contributions:
0

Post #260 by keystoneairsoft

Hi all,

Just started to install this and everything seems to be good, however the link in the Readme file to download the flags is no good. I browsed the main site for a download for the flags and nothing available.

Anyone know of a solution or where I can find the flags to install?

Thanks much in advance.