Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Problem with Unique Visitors since upgrade

steffx
Minted
Posted on Jan 31, '07 at 07:08 am

Hi,

since i upgraded to mint2.0 i have a problem with my unique visitors. Some visitors appear as unique with every hit they make (see image fron Sessiontracker). This happens not only in sessiontracker but also in the Main-Pepper.

You can see it on a screenshot here: pappalatur.at/wp-content/uploads/2007/01/visits.gif

As you can see in the last line, sometimes it works as supposed sometimes not …

steffx

Shaun Inman
Mint/Pepper Developer
Posted on Jan 31, '07 at 03:17 pm

The problem is being caused by the Prank Pepper. I will notify the developer. In the meantime I would uninstall it, (not just disable but uninstall using the Uninstall button in the Preferences.)

I’m having this problem, too, in Session Tracker and I do not have the Prank Pepper installed.

R Mitchell
Third-Party Pepper Developer
Posted on Feb 01, '07 at 08:35 am

I don’t think this is exclusively a Prank problem. If it has to do with the closing ?> in the pepper’s php, then all third-party peppers I have installed could cause this issue. I removed the closing ?> and any extra spaces at the end of all of the php files for third-party peppers and logged out and back in and things appear to be functioning properly now. We’ll see…

I think Mitchell may be correct. This is happening in my Crush Pepper at the moment.

So, just to clarify, all I need to do is edit all 3rd party peppers and remove the closing PHP tag and any following white space?

R Mitchell
Third-Party Pepper Developer
Posted on Feb 01, '07 at 10:16 am

This is from a post Shaun made about the pepper Prank in another topic:

“Shokk, the two PHP files in this Pepper both have whitespace after the final closing ?>. This is breaking a number of Mint installs. Anyone experiencing problems staying logged in to Mint or with an equal number of Total and Unique hits should uninstall this Pepper until an update is released.

Shokk, please release an update that omits the final closing ?> in both files. I know it sounds like sloppy coding but it is recommended when dealing with includes (see the note on this page on PHP.net) for this very reason.”

I’m simply guessing from that post that this could be an issue for many third party peppers.

Shaun Inman
Mint/Pepper Developer
Posted on Feb 01, '07 at 10:41 am

Hmm, the Secret Crush Pepper shouldn’t have a closing ?>. Are you using an editor or integrated FTP app that might be tidying up code?

Shaun, you are correct. Secret Crush does not have a closing ?> and I use BBEdit for editing but I have not modified the pepper.

I’m not blaming Secret Crush for the problem. It’s most likely some other 3rd party pepper causing the problem. I plan on reviewing my peppers when I have some free time and hopefully my problems will be resolved.

R Mitchell
Third-Party Pepper Developer
Posted on Feb 01, '07 at 10:57 am

I have Downlogs, Referrers, Session Tracker, Sparks!, and XXX Strong Mint installed and they all have the closing ?>.

Shaun Inman
Mint/Pepper Developer
Posted on Feb 01, '07 at 11:27 am

The closing ?> isn’t a problem by itself. Any white space after the closing tag is what actually causes the problem.

But, if you don’t have a closing ?> then you can’t have any whitespace after it. ;D

I found a problem in one of my 3rd party peppers. No closing tag and 2 lines of lovely whitespace.

I believe it was the Error Tracker by XHTMLED

I also removed all the closing tags for good measure.

Now we’ll wait and see.

R Mitchell
Third-Party Pepper Developer
Posted on Feb 01, '07 at 12:44 pm

Make sure to log out and back in after the changes. I think that is when things actually started displaying properly for me.

Shaun Inman
Mint/Pepper Developer
Posted on Feb 01, '07 at 04:08 pm

Just for the record, logging out and back in won’t affect anything.

a.jaffe
Minted
Posted on Feb 02, '07 at 05:41 pm

I am seeing what I think is the same problem (some identical entries in the “crush” list). However, I’m pretty sure that I’ve checked for extra newlines after ‘?>’ at the ends of peppers.

steffx
Minted
Posted on Feb 03, '07 at 10:12 am

My problems disappeared suddenly after uninstall “Secret Cruscher” …. As I use Sessiontracker and Nametags I do not need Secret Crusher .. but something seem to break when using this peppers together

steffx

You must be logged in to reply. Login above or create an account

Hey there, I have officially suspended sales and support of Mint. The Create Account, Add License, Transfer License, and Contact forms have been disabled. Existing customers may continue to login and download Mint.

More info Continue