View Full Version : Configuring Web Site Details
HowardW
08-Feb-2003, 02:50 PM
There is probably a very simple answer to this but it has got me stumped.
Have been configuring our web site details and everything goes fine until it tries to sort out the path to the web server document directory. This I assume is the actalog directory. Have set the permissions for this to 577 but I still get the error "the CGI script does not have permission to delete files in the catalog web directory.. please contact etc."
Any ideas what I am doing wrong?
garyhay
08-Feb-2003, 03:03 PM
Can you post your settings and provide the exact error message
HowardW
08-Feb-2003, 03:45 PM
Hi Gary
Host is oneand one.
Web site URL : http://www.happyhobbit.co.uk
Catalog URL : http://www.happyhobbit.co.uk/acatalog/
CGI_Bin URL: http://www.happyhobbit.co.uk/cgi_bin/
Path to perl usr/bin/perl
Path from cgi-bin to catalog directory is./acatalog/
Cgi path to catalog directory is the one I am having trouble with as when I enter../acatalog/ I get:
"The CGI script does not have permission to delete files in the catalog web directory. The permissions on the catalog directory must be relaxed so the cgi script can read, write and delete file in the catalog directory. Please contact your system administrator or ISP and ask them to correct the directory permissions. The web catalog is ../acatalog/ (relative to your cgi-bin) on the web server."
I've checked the permissions on the acatalog directoey and it is set to 755!
Howard
NormanRouxel
08-Feb-2003, 07:19 PM
Hi,
I tested OneAndOne recemtly to see if Catalog would run on its £8.99 per month Business service. It worked fine. I was surprised that the e-mail worked straight out of the box as it seems to be an authenticated SMTP server, but it must be set up to accept unauthenticated connections from it's own domain. I'd gone to the trouble of rewriting the Actinic e-mail routine to use the Unix Sendmail program but didn't need it.
Anyway here are the settings I used ( I greated my own cgi-bin directory straight off the root). These are from Advanced / Network /Export :-
HTTPPROXYMODE 0
HTTPPROXYADDRESS
HTTPPROXYPORT 80
HTTPPROXYUSER
HTTPPROXYPASSWORD
FTPPROXYMODE 0
FTPPROXYADDRESS
FTPPROXYPORT 21
FTPPROXYUSER
FTPPROXYPASSWORD
SCRIPTID 1
SCRIPTEXT .pl
SMTPHOST auth.smtp.oneandone.co.uk
WEBSITEURL http://www.drillpine.biz/index.html
IGNOREPASSIVEERRORS true
PATHTOPERL /usr/bin/perl
CATALOGURL http://www.drillpine.biz/acatalog/
CGIBINURL http://www.drillpine.biz/cgi-bin/
PATHFROMCGITOCATALOG ../acatalog/
CODEBASE ./
FTPHOST drillpine.biz
FTPUSERNAME *********
FTPPASSWORD *********
PATHTOCGIBIN /cgi-bin
USEPASSIVEFTP true
FTPPATHFROMCGITOCATALOG
HowardW
08-Feb-2003, 08:00 PM
Hi Both
Seem to be progressing a bit but got these messages:
Message 1
"The Network Test was unable to verify that the mail (SMTP) server you specified is valid (the name lookup failed). The mail server name may be correct. If it is (and your email address is correct), you will receive an email soon after this test has completed. This error can occur if the mail server you specified is incorrect, or if your PC network is not properly configured (for more information, see "DNS" in Windows help). If this problem is due to improper network configuration, you may not be able to place orders from this computer using the built in Actinic encryption method for credit card details."
Message 2
"The computer you specified as your mail server is not a valid mail (SMTP) server. Check the computer name or address and try again.)
Message 3
"Mail server messages:
DNS lookup failed - host not found (No such file or directory)"
Any ideas?
Howard
NormanRouxel
08-Feb-2003, 08:45 PM
As suggested above please post ALL your network settings. Use Advanced / Network / Export to get a textfile of these (hide the FTP user and password).
None of us can comment on a message like unable to verify that the mail (SMTP) server you specified is valid unless we know what it is you specified after all.
Also OneAndOne have rather a lot of different hosting plans. Again let us know what your one is.
Norman
HowardW
08-Feb-2003, 09:48 PM
Hi again
Here are the settings:
HTTPPROXYMODE 0
HTTPPROXYADDRESS
HTTPPROXYPORT 80
HTTPPROXYUSER
HTTPPROXYPASSWORD
FTPPROXYMODE 0
FTPPROXYADDRESS
FTPPROXYPORT 21
FTPPROXYUSER
FTPPROXYPASSWORD
SCRIPTID 1
SCRIPTEXT .pl
SMTPHOST auth.smpt.oneandone.co.uk
WEBSITEURL http://www.happyhobbit.co.uk/
IGNOREPASSIVEERRORS true
PATHTOPERL /usr/bin/perl
CATALOGURL http://www.happyhobbit.co.uk/acatalog/
CGIBINURL http://www.happyhobbit.co.uk/cgi-bin/
PATHFROMCGITOCATALOG ../acatalog/
CODEBASE ./
FTPHOST happyhobbit.co.uk
FTPUSERNAME ********
FTPPASSWORD *******
PATHTOCGIBIN /cgi-bin
USEPASSIVEFTP true
FTPPATHFROMCGITOCATALOG
Package we are using is the Professional one (UNIX)
Regards
Howard
NormanRouxel
08-Feb-2003, 11:58 PM
Your settings look OK.
Try going to Advanced / Network Setup and blank out the Mail (SMTP) Server setting, and then do a Test.
If this works OK then you have a problem in that you require to use Authenticated SMTP and Actinic doesn't support this.
It's a bit weird as I've tested 2 OneAndOne sites and the £8.99 Business one is working with SMTP and the £17 Professional one doesn't.
Anyway I have a "work in progress" patched Actinic.pm that gets around this by using the perl Mail::Mailer module (that OneandOne supports) to send mail via the internal Unix sendmail program.
This is for Actinic V6.0.2. I've attached it here if you want to try it out. Go to Site1, back up your existing Actinic.pm and copy the attached file instead.
You will also need a dummy entry in Advanced / Network Setup / Mail (SMTP) Server in order for Actinic to try to send mail. If you leave this blank then Actinic naturally never tries to send mail.
Norman
HowardW
09-Feb-2003, 12:22 AM
Hi Norman
Typical!
Have blanked out the smpt server and test works OK.
Can't see an attachment however.
Howard
NormanRouxel
09-Feb-2003, 12:25 AM
Here's the patch. Also included are patching instructions in case you've not got 6.0.2. Use at your own risk, etc.
Norman
HowardW
09-Feb-2003, 12:27 AM
Thanks Norman
Will get it sorted out tomorrow
Thanks for the help
Howard
NormanRouxel
09-Feb-2003, 12:31 AM
Let me know how you get on please.
Norman
There was a bug in 6.0.0 or 6.0.1 where that error message appeared in error, ie. you got the message but everything worked, this was fixed in 6.0.2.
Regards,
NormanRouxel
09-Feb-2003, 05:08 PM
Regarding the TestSettings.pl bug. If you have a lower version than 6.0.2 (and don't want to upgrade yet - although upgrading to 6.0.2 is best) then you can fix this bug yourself.
Edit TestSettings.pl and look for
$BAD = 0; #define some constants
$GOOD = 1;
And immediately after these add the 2 lines.
$::FALSE = 0;
$::TRUE = 1;
Norman
HowardW
09-Feb-2003, 05:15 PM
No problem - I have upgraded
Howard
TraceyG
07-Mar-2003, 09:14 AM
Hi Norman,
Do you know if your patch has any side-effects? A customer has used it and now his e-mails have lost all their formatting.
Thanks
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.