Get Error Message There
Jun 14th, 2007 by reedom
Download Page
In Brief
Report comment posting error within the editing page.
What’s This
This is a WordPress plugin.
With this simple plugin allow users to get comment posting error message within the page users just editing.
Screenshot
Plugin Information
- Author: reedom
- CurrentVersion: 0.94
- Release Date: 2007/10/19
- Support: WordPress 2.1 - 2.3 ME.
Installation
- Download the plugin archive.
- Unzip the archive.
- Upload the unzipped directory and its contents to your Wordpress plugins folder (/wp-content/plugins/).
- Activate the plugin through the ‘Plugins’ menu in WordPress.
Frequently Asked Questions
- How to change appearance of error message and/or icon?
- Font color, margins and others are defined in wp-gemt.css, placed in the directory of this plugin. Please modify it freely to be what should it be. And loading icon is loading.gif, placed in the same directory.
- Other plugins started incorrect beviours.
- It might due to conflifts with javascript libraries, jQuery and others. Please look in wp-gemt.js.php, placed in this plugin’s directory, then comment out one line which is described in the file.
Limitations
- HTTP errors(timeout, url error, …) will not be handled this plugin. When any HTTP error occurs your browser will show a standard error page. This limitation comes from jQuery.js does not handle exceptions while establish async socket.
- This plugin works as long as you use the default posting error page as the WordPress destribution provides. This limitation comes from the plugin’s error message discovering logic. Possibly I can add an admin option with which you can specify a XPath used to find an error message block. However it will make the plugin not so simple, so I hesitate to do it.
- Display loations of the loading icon and error message are fixed in the script code.
Hi

I really love this plugin, it’s the only one I’ve found which can do that stuff. Unfortunately it doesn’t seem to work with WordPress 2.3
I would really be glad if you could take a look at it if you have some freetime so that it also works with v2.3..
That would be awesome
Hi MooChonkee,
Thank you for notification of that.
While I’m working hard on other development area, WP 2.3 has been out. Wow.
I’ll find time then install 2.3 and make this plugin to be work.
I’ve released updated version, 0.93.
Now it supports for WordPress 2.3.
Hi,
im just trying the plugin but it doesn´t work
i uploaded in my plugin directory, i activated it but nothing happens, the comment form is always the same
am i missing something?
thanks!
Hi Mystica,
I’m afraid I don’t get the picture of what you’re meaning
`form is always the same’, since this plugin does not
change the looks of comment form…
How about of error message appearance?
If you submit an empty comment, WP should respond
an error message.
If the error messages will be shown near by the comment form,
the plugin works correctly. Or if the one will be shown in an
another page, we’ll need more investigate.
Hi reedom,
thanks for your reply
if i try to submit a comment with a missing field, im redirected to the standard wordpress error page with wp logo and error message, so i don´t get the error message displayed near the form
i have wp 2.2, i modified the theme, but i left the “id” and “classes” unmodified, i just changed the css (i don´t know if it makes sense)
however, you can have a look here
http://addictivenoize.myartsonline.com/?p=28#respond
thanks!
Hi Mystica,
I’ve checked the page and I found that the ID of the
comment form is not as same as WP’s default theme.
WP Default: commentform
Your page: comment_form
Please modify either theme file’s code or plugin’s one
(for the latter you’ll find some in wp-gemt.js.php).
Then the plugin would work. (I hope…)
hi
thx again and sorry, i was sure i had the standard wp id for the comment form
i changed the plugin code with comment_form but it is still the same
i wonder if also the submit id is important
now i have id=”submit” class=”form_submit” (for the submit button)
maybe i should change also this in the plugin code?
thanks!
hi,
i also tried to modify my theme code
now my form id=”commentform”
but still the same
Hi Mystica,
I found another problem - the web server of your site
failed to provide the plugin’s javascript file `wp-gemt.js’.
I guess it comes from differences of apache’s configuration
between your site’s server and mine, handling for the files
having file extension `.php’.
Ummm…. I’d assumed that all of Apache servers treat ‘.php’
file as I expected but my assumption should be wrong.
For a quick fix, please modify plugin’s code in `wp-gemt.php’
from:
$js_uri = gemt_rel_uri() . ‘/wp-gemt.js’;
to:
$js_uri = gemt_rel_uri() . ‘/wp-gemt.js.php’;
Would you tell me whether the plugin works with the fix?
If do, I’ll update the plugin package later.
Thank you.
Hi,
i did that, but still the same
maybe i should try another web server?
Hi Mystica,
It seems that the plugin turned inactive.
Maybe there is a syntax error in `wp-gemt.php’.
Please look in the WP control panel whether the
plugin is inactive. If so, check the file modification.
If not, please tell me and think together then…
hi,
the plugin was active
i checked again the file wp-gemt.php
i modified as
function gemt_inject_ajax() {
$js_uri = gemt_rel_uri() . ‘/wp-gemt.js.php’;
Hi,
I would like to continue this issue via email.
Please check out your email account.
A most excellent plug-in.
Hey,
Nice plugin…I get a error, after clicking “send”.
It says: [object error]
So, what’s up..? After checking, the comment is placed, but the sender will be confused when seeing the error..
Hope to hear from you soon..
Hi Ab,
Would you try to modify the plugin’s source code as following?
source: /wp-content/plugins/get-error-message-there/wp-gemt.js.php
line: 15
from: // jQuery.noConflict();
to: jQuery.noConflict();
Then open the same page the error had been shown, and `Reload’ the page by Reload Icon or pressing F5. And send any comment again whether it turns to work or not.
If the problem still occurs, please let me know about :
1) your PC’s environment - versions of OS and browser
2) WordPress plugins(name and version) you’ve installed into the server
Regards,
- reedom
I tried what you asked me to do, but nothing changed….Stil the same error.
I’m using version “0.94″ .
My wordpress template: “Falling Dreams”
I am using Windows XP HE.
I have tested the plugin on IE and FF, both have the same error.
Template link: http://teo.esuper.ro/news/new-falling-dreams-wordpress-theme/ (site seems to be offline - Bandwidth Limit Exceeded..)
Hope to hear from you soon..
Ab
hi,
I got trouble on you plugin, the form when I have submit, appear again and there is tobe 2 form behind the right form.
I use wp 2.3.1
After submitting a comment, users are presented with a blank page. This only happens when the Google Analyticator plugin is installed.
WP: 2.3.3
GEMT: 0.94
Google Analyticator: 2.02
Regards,
Craig.
Hi,
i got the same problem as craig. If the input in the comments a ok, the user gets a white page after submitting the form. But the comment is posted ???
cheers
Denis
For WP 2.5
file: wp-gent.js.php
—————————————————————————–
form.ajaxForm( {
//change before with beforeSubmit
beforeSubmit: function() {
—————————————————————————–
ByE
test
hi,
When you add a comment not renewed page.
hi there .thanks for plugin:
Does anybody know if tis script is compatible with Wordpress 2.5.1?
Thanks in advance for any help on this!
best regards
This is a great plugin