please help me
Hi!!
I have a custom form to let the users create a question with the option to upload images. It works fine, but today I see on the server a error log file. Inside is always the same line over and over:
[14-Oct-2015 11:08:01 UTC] Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND m.apmeta_param IN ('category', 'tag') ) ) GROUP BY m.apmeta_userid' at line 1 de la base de datos de WordPress para la consulta SELECT u.user_email, u.ID, u.display_name, UNIX_TIMESTAMP(m.apmeta_date) as unix_date FROM wp_ap_meta m INNER JOIN wp_users as u ON u.ID = m.apmeta_userid where m.apmeta_type = 'subscriber' AND ( m.apmeta_actionid = 3062 OR (m.apmeta_actionid IN () AND m.apmeta_param IN ('category', 'tag') ) ) GROUP BY m.apmeta_userid realizada por do_action('wp_ajax_apf_addpost'), call_user_func_array, apf_addpost, wp_insert_post, do_action('save_post'), call_user_func_array, AnsPress_Process_Form->action_on_new_post, do_action('ap_processed_new_question'), call_user_func_array, AnsPress_Actions->after_new_question, do_action('ap_after_new_question'), call_user_func_array, AnsPress_Ext_AnsPress_Email->ap_after_new_question, ap_get_question_subscribers_data
I see in this text the following
where m.apmeta_type = 'subscriber'
but all my users are collaborators with upload rights. I tried changing the user roles (anspress moderator, author, administrator) but always with the same result.
Only with the main administrator the line is not added to the error log.
If I deactivate the ansspress mail plugin, the lines are never added to the error log file.
Is a problem with the plugin, or I am making something wrong in the functions of my custom form?
Thanks.
My Q/A site has two user types (Doctors & Nurses). Nurses should only be able to view categories A, B & C. Doctors can use A, B,C,D & E.
Whats the easiest way to accomplish this functionality?
Hi, this is most likely theme conflict. Clicking comment link doesn’t do anything. In Chrome console, it says:
Error: Syntax error, unrecognized expression: (0)(…) anspress_site.min.js?ver=2.3.8:1
The site is on dev server, that’s why I marked this as private for now. Here’s a link:
http://dev1.celeer.com/community/question/how-to-use-wordpress/
Would really appreciate help.
Can you give me answerbox theme demo. Below Picture please.
Rahul, do you or does anyone have a .doc or .pdf for how “Voting” and “Reputation” works on AskBug?
I want to create a reputation_faq document for my site.
When I do I will also publish it here as a resource for everyone else.
Now I know this is not correct, but I am looking for the correct details for the system in use on AskBug.
What is reputation? How do I earn (and lose) it?
Reputation is a rough measurement of how much the community trusts you; it is earned by convincing your peers that you know what you’re talking about. Basic use of the site, including asking questions, answering, and suggesting edits, does not require any reputation at all. But the more reputation you earn, the more privileges you gain.
The primary way to gain reputation is by posting good questions and useful answers. Votes on these posts cause you to gain (or sometimes lose) reputation. Please note that votes for posts marked “community wiki” do not generate any reputation.
You can earn a maximum of 200 reputation per day from any combination of the activities below. Bounty awards, accepted answers, and association bonuses are not subject to the daily reputation limit.
You gain reputation when:
question is voted up: +5
answer is voted up: +10
answer is marked “accepted”: +15 (+2 to acceptor)
suggested edit is accepted: +2 (up to +1000 total per user)
bounty awarded to your answer: + full bounty amount
one of your answers is awarded a bounty automatically: + half of the bounty amount (see more details about how bounties work)
site association bonus: +100 on each site (awarded a maximum of one time per site)
If you are an experienced WPExpert network user with 200 or more reputation on at least one site, you will receive a starting +100 reputation bonus to get you past basic new user restrictions. This will happen automatically on all current WPExpert sites where you have an account, and on any other WPExpert sites at the time you log in.You lose reputation when:
your question is voted down: −2
your answer is voted down: −2
you vote down an answer: −1
you place a bounty on a question: − full bounty amount
one of your posts receives 6 spam or offensive flags: −100
All users start with one reputation point, and reputation can never drop below 1. Accepting your own answer does not gain you any reputation. If a user reverses a vote, the corresponding reputation loss or gain will be reversed as well. Vote reversal as a result of voting fraud will also return lost or gained reputation.At the high end of this reputation spectrum there is little difference between users with high reputation and moderators. That is intentional. We don’t run this site. The community does.