When I first installed GForum it was version 0.9.4 and I installed it in a directory called gforum-0.9.4, I would like to change the name of that directory to something more generic like gforum, but when I do it makes the forum not work.
May 27, 2003, 12:15 PM
Staff / Moderator (2198 posts)
May 27, 2003, 12:15 PM
Post #2 of 9
Views: 3588
You need to edit admin/GForum/Config/Data.pm, and look for paths or directories containing gforum-0.9.4; if you change them all to gforum and move it over, you should be running perfectly well at the new location.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
May 27, 2003, 12:55 PM
Novice (12 posts)
May 27, 2003, 12:55 PM
Post #5 of 9
Views: 3553
I checked and no typo. I noticed that in gforum.cgi and other scripts that the 'use lib' line still pointed to the gforum-0.9.4 folder, I changed this for the following files and now everything seems to be working.
gforum.cgi
admin.cgi
setup.cgi
nph-email.cgi
db.cgi
Can you explain this?
Thanks,
Dov
gforum.cgi
admin.cgi
setup.cgi
nph-email.cgi
db.cgi
Can you explain this?
Thanks,
Dov
May 27, 2003, 6:00 PM
User (114 posts)
May 27, 2003, 6:00 PM
Post #8 of 9
Views: 3548
why do not change the use lib or gforum::init() and set the lib path one in data.pm ?
so , change the data.pm and not need to modify any .cgi to fix gforum::init() or use lib "";
and, maybe the script name store in data.pm so we can rename gforum.cgi to another name , it work fine.
my MSN: perlchina_at_hotmail.com
so , change the data.pm and not need to modify any .cgi to fix gforum::init() or use lib "";
and, maybe the script name store in data.pm so we can rename gforum.cgi to another name , it work fine.
my MSN: perlchina_at_hotmail.com
May 27, 2003, 6:13 PM
Staff / Moderator (2198 posts)
May 27, 2003, 6:13 PM
Post #9 of 9
Views: 3545
Because without the use lib and GForum::init() calls, there would be no way for gforum.cgi to know where GForum/Config/Data.pm actually _is_ on the server since that information would only be contained within GForum/Config/Data.pm.
Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com