Thank you for the quick response!
We are not running any caching plugins.
“Access denied – you do not have permission to view this page” is displayed for users right where the content of the topic would be displayed.
I see several types of error text:
1) when loading the topic detail page:
file: /var/www/problem-with-post-edit-buttontml/wp-content/plugins/simple-press/forum/content/classes/sp-topic-view-class.php
line: 233
function: select
error: Unknown column ‘post_ratings’ in ‘field list’
SELECT wp_sftopics.topic_id, wp_sftopics.forum_id, topic_name, topic_slug, topic_status, topic_pinned, topic_icon, topic_opened, wp_sftopics.post_count, forum_slug, forum_status, forum_disabled, forum_rss_private, wp_sfposts.post_id, post_date, wp_sfposts.user_id, guest_name, guest_email, post_status, post_pinned, post_index, post_edit, poster_ip, source, post_content, wp_sfwaiting.post_count AS new_post, post_ratings, rating_id, vote_count, ratings_sum, ips, members FROM wp_sftopics JOIN wp_sfposts ON wp_sftopics.topic_id=wp_sfposts.topic_id JOIN wp_sfforums ON wp_sftopics.forum_id=wp_sfforums.forum_id LEFT JOIN wp_sfwaiting ON wp_sfposts.post_id=wp_sfwaiting.post_id LEFT JOIN wp_sfpostratings ON wp_sfpostratings.post_id = wp_sfposts.post_id WHERE wp_sftopics.topic_id=1 ORDER BY post_pinned DESC, wp_sfposts.post_id ASC LIMIT 0, 20
2) when loading the forum topics listing page:
file: /var/www/problem-with-post-edit-buttontml/wp-content/plugins/simple-press/forum/content/classes/sp-forum-view-class.php
line: 311
function: select
error: Unknown column ‘post_ratings’ in ‘field list’
SELECT wp_sftopics.forum_id, forum_slug, forum_name, forum_status, group_id, topic_count, forum_icon, topic_icon, topic_icon_new, forum_desc, forum_rss, forum_rss_private, parent, children, forum_message, forum_disabled, keywords, wp_sftopics.topic_id, topic_slug, topic_name, topic_status, topic_pinned, topic_opened, wp_sftopics.post_id, wp_sftopics.post_count, post_ratings FROM wp_sftopics JOIN wp_sfforums ON wp_sftopics.forum_id = wp_sfforums.forum_id WHERE wp_sfforums.forum_id=1 ORDER BY topic_pinned DESC, wp_sftopics.post_id DESC LIMIT 0, 12
3) when saving the forum after “Edit Forum”:
file:
line:
function: sp_rating_edit_forum_save
error: Unknown column ‘post_ratings’ in ‘field list’
UPDATE wp_sfforums SET post_ratings=1 WHERE forum_id=1
4) when setting rating format to stars:
file:
line:
function: sp_rating_edit_forum_save
error: Unknown column ‘post_ratings’ in ‘field list’
UPDATE wp_sfforums SET post_ratings=1 WHERE forum_id=1
5) when plugin was first activated:
file: /var/www/problem-with-post-edit-buttontml/wp-content/sp-resources/forum-plugins/post-rating/sp-rating-plugin.php
line: 113
function: sp_rating_do_install
error: ALTER command denied to user ‘www’@’localhost’ for table ‘wp_sfforums’
ALTER TABLE wp_sfforums ADD (post_ratings smallint(1) NOT NULL default 0)
6) when plugin was first activated:
file: /var/www/problem-with-post-edit-buttontml/wp-content/sp-resources/forum-plugins/post-rating/sp-rating-plugin.php
line: 113
function: sp_rating_do_install
error: ALTER command denied to user ‘www’@’localhost’ for table ‘wp_sfmembers’
ALTER TABLE wp_sfmembers ADD (posts_rated longtext)
—– The last two seem to indicate ALTER was not permitted for the database user. It must be the local database setup for some reason ALTER was not granted. Will try to change it and see how it goes. Most likely that’s the issue.
—— the above are all “database” errors. Some additional php warnings:
1)
file: /simple-press/sp-api/sp-api-plugins.php
line: 82
function: closedir
Warning | closedir() expects parameter 1 to be resource, null given
2)
file: /simple-press/forum/content/forms/sp-form-components.php
line: 469
function: sp_post_editor_smileys_options
Notice | Trying to get property of non-object