Search Results for 'code'
-
Search Results
-
Topic: Long Query Error
Hi,
Looking at our error log, we get a recurrent error generated by bbpress which has led to 502 errors. We are using WordPress 3.9 and bbpress Version 2.5.4. would you please advise us on this:
Thank you. http://communication.org.au
The error log looks like this:
[Sun Jul 06 00:49:32 2014] [error] [client 124.191.29.124] LONG QUERY (1540 characters long generated in /nas/wp/www/cluster-1417/davidsless/wp-content/plugins/bbpress/includes/users/functions.php:1531):SELECT COUNT(NULLIF(meta_value LIKE '%"administrator"%', false)), COUNT(NULLIF(meta_value LIKE '%"editor"%', false)), COUNT(NULLIF(meta_value LIKE '%"author"%', false)), COUNT(NULLIF(meta_value LIKE '%"contributor"%', false)), COUNT(NULLIF(meta_value LIKE '%"subscriber"%', false)), COUNT(NULLIF(meta_value LIKE '%"bbp\\_keymaster"%', false)), COUNT(NULLIF(meta_value LIKE '%"bbp\\_spectator"%', false)), COUNT(NULLIF(meta_value LIKE '%"bbp\\_blocked"%', false)), COUNT(NULLIF(meta_value LIKE '%"bbp\\_moderator"%', false)), COUNT(NULLIF(meta_value LIKE '%"bbp\\_participant"%', false)), COUNT(NULLIF(meta_value LIKE '%"shop\\_accountant"%', false)), COUNT(NULLIF(meta_value LIKE '%"shop\\_worker"%', false)), COUNT(NULLIF(meta_value LIKE '%"shop\\_vendor"%', false)), COUNT(NULLIF(meta_value LIKE '%"customer"%', false)), COUNT(NULLIF(meta_value LIKE '%"shop\\_manager"%', false)), COUNT(NULLIF(meta_value LIKE '%"s2member\\_level1″%', false)), COUNT(NULLIF(meta_value LIKE '%"s2member\\_level2″%', false)), COUNT(NULLIF(meta_value LIKE '%"s2member\\_level3″%', false)), COUNT(NULLIF(meta_value LIKE '%"s2member\\_level4″%', false)), COUNT(NULLIF(meta_value LIKE '%"s2member\\_level5″%', false)), COUNT(NULLIF(meta_value LIKE '%"s2member\\_level6″%', false)), COUNT(NULLIF(meta_value LIKE '%"s2member\\_level7″%', false)), COUNT(NULLIF(meta_value LIKE '%"s2member\\_level8″%', false)), COUNT(NULLIF(meta_value LIKE '%"s2member\\_level9″%', false)), COUNT(*) FROM wp_usermeta WHERE meta_key = "wp_capabilities", referer:i need to create a new top of user and want to give it “read=>true” capability only…
example
$cpar_capabilities = array( 'read' => true ) add_role('course_participant', 'Course Participant', $cpar_capabilities);would this mean he / she cant publish on the forums and if so how can i add the right capabilities so those user can participate in the forums but have read only permission
or any type of other permissions on my site?hej,
When someone enters example XML in an anser like:
<Binary>0E02800001000000000000000B0004C003010000000000000000000000082D0000000000000000004EFF140000000000FFFFFFFF0600000058000000000000000000061208000010000000003C0000000000000000000000803A011480FAFFFF0000000000000000B09B741280FAFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</Binary>There are no more line breaks and the sidebar seems to go over the content area.
or within the code tag:
<Binary>0E02800001000000000000000B0004C003010000000000000000000000082D0000000000000000004EFF140000000000FFFFFFFF0600000058000000000000000000061208000010000000003C0000000000000000000000803A011480FAFFFF0000000000000000B09B741280FAFFFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000</Binary>it alters somehow the html structure of the page.
Can I somehow fix that?You can see the falty Topic and answer here:
http://www.apw-wiegand.de/support-forum/topic/apw-und-windows-7/I’m using bbPress Version 2.5.4 on WordPress 3.9.1
Thanks in advance,
EricIs there any Spoiler BBCode plugins available for BBPress?