PDA

View Full Version : cgi issues with uploaded site


Kev Challis
02-Oct-2007, 08:35 PM
Hi there.

I was wondering if anyone could help me, I have uploaded my site using actinic and everything was fine on Sunday, everything worked and I was going through it today updating bits here and there and continuing with the testing of the site.

our website is here www.peppercorncottage.com ( still very much being developed)

The changes I have made today were:

changes to tax setup
changes to shipping charges
created best sellers
tested creating a mailing list
played around with the discounts
retrieved some test orders
created test accounts
added some choices to products.

Now if you click on any of cart buttons, search, checkout etc, it now works, but not correctly as none of the images loads and I'm just left with links. It worked fine before today's changes.

I use 2 PC's one at work and the other at home and then transfer the sites folder from PC to PC. So I thought maybe if upload the one from Sunday on the home PC it would override any errors that occurred today, but doing this, it still doesn't work.

Could it be a server error or one of the changes above I made today create this problem?

thanks for any tips / advice
Kev

TraceyHand
02-Oct-2007, 08:58 PM
works 100% fine here but I had a similar problem the other day.

Try completely clearing your cache/cookies etc.
Might sound simplistic but it did work for me

Kev Challis
02-Oct-2007, 09:20 PM
How odd,

I regulary clear cache / cookies etc and have just done so but it still doesn't work for me.

I tried on both firefox and AOL, however it appears to working on some people's PC's, but not on others. I cannot get it work at all on any browser.

Can anyone else confirm this also?

any other ideas on how I can get it to show correctly? :s

thanks
Kev

Duncan Rounding
03-Oct-2007, 06:54 AM
Your cgi-bin links work fine for me too.

Kev Challis
03-Oct-2007, 08:10 AM
What browsers are you using? I'm using the latest firefox, AOL, internet explorer and it works on none of them, both on my home and work PC.

I have been informed it's working correctly on early firefox versions and had some people look at it on other forums I use and lots of people are saying it's not showing as it should.

Is there any settings within Actinic I can change to try and resolve this? I'm using version 8 btw

confused :S

Kev

NormanRouxel
03-Oct-2007, 08:17 AM
I see faulty Cart pages. The reason is that your Cart pages contain

<BASE HREF="http://www.peppercorncottage.com/cgi-bin/">

And that should be

<BASE HREF="http://www.peppercorncottage.com/acatalog/">

And you normal pages contain

<Actinic:BASEHREF VALUE="" FORCED=1 />

Which is again wrong. It should contain

VALUE="http://www.peppercorncottage.com/acatalog/"

This looks like something wrong with your Network Settings. Go to Web / Network Setup and Export these to a text file and post it here (obscure the passwords though).

UPDATE. I've just noticed that if I go to

http://www.peppercorncottage.com

I'm redirected to

http://www.peppercorncottage.com/cgi-bin/

which is where your site (and the acatalog directory) seems to be stored.

Kev Challis
03-Oct-2007, 08:30 AM
thanks for that

HTTPPROXYMODE 0
HTTPPROXYADDRESS
HTTPPROXYPORT 80
HTTPPROXYUSER
HTTPPROXYPASSWORD
FTPPROXYMODE 0
FTPPROXYADDRESS
FTPPROXYPORT 21
FTPPROXYUSER
FTPPROXYPASSWORD
SCRIPTID 1
SCRIPTEXT .pl
SMTPHOST ftp2.myserverworld.net
WEBSITEURL www.peppercorncottage.com
IGNOREPASSIVEERRORS true
USERELATIVECGIURLS true
PATHTOPERL /usr/bin/perl
USEENHANCEFTP true
FTPCLIENTTIMEOUT 15000
FTPRETRYDELAY 3000
FTPSILENT false
FTPMAXRETRIES 3
FTPCONNECTTIMEOUT 25000
SMTPAUTHREQUIRED false
SMTPUSERNAME
SMTPPASSWORD
CATALOGURL http://www.peppercorncottage.com/
CGIBINURL http://www.peppercorncottage.com/cgi-bin/
PATHFROMCGITOCATALOG ../cgi-bin/acatalog/
CODEBASE ./
FTPHOST ftp2.myserverworld.net
FTPUSERNAME peppercorn@peppercorncottage.com
FTPPASSWORD *********
PATHTOCGIBIN cgi-bin/
USEPASSIVEFTP false
FTPPATHFROMCGITOCATALOG

Kev Challis
03-Oct-2007, 08:32 AM
UPDATE. I've just noticed that if I go to

http://www.peppercorncottage.com

I'm redirected to

http://www.peppercorncottage.com/cgi-bin/

which is where your site (and the acatalog directory) seems to be stored.

Yes that is where actinic uploaded them, I had a friend create a re-direct to make it work. It was working fine on sunday, will this cause a problem?

I need to travel into work, I'll log back on in about 1/2 hour.

thanks again for the help, really appreciate it.

Kev

Mike Hughes
03-Oct-2007, 09:16 AM
Try changing these bits:


CATALOGURL http://www.peppercorncottage.com/

PATHFROMCGITOCATALOG ../cgi-bin/acatalog/


to

CATALOGURL http://www.peppercorncottage.com/acatalog/

PATHFROMCGITOCATALOG ../acatalog/

That should fix it.

Mike

Kev Challis
03-Oct-2007, 09:33 AM
I tried that and got the following error message:


An error occurred trying to create the the sub directory "acatalog" on the website

This is usually due to user permissions, but could be due to low disk space on the web server

550 create directory operation failed

I doubt it could low on disk space, our webspace is only running our online store.

EDIT:

Just changed to this and it now works........wohooo!!! thanks guys :D

CATALOGURL http://www.peppercorncottage.com/acatalog/

Kev

NormanRouxel
03-Oct-2007, 11:17 AM
Just changed to this and it now works
You may be referring to some old files that are still in cgi-bin/acatalog

Best repost your network settings (no passwords) just in case.

Mike Hughes
03-Oct-2007, 11:46 AM
Norman's right. It's working at the moment, but not the way it should be. It's worth checking your network settings again if you can export and paste them here.

Mike

Kev Challis
03-Oct-2007, 01:32 PM
HTTPPROXYMODE 0
HTTPPROXYADDRESS
HTTPPROXYPORT 80
HTTPPROXYUSER
HTTPPROXYPASSWORD
FTPPROXYMODE 0
FTPPROXYADDRESS
FTPPROXYPORT 21
FTPPROXYUSER
FTPPROXYPASSWORD
SCRIPTID 1
SCRIPTEXT .pl
SMTPHOST ftp2.myserverworld.net
WEBSITEURL www.peppercorncottage.com
IGNOREPASSIVEERRORS true
USERELATIVECGIURLS true
PATHTOPERL /usr/bin/perl
USEENHANCEFTP true
FTPCLIENTTIMEOUT 15000
FTPRETRYDELAY 3000
FTPSILENT false
FTPMAXRETRIES 3
FTPCONNECTTIMEOUT 25000
SMTPAUTHREQUIRED false
SMTPUSERNAME
SMTPPASSWORD
CATALOGURL http://www.peppercorncottage.com/acatalog/
CGIBINURL http://www.peppercorncottage.com/cgi-bin/
PATHFROMCGITOCATALOG ../cgi-bin/acatalog/
CODEBASE ./
FTPHOST ftp2.myserverworld.net
FTPUSERNAME peppercorn@peppercorncottage.com
FTPPASSWORD *********
PATHTOCGIBIN cgi-bin/
USEPASSIVEFTP false
FTPPATHFROMCGITOCATALOG

ok, here is the current settings....

Thanks
Kev

leehack
03-Oct-2007, 01:38 PM
I always have http:// on the website URL.

Mike Hughes
03-Oct-2007, 01:40 PM
This one is still wrong:

PATHFROMCGITOCATALOG ../cgi-bin/acatalog/

It should be ../acatalog/

Mike

Kev Challis
03-Oct-2007, 01:44 PM
This one is still wrong:

PATHFROMCGITOCATALOG ../cgi-bin/acatalog/

It should be ../acatalog/

Mike

When I do that, I get this error message:

An error occurred trying to create the the sub directory "acatalog" on the website

This is usually due to user permissions, but could be due to low disk space on the web server

550 create directory operation failed

Any idea on how to get around that?

thanks
Kev

leehack
03-Oct-2007, 01:49 PM
Have you searched the forum for webfusion settings, they have been posted before by Mal who uses them a lot of the time. Just copy them, you know they work.

Kev Challis
03-Oct-2007, 01:54 PM
ahh right ok, I will do a quick search and see if I can find them.

EDIT: is the username just mal? as I can't find any posts made by mal

is this what I need ? http://community.actinic.com/showthread.php?t=31308&highlight=webfusion+settings

Kev

leehack
03-Oct-2007, 02:20 PM
Sorry Kev, his username is RuralWeb.

Mike Hughes
03-Oct-2007, 02:28 PM
The settings should be what you've got now. Although it's worth checking as I think your smtp settings might need some work.

You need to make sure your acatalog directory has permissons set to 755 (or 777 if that doesn't work).

Mike

Kev Challis
03-Oct-2007, 03:02 PM
The settings should be what you've got now. Although it's worth checking as I think your smtp settings might need some work.

You need to make sure your acatalog directory has permissons set to 755 (or 777 if that doesn't work).

Mike

yeah I haven't looked at the SMTP settings yet. Also how do I change the permissions to the acatalog directory, sorry this is a big learning curve for me and I'm learning it as I go, my first go at using actinic to create a site.

found the thread by RuralWeb

details below:

These should work with any of the Webfusion packages - NOT 123-reg

HTTPPROXYMODE 0
HTTPPROXYADDRESS
HTTPPROXYPORT 80
HTTPPROXYUSER
HTTPPROXYPASSWORD
FTPPROXYMODE 0
FTPPROXYADDRESS
FTPPROXYPORT 21
FTPPROXYUSER
FTPPROXYPASSWORD
SCRIPTID 1
SCRIPTEXT .pl
SMTPHOST localhost
WEBSITEURL http://www.yourdomain.co.uk/
IGNOREPASSIVEERRORS true
USERELATIVECGIURLS false
PATHTOPERL /usr/bin/perl
USEENHANCEFTP true
FTPCLIENTTIMEOUT 15000
FTPRETRYDELAY 3000
FTPSILENT false
FTPMAXRETRIES 3
FTPCONNECTTIMEOUT 25000
SMTPAUTHREQUIRED false
SMTPUSERNAME
SMTPPASSWORD
CATALOGURL http://www.yourdomain.co.uk/acatalog/
CGIBINURL http://www.yourdomain.co.uk/cgi-bin/
PATHFROMCGITOCATALOG ../public_html/acatalog/
CODEBASE ./
FTPHOST ftp2.myserverworld.net
FTPUSERNAME your user name
FTPPASSWORD your your password
PATHTOCGIBIN /cgi-bin/
USEPASSIVEFTP false
FTPPATHFROMCGITOCATALOG /public_html/acatalog/

thanks
Kev

Mike Hughes
03-Oct-2007, 03:23 PM
To change permissions, ftp into your site using an ftp program such as aceftp, cuteftp etc. Then right-click on a directory and select properties (or similar). Then tick the boxes to give every user all the privileges and that's set to 777.

Mike

Kev Challis
03-Oct-2007, 03:31 PM
thanks a lot, will change that shortly.

Kev