I received tens of comments and emails yesterday about various issues with the new release of Counterize, and so I fixed most of the problems in a new version of Counterize (3.1.1).
Release notes:
- Corrected an issue with ip_files/countries.php: does not use PHP short tags anymore
- Added an updated Spanish translation by José Delgado (Thanks to him!)
- Added a warning message when no Counterize plugins are activated
- Set all the plugins to the version of Counterize because a WordPress bug nag users to update the plugins and report a wrong version information.
After Updating to Version 3.1.1.
Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 1709346 is not allowed to access /var/tmp/ owned by uid 0 in /mnt/weba/23/22/5802922/htdocs/cms/wp-content/plugins/counterize/counterize.php on line 16
Need HELP !!!
Hi,
Could you disable all your plugins excepted Counterize, and then tell me if you still see the error? If the error disapeared, then activate the plugins one by one to find the faulty one.
This error is caused by something (a plugin or your theme) outputting text before the session is started. This is local to your installation (your themes or your plugins) because I haven’t see this error myself.
I suggest that you add the following code on top of your wp-config.php and see if it helps:
Hi,
thanks for your quick reply. if deactivated each plugin, but the error still occurs. I have put the code on the top of wp-config.php. But than I couldn’t get into my account. Maybe you could show me the right section in the file. Or could you send me a link the an older version of counterize. Before I updated to 3.1.1 everything worked fine.
What Do u think ?
You can add it just before the following lines for example:
It is very important that you add it AFTER the PHP start tag
of that file, if you add it before it will not work at all.
Put it into the file, right at that play. When I want to lock in, following line occurs:
Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 1709346 is not allowed to access /var/tmp/ owned by uid 0 in /mnt/weba/23/22/5802922/htdocs/cms/wp-config.php on line 17
Fatal error: session_start() [function.session-start]: Failed to initialize storage module: files (path: ) in /mnt/weba/23/22/5802922/htdocs/cms/wp-config.php on line 17
The errors moved from line16 to line17.
But that morning, before the update, everything worked fine. I just changed the counterize version. Any other idea ?
Well that’s very strange. I am investigating what could be the cause of your problem. The previous version of Counterize was already using sessions.
The first thing I would check is make sure the session.save_path in you php.ini is set and point to a valid and writable path for your user (it seems that you can’t write to /var/tmp).
Are you using Internet Explorer?
Where can I find that file ? Can’t find it.
It’s a file that may be present in any directory. If it isn’t, and it was working before, then do not create it. I’m looking for a way to get rid of sessions.
No, Firefox.
Could you send by email the complete HTML source of a page where this error occurs?
Also, what is your host? GoDaddy, for example? Do you use WP Super Cache? What is the output of phpinfo()?
Hey Gabriel,
I’ve installed an older Version, counterize 3.0.32. Now it works again.
Maybe u would send me 3.0.1 to have try if that could be the latest version for me, that works. And could you tell me in which file the statisitcs are saved ? Thank you so much for your help. I just love counterize and want to keep it by hard !!!
Sorry, I meant 3.1.0 …. 😉
Hi,
You will need to set the session.save_path directive in your php.ini. If you are using GoDaddy or one of its affiliates, just create a file named “php5.ini” in the root of your public_html directory (or maybe your WordPress directory). Its content should be:
Where “/path/to/a/writable/directory” is a valid existing and writable directory path.
This should take care of the session problem.
Good afternoon Gabriel,
First, i must say that your puglin is awesome and i appreciate your work on it because it works nice.
I got a simple question about a translate issue:
Im using counterize with spanish language, can you tell me where can i edit directly the following strings?
1) each month —-> i see at statistics Jan, Feb, Mar, Apr and i want to edit it for spanish strings.
2) each day —–> i see at statistics Monday, Tuesday, Wednesday etc… Same as point 1.
I have my .po .mo files in spanish, i only need to edit this strings… Thanks in advance for your time.
Gabriel
I installed and activated counterize over a month ago. Still not getting any data. Do I have to enter something into the filters? (I’ve tried)
Can you tell me what to do?
Thanks
Nate
Hi Nate,
No that is not normal, you should have some data already. No need to set any filter. Are you using the MU version of WordPress ?
Also, could you follow the steps described in the support page (enable DEBUG mode and some PHP flags) and tell me of any warning and error you may see?
Sorry for the trouble.
Best,
Gabriel
PS: I’ll be unavailable until april 15th.
Installed counterize. received report. All was looking good. Now receive no reports and even when I click send report now it doesnt work. What gives? please help
hai
i am using this for past 3 months. i want to generate a pie or bar chart from the stored data. can you help me…?