Support Forum

Help With upload Plug In

AN anabrandt
anabrandt
Member

I have a forum that works great. Until I add the Plug in for the upload function. I can upload an image but when I go back to the topic or try to go anywhere I get

 

Access denied – you do not have permission to view this page

 

I also get the message above “invalid database query”

 

no matter what permission I change this happens

 

nothing works until I remove plugin

 

I really need this plugin to work

 

help!

18 Answers

New Answer

MP Mr Papa
Mr Papa
Member

need a bit more info… what is the db query?  please check forum – toolbox- error log and give us any errors (not warnings or notices at this point)…

also please check:  https://simple-press.com/documentation/codex/faq/troubleshooting/simplepress-plugin-activation-errors/ to see if its coming into play…

AN anabrandt
anabrandt
Member

error is here

 

December 29, 2014 1:07 am | spaErrNotice | 12 | php


file: /simple-press/admin/panel-permissions/forms/spa-permissions-edit-permission-form.php
line: 110
function: spa_permissions_edit_permission_form
Notice | Undefined index: upload_images

MP Mr Papa
Mr Papa
Member

No… That is a notice… only wanted errors… and it has nothing to do with a db query….

did you check the plugin directory name as requested?

AN anabrandt
anabrandt
Member

OK sorry I do not know where to check the plugin directory name- ftp? or in the wordpress admin area?

 

is this the error?

 

December 29, 2014 1:33 am | spaErrError | 5 | database


file: /problem-with-post-edit-buttonome4/anamaria/public_html/theartofpregnancyandnewborn.net/wp-content/plugins/simple-press/forum/content/classes/sp-topic-view-class.php

line: 239

function: select

error: Unknown column ‘attachments’ in ‘field list’

SELECT SQL_CALC_FOUND_ROWS group_id, 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, DATE_SUB(post_date, INTERVAL 8 HOUR) as post_date, wp_sfposts.user_id, wp_sftopics.user_id AS topic_starter, guest_name, guest_email, post_status, post_pinned, post_index, post_edit, poster_ip, source, post_content, wp_sfwaiting.post_count AS new_post, attachments, polls, poll, post_ratings, rating_id, vote_count, ratings_sum, ips, members, topic_subs 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=222 ORDER BY post_pinned DESC, wp_sfposts.post_id ASC LIMIT 0, 20

AN anabrandt
anabrandt
Member

I went into ftp and looked at the plugin directory – there is no 1

AN anabrandt
anabrandt
Member

I posted the top two things in the error logs  – if thats not the error where is the error?

MP Mr Papa
Mr Papa
Member

sorry??

yes, thats the error…  what version of SP are you using?  Are you sure its 5.5.3?  The latest version of file uploader requires the latest SP version…

MP Mr Papa
Mr Papa
Member

what version of file uploader then? 4.0.2?

the  missing column indicates a required db update is missing…

AN anabrandt
anabrandt
Member

hey maybe that’s it??

 

Version 3.2.1

 

I will download right now the upgrade and try –  I might then love you forever!

MP Mr Papa
Mr Papa
Member

lol… okay, please let us know… yes, it important to keep required versions in sync…

we will be here… :)

AN anabrandt
anabrandt
Member

I think I might throw up I think I just removed my entire site – hang on

AN anabrandt
anabrandt
Member

LORDY – pages and posts are there and I went to remove the upload plugin and lost all my plugs in including my theme!

MP Mr Papa
Mr Papa
Member

how did that happen?  did you not use the wp updater for the plugin?