Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 10:40 am EST

Geeklog Forums

Forum Plugin Access Error!


tokyoahead

Anonymous
Hi,

I have moved an article in my site's forum, but it never got where I wanted it. I can see the title in the Moderator-Menu, but when I try to open it I get an

ACCESS ERRROR
You should not be here!
Restricted access to this forum only.

Aparently the forum has been changed to "0" as I found out in phpMyAdmin.

I changed the number to the proper (Destination) Forum from phpmyadmin, so it worked.

But why could this happen? What is the database structure for moved posts? I have see there is a "Moved" field, but how does the DB knows where it has been moved from?

thanks

Oliver
 Quote

Status: offline

Blaine

Forum User
Moderator
Registered: 07/16/02
Posts: 1232
Location:Canada
The move operation will update the forum field to indicate the new forum. The moved field is just a flag that is used to indicate it has been moved. Moved topics are then show a prefex of the word "moved .."

What version are you using?
Geeklog components by PortalParts -- www.portalparts.com
 Quote

Geiss`

Anonymous
I just lost a thread in the same manner. I am using Geeklog 1.3.8sr3 and forum v2.2. I have successfully moved threads before, so I don't know what I did wrong.

Can someone tell me exactly what database table and entry I need to change from "0" to the proper forum, so I can get this thread back.

Thanks in advance!

Geiss
www.midnightforce.com
 Quote

Geiss

Anonymous
cheerful
Found it. Here's what worked for me. Your mileage may vary, but hopefully it will get you started. Log in to your MySQL db and type:

select * from gl_forum_topic

find the id number and forum number for the post in question, and then change it like this:

update (table) set (column definition) = (data) where (row definition) = (data)

in my case:

update gl_forum_topic set forum = 1 where id = 352

Always remember to make a backup of the table BEFORE you do any editing on it!

Again, any insight as to what might cause the error in the first place? I have moved threads before without incident, so I am kinda stumped (and a little reluctant to move any in the future ).

Thanks to the devs though for making a very clean, accessable, and easy to understand code base. You've made it very easy to play in the playground you've all built!
 Quote

All times are EST. The time is now 10:40 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content