Gossamer Forum
Home : Products : Gossamer Forum : Development, Plugins and Globals :

Re: [Westiegirl] URL to Message Board

Quote Reply
Re: [Westiegirl] URL to Message Board In reply to
Just moving it over _should_ be okay, but there are a few things you'll have to change. First of all, the following configuration variables need to be updated to reflect the new location:
  • admin_root_url
  • admin_root_path
  • cgi_root_url
  • cgi_root_path
  • message_attachment_directory
  • post_attachment_directory
  • temp_attachment_directory


The other thing that you'll have to do is edit the following files:
  • gforum.cgi
  • admin/admin.cgi
  • admin/db.cgi
  • admin/setup.cgi
  • admin/nph-email.cgi


Each file has two lines that need to be changed. These lines are within the first few lines of the file, so they won't be difficult to find.

The first to change is the one: use lib "..."; Currently, inside the quotes is going to be the old path to your old forum directory. You need to change this to the new path.

There will also be, in each file, a call: GForum::init("..."); The path inside the quotes will also be to your old forum directory - this also has to be changed to the new path.



It might be easier to just install into the new location. When it creates the database, creating the tables will fail - this is okay, they already exist and hold all the information for the forum. The only thing you would need to worry about transferring is the attachment directory, assuming you have posts with attachments.

Let me know if you have any difficulties.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Subject Author Views Date
Thread URL to Message Board Westiegirl 5423 Jan 14, 2002, 11:37 AM
Thread Re: [Westiegirl] URL to Message Board
ellipsiiis 5299 Jan 14, 2002, 11:43 AM
Thread Re: [ellipsiiis] URL to Message Board
Wil 5312 Jan 14, 2002, 12:19 PM
Thread Re: [Wil] URL to Message Board
Westiegirl 5316 Jan 14, 2002, 1:13 PM
Thread Re: [Westiegirl] URL to Message Board
Wil 5340 Jan 14, 2002, 1:16 PM
Post Re: [Wil] URL to Message Board
Westiegirl 5320 Jan 14, 2002, 1:21 PM
Post Re: [ellipsiiis] URL to Message Board
Westiegirl 5327 Jan 14, 2002, 1:09 PM
Thread Re: [Westiegirl] URL to Message Board
ArmyAirForces 5318 Jan 14, 2002, 7:58 PM
Post Re: [heavybombers] URL to Message Board
Westiegirl 5247 Jan 15, 2002, 5:54 AM
Thread Re: [heavybombers] URL to Message Board
Westiegirl 5239 Jan 15, 2002, 10:16 AM
Thread Re: [Westiegirl] URL to Message Board
Jagerman 5229 Jan 15, 2002, 12:19 PM
Thread Re: [jagerman] URL to Message Board
Westiegirl 5239 Jan 15, 2002, 1:00 PM
Thread Re: [Westiegirl] URL to Message Board
Jagerman 5255 Jan 15, 2002, 1:03 PM
Post Re: [jagerman] URL to Message Board
Westiegirl 5227 Jan 15, 2002, 1:06 PM