|
Post by buppie on Dec 31, 2006 6:37:58 GMT -5
I have some serious problems with my hostingsprovider, They updated Perl to a other version and now I can't get in gm.cgi. The advice the gave to me was to replace all the lines in the cgi-bin that tells where the libary file is located. By example the line in gm.cgi: require "libary.cgi"; in D:/www.devrije.nl/www/cgi-bin/libary.cgi This because the working directory has change and it isn't the default directory anymore wher the script is located. Do I have to change some more lines in the script, then this one line through the provider given?
Well whatever I try'd, change slashes, a virtual pad etc. It won't work and I get the same error (can't find banlist, chmod 666 etc...) The provider has holyday now and it will take some time before they resolve this issue. By the way, our Greymatter is version 1.3.0 and hosted at a Windows 2000 server. It's running for 2 years now without any problems. I did tried to update the version to 1.3.1 last night and I get the same error message.
We have at least 300 visitors every day and we want to let them know that we can't update the site.
How do I edit a warning at the main page without login?
Thanks
|
|
|
Post by hazelorb on Jan 1, 2007 0:04:41 GMT -5
Just FTP the page to your computer to edit it, edit it (using Notepad or whatever you use to make/edit web pages usually), and FTP it back.
|
|
|
Post by buppie on Jan 1, 2007 5:25:53 GMT -5
Stupid me, I tried first to edit the last HTM archive file... And that didn't work. I have it now, thanks.
|
|
|
Post by coldstone on Jan 1, 2007 23:35:22 GMT -5
Yeah, since gm 1.3.1 checks for the file ./gm-banlist.cgi its assuming that the local directory is in the path.
I am not good with path stuff but I think you might be able to change to your cgi directory.
You could try add this code:
chdir("D:/www.devrije.nl/www/cgi-bin/");
Under the "Greymatter 1.3.1" declaration in the gm.cgi, gm-comments.cgi, gm-karma.cgi, and the gm-upload.cgi files. What version of perl are you using now?
|
|