and then i’m translate word STOP in po-file then in statistic string STOP writing crazy numbers some -766.000343432434
(i’m not include translation of this string to my wptuner-ru_RU.mo)
hi pete, thanks for the plugin, it sounds awesome!
i’m a little confused as to the set up, however. i downloaded and activated the plugin without trouble, even (i believe) gone through some of the settings. i just don’t exactly know where to gather the info its finding and what i should be looking for…? a dumb question, i’m sure, but that’s my job
I’m very new to WordPress; I guess it shows because I did not know all the steps for making localization work. I tried hard to make all of the strings use the correct localization function, but you are my first translator.
I look forward to seeing the results of your work! I’ll be happy to incorporate it into the release. (I’ve been told that I’m part Ukranian myself… so I’m glad your part of the world will be represented in the translations )
Rob,
The plugin creates a report at the bottom of every page on your WordPress site… but ONLY if you are logged in with administrator rights. You can play with seeing bigger or smaller reports by clicking on the presets and going to the bottom of the settings page.
You should see the results at the bottom of every page, no matter what theme you are using.
Folks, I’m going to be away for a day or two… back soon! I’ll start blogging hints on tuning your WordPress performance when I get back.
Shimshon,
Assuming that WP Tuner activated without a problem, it sounds like your theme (or another plugin) may be hiding the output.
What version of WP and what theme are you using? My plugin hooks the page footer to insert its information; that should be reliable under almost any circumstances. You might want to use “view page source” in your browser to search for the report.
At minimum, you should find “WP Tuner” in the page source. The HTML produced also uses a DIV with class of ‘wptuner’ and an H1 tag with id of ‘wptuner’. If you don’t see anything like that at the end of each page, then something about your configuration is either hiding or disabling the output.
If you’ll be patient to answer my questions, I’m sure we can work it out.
tux,
Yes, I want to do that. I thought auto-update would work already; obviously it is not quite there yet. The next release should repair both localization and updating.
Sending this as request note below. Could not see other contact page here.
Many thanks. Nice plugin.
Debug Log
Message Function File Line
WP Tuner Defect Report
Please report, Could not match this query:
DESC wp_comments
wptunershow->Parse_Query() wp-content/plugins/wptuner/wptunershow.php 267
The problem Shimshon mentions is the same one I have — the plugin appears to have installed correctly, but I am not getting any output in the footer of my WP. I do not use the default theme, but do not see the content there when i switch to it, either. Nor do I find anything in the source code
Atomboy, thanks for that. You must have an unusual plugin or theme!
That message says there’s a query to the database that looks like this: DESC wp_comments
That’s not even close to a valid query.
Do you have a way to search your installation for the text? If your host is Linux with shell access, you could use a command like the following to find every line in every file that looks like that: grep -R "DESC wp_comments" .
(Don’t miss the “dot” at the end…)
Shimshon and rob, I’ve never found a conflict with any plugin or version of WP… yet obviously something is amiss. What version of WP are you running?
rob and shimshon, when you go to the WP Tuner admin page (under Settings -> WP Tuner) does it give any messages in the install/uninstall section? If everything is correctly installed, it should tell you so, and should have no warnings or error messages.
I have one more idea for those, like rob and shimshon, who are not seeing anything. When I say “loggged in as admin” I mean top level admin… ie user level 10. Perhaps you’re not set up as a full Administrator?
I’m geting this error, please help. Thank you.
Uninstall (remove all settings) when plugin is deactivated. [Not affected by Presets]
(After uninstalling, please verify that the wp-config.php code has been correctly removed.)
Configuration Incomplete. Number of errors: 1
(Fix issues in the order presented. One issue may be the actual cause of all errors. Reload this page two+ times after making any change.)
* Technical issue: Configuration appears correct, yet WP Tuner could not be loaded before wp-db.php, so SAVEQUERIES is not defined. WP Tuner is unable to analyze your database use. If you need further help, please contact MrPete.
Shimshon and/or rob,
Is there any way I could get admin access to your system, or (even better) shell access? I cannot reproduce this on my test systems.
gordan,
This error usually indicates a conflict with another plugin of some kind (or with custom code). The best way to debug this is to search for all uses of SAVEQUERIES. You should only find it in the WordPress wp-db.php module, and a few places in WP Tuner. If you find it anywhere else, that’s the most likely conflict.
If you have “shell” access on your host, you can perform the following command to discover where SAVEQUERIES is found: grep -R SAVEQUERIES .
Please download and install the new 0.9.1 release of WP Tuner. I have created a library of built-in diagnostics that should help us work out whatever is causing your installation trouble. Thanks for bearing with me on this!
reply and
paste link
November 15th, 2008 at 12:40 pm
Thanks, everyone. Rev 0.9 is now online, which is php4-compatible. It was just that one problem.
reply and
paste link
November 15th, 2008 at 1:11 pm
Perfect! Thanks for this great plugin!
Greetings from Vienna
Christian
reply and
paste link
November 15th, 2008 at 3:22 pm
Dear Mr Pete! Plugin is great, but your localization function not working
I’m make some changes to plugin to make it translable^
i’m add string
load_plugin_textdomain('wptuner', '/wp-content/plugins/wptuner/languages');outside of all functions in wptuner.php
and now all work fine
you may download my MODidfied version at http://lecactus.ru/wp-content/uploads/0000/00/20081115_wptuner_ru_ru.zip and compare wptuner.php file with original version (archive includes ru_RU translation. You mau add it to your archive).
and then i’m translate word STOP in po-file then in statistic string STOP writing crazy numbers some -766.000343432434
(i’m not include translation of this string to my wptuner-ru_RU.mo)
reply and
paste link
November 15th, 2008 at 4:10 pm
Now it works great for me! Thanks Pete
reply and
paste link
November 15th, 2008 at 4:57 pm
hi pete, thanks for the plugin, it sounds awesome!
i’m a little confused as to the set up, however. i downloaded and activated the plugin without trouble, even (i believe) gone through some of the settings. i just don’t exactly know where to gather the info its finding and what i should be looking for…? a dumb question, i’m sure, but that’s my job
reply and
paste link
November 15th, 2008 at 5:00 pm
Wow, thanks, Lecactus!
I’m very new to WordPress; I guess it shows because I did not know all the steps for making localization work. I tried hard to make all of the strings use the correct localization function, but you are my first translator.
I look forward to seeing the results of your work! I’ll be happy to incorporate it into the release. (I’ve been told that I’m part Ukranian myself… so I’m glad your part of the world will be represented in the translations
)
Rob,
The plugin creates a report at the bottom of every page on your WordPress site… but ONLY if you are logged in with administrator rights. You can play with seeing bigger or smaller reports by clicking on the presets and going to the bottom of the settings page.
You should see the results at the bottom of every page, no matter what theme you are using.
Folks, I’m going to be away for a day or two… back soon! I’ll start blogging hints on tuning your WordPress performance when I get back.
Here’s a comment thread you can use for questions, hints, and so forth.
reply and
paste link
November 16th, 2008 at 12:17 am
More correctly if the path to containment would be relative, as described here: http://codex.wordpress.org/Writing_a_Plugin#Internationalizing_Your_Plugin
and looking mechanism and ways to in other plugins
reply and
paste link
November 16th, 2008 at 7:27 am
Lecactus, my code already has a call to the localization function. I’ll have to debug to find out why it is not being called.
Look at wptuner.php (line 65 and at the end).
I suspect it works ok for the bottom-of-page analysis display, but not yet for the admin interface. Should be easy to fix.
reply and
paste link
November 17th, 2008 at 12:36 am
[...] “тяжелых” элементов шаблонов удобно использовать WP Tuner, о котором писал Lecactus. После его установки и включения [...]
reply and
paste link
November 17th, 2008 at 3:52 am
Hi, I do not see any results on the bottom of my page (I am logged in as administrator) - whats wrong?
reply and
paste link
November 17th, 2008 at 2:07 pm
now it should support automatic updating..
reply and
paste link
November 17th, 2008 at 7:53 pm
Hi all, I’m just back from a trip.
Shimshon,
Assuming that WP Tuner activated without a problem, it sounds like your theme (or another plugin) may be hiding the output.
What version of WP and what theme are you using? My plugin hooks the page footer to insert its information; that should be reliable under almost any circumstances. You might want to use “view page source” in your browser to search for the report.
At minimum, you should find “WP Tuner” in the page source. The HTML produced also uses a DIV with class of ‘wptuner’ and an H1 tag with id of ‘wptuner’. If you don’t see anything like that at the end of each page, then something about your configuration is either hiding or disabling the output.
If you’ll be patient to answer my questions, I’m sure we can work it out.
tux,
Yes, I want to do that. I thought auto-update would work already; obviously it is not quite there yet. The next release should repair both localization and updating.
reply and
paste link
November 18th, 2008 at 4:45 am
Hi,
I do not see anything like that in my source. I use the default theme. Do you know about any conflict with any other plugin?
reply and
paste link
November 18th, 2008 at 10:57 am
Sending this as request note below. Could not see other contact page here.
Many thanks. Nice plugin.
Debug Log
Message Function File Line
WP Tuner Defect Report
Please report, Could not match this query:
DESC wp_comments
wptunershow->Parse_Query() wp-content/plugins/wptuner/wptunershow.php 267
reply and
paste link
November 18th, 2008 at 1:38 pm
hi Mr. Pete,
The problem Shimshon mentions is the same one I have — the plugin appears to have installed correctly, but I am not getting any output in the footer of my WP. I do not use the default theme, but do not see the content there when i switch to it, either. Nor do I find anything in the source code
reply and
paste link
November 18th, 2008 at 2:40 pm
Atomboy, thanks for that. You must have an unusual plugin or theme!
That message says there’s a query to the database that looks like this:
DESC wp_commentsThat’s not even close to a valid query.
Do you have a way to search your installation for the text? If your host is Linux with shell access, you could use a command like the following to find every line in every file that looks like that:
grep -R "DESC wp_comments" .(Don’t miss the “dot” at the end…)
Shimshon and rob, I’ve never found a conflict with any plugin or version of WP… yet obviously something is amiss. What version of WP are you running?
reply and
paste link
November 18th, 2008 at 5:41 pm
i’m using WP Version 2.6.3 (at toonbarn.com, if that helps)
reply and
paste link
November 18th, 2008 at 8:36 pm
rob and shimshon, when you go to the WP Tuner admin page (under Settings -> WP Tuner) does it give any messages in the install/uninstall section? If everything is correctly installed, it should tell you so, and should have no warnings or error messages.
reply and
paste link
November 18th, 2008 at 10:29 pm
I have one more idea for those, like rob and shimshon, who are not seeing anything. When I say “loggged in as admin” I mean top level admin… ie user level 10. Perhaps you’re not set up as a full Administrator?
reply and
paste link
November 19th, 2008 at 4:20 am
Well, it’s installed correctly (that’s what WP Tuner admin is saying) and I am logged in as top level admin. But it doesn’t show any results?!
reply and
paste link
November 19th, 2008 at 10:59 am
I’m geting this error, please help. Thank you.
Uninstall (remove all settings) when plugin is deactivated. [Not affected by Presets]
(After uninstalling, please verify that the wp-config.php code has been correctly removed.)
Configuration Incomplete. Number of errors: 1
(Fix issues in the order presented. One issue may be the actual cause of all errors. Reload this page two+ times after making any change.)
* Technical issue: Configuration appears correct, yet WP Tuner could not be loaded before wp-db.php, so SAVEQUERIES is not defined. WP Tuner is unable to analyze your database use. If you need further help, please contact MrPete.
reply and
paste link
November 19th, 2008 at 6:53 pm
Shimshon and/or rob,
Is there any way I could get admin access to your system, or (even better) shell access? I cannot reproduce this on my test systems.
gordan,
This error usually indicates a conflict with another plugin of some kind (or with custom code). The best way to debug this is to search for all uses of SAVEQUERIES. You should only find it in the WordPress wp-db.php module, and a few places in WP Tuner. If you find it anywhere else, that’s the most likely conflict.
If you have “shell” access on your host, you can perform the following command to discover where SAVEQUERIES is found:
grep -R SAVEQUERIES .
(don’t forget the dot at the end)
reply and
paste link
November 20th, 2008 at 11:59 am
rob (#17), Shimshon (#20), and gordan (#21),
Please download and install the new 0.9.1 release of WP Tuner. I have created a library of built-in diagnostics that should help us work out whatever is causing your installation trouble. Thanks for bearing with me on this!
You can reply at the new 0.9.1 comment thread.