Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [bob c3] gforum overwrote gmail admin.cgi

Quote Reply
Re: [bob c3] gforum overwrote gmail admin.cgi In reply to
The only file specific to Gossamer Forum and Gossamer Mail that you overwrote will be the 'admin.cgi' file. It isn't so easy as just pulling the files out of install.dat (you can do it, by adding ".tar" (not .zip) on the end, or changing it to install.tar). The best bet is going to be installing GForum into another location, then extracting the admin.cgi from the tar file using a program such as Winzip or Power Archiver.

You are going to have to make a changes to the GMail admin.cgi file, however, before uploading it, open it up and look for the line that says:

use lib '.';

The value to change this to depends on your installation - the easiest way to figure it out will be to download one of the user-side webmail CGI files (i.e. webmail.cgi) and copy the 'use lib' line found in that file. Also, while you have the webmail.cgi open, check the very first line: it should be something like:

#!/usr/bin/perl

If it is _not_ '#!/usr/bin/perl' you also need to change the first line in admin.cgi to match.

Once having made the above change(s), upload admin.cgi in ASCII mode, and CHMOD it to 755. After that, your GMail admin panel should be working again. Watch out, though - it probably won't be password protected anymore, as GForum will have overwritten the .htaccess and .htpasswd files.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com
Subject Author Views Date
Thread gforum overwrote gmail admin.cgi bob c3 7298 Nov 23, 2002, 5:30 PM
Post Re: [bob c3] gforum overwrote gmail admin.cgi
Paul 7193 Nov 23, 2002, 5:35 PM
Thread Re: [bob c3] gforum overwrote gmail admin.cgi
Jagerman 7182 Nov 23, 2002, 5:52 PM
Thread Re: [Jagerman] gforum overwrote gmail admin.cgi
bob c3 7203 Nov 23, 2002, 6:03 PM
Thread Re: [bob c3] gforum overwrote gmail admin.cgi
bob c3 7171 Nov 23, 2002, 7:21 PM
Thread Re: [bob c3] gforum overwrote gmail admin.cgi
Jagerman 7196 Nov 23, 2002, 8:53 PM
Thread Re: [Jagerman] gforum overwrote gmail admin.cgi
bob c3 7176 Nov 23, 2002, 9:14 PM
Thread Re: [bob c3] gforum overwrote gmail admin.cgi
bob c3 7218 Nov 23, 2002, 9:22 PM
Thread Re: [bob c3] gforum overwrote gmail admin.cgi
bob c3 7178 Nov 23, 2002, 10:49 PM
Thread Re: [bob c3] gforum overwrote gmail admin.cgi
bob c3 7179 Nov 24, 2002, 12:09 AM
Post Re: [bob c3] gforum overwrote gmail admin.cgi
bob c3 7175 Nov 24, 2002, 12:21 AM
Thread Re: [bob c3] gforum overwrote gmail admin.cgi
brewt 7195 Nov 24, 2002, 12:33 AM
Thread Re: [brewt] gforum overwrote gmail admin.cgi
bob c3 7184 Nov 24, 2002, 12:56 AM
Thread Re: [bob c3] gforum overwrote gmail admin.cgi
Jagerman 7144 Nov 24, 2002, 2:41 PM
Thread Re: [Jagerman] gforum overwrote gmail admin.cgi
bob c3 7141 Nov 25, 2002, 6:37 AM
Post Re: [bob c3] gforum overwrote gmail admin.cgi
bob c3 7146 Nov 25, 2002, 6:49 AM