PDA

View Full Version : UK2 Trouble with uploading


F3ZZ3H
10-Dec-2008, 03:21 PM
Hi Guys

Total newbie here im affraid. In the past i have used other carts but have been asked to use Actinic for this project. Everything was going well untill i went to upoad, i get the below error message right at the end. The website is uploaded and all of the HTML pages a viewable but anything that requires CGI seems to bring up an error page. I've searched for answers all day but i can't seem to find the answer.

Somebody suggested changing information in

/etc/vsftpd/vsftpd.conf
/etc/vsftpd.conf

exceopt this file doesnt exist..

The host is UK2.net which i have seen other actinic sits running on so i don't think its a server compatability issue. But there customer support seems to be ... lacking.

Here is the error message i get.

<a href="http://s5.photobucket.com/albums/y154/F3ZZ3H/?action=view&current=error_message.jpg" target="_blank"><img src="http://i5.photobucket.com/albums/y154/F3ZZ3H/error_message.jpg" border="0" alt="Photobucket"></a>

Any help would be greatley apprieciated.

Mike Hughes
10-Dec-2008, 03:32 PM
website url?

F3ZZ3H
10-Dec-2008, 03:43 PM
hey sorry its

http://www.smartpartseurope.co.uk/

F3ZZ3H
10-Dec-2008, 03:44 PM
www.smartpartseurope.co.uk

guccij
10-Dec-2008, 03:48 PM
What are your network settings?

F3ZZ3H
10-Dec-2008, 03:55 PM
What are your network settings?

Sorry is there a way of exporting this from actinic? Or do you have to type this our manually?

Like i said total newbie to Actinic.

leehack
10-Dec-2008, 04:27 PM
Open up your network settings dialog and press the export button.

Darren B
10-Dec-2008, 06:37 PM
Dont expect any form of support from UK2, they take around 24 to 48 hours and normally answer your question with a question.

F3ZZ3H
11-Dec-2008, 07:24 AM
Ok here's the network settings as requested.


HTTPPROXYMODE 0
HTTPPROXYADDRESS
HTTPPROXYPORT 80
HTTPPROXYUSER
HTTPPROXYPASSWORD
FTPPROXYMODE 0
FTPPROXYADDRESS
FTPPROXYPORT 21
FTPPROXYUSER
FTPPROXYPASSWORD
SCRIPTID 2
SCRIPTEXT .pl
SMTPHOST
WEBSITEURL http://www.smartpartseurope.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.smartpartseurope.co.uk/store/
ONLINESTOREFOLDERNAME store
CGIBINURL http://www.smartpartseurope.co.uk/cgi-bin/
PATHFROMCGITOCATALOG ../store/
CODEBASE ./
FTPHOST ftp.smartpartseurope.co.uk
FTPUSERNAME *****
FTPPASSWORD *****
PATHTOCGIBIN /public_html/cgi-bin/
USEPASSIVEFTP true
FTPPATHFROMCGITOCATALOG /public_html/store/

F3ZZ3H
11-Dec-2008, 07:35 AM
Also i had a response from UK2 this morning when i came into work, i've heard so many horror stories about them but they do seem to be ok so far support wise.

There response said this.

We could see that the permission of the folders you mention are with correct permission. Please see the attached snapshot.

============================================================
drwxr-xr-x 12 smartpar nobody 4096 Dec 10 15:58 ./
drwx--x--x 19 smartpar smartpar 4096 Dec 10 15:46 ../
drwxr-xr-x 2 smartpar smartpar 4096 Dec 10 16:32 cgi-bin/
-rw-r--r-- 1 smartpar smartpar 365 Dec 1 14:35 .htaccess
drwxr-xr-x 2 smartpar smartpar 4096 Dec 1 14:35 images/
drwxr-xr-x 2 smartpar smartpar 4096 Dec 1 14:35 _private/
drwxr-xr-x 3 smartpar smartpar 4096 Dec 2 16:37 secure/
drwxrwxrwx 3 smartpar smartpar 20480 Dec 10 16:44 store/
drwxr-xr-x 4 smartpar smartpar 4096 Dec 1 14:35 _vti_bin/
drwxr-xr-x 2 smartpar smartpar 4096 Dec 1 14:35 _vti_cnf/
drwxr-xr-x 2 smartpar smartpar 4096 Dec 1 14:35 _vti_log/
============================================================


So it can't be the permissons, also when i go to troubleshooting website purge and refresh is not a option i can select which i remember somebody else suggesting trying.. I have purged in the normal way all undeed data and compressed it all aswell.

guccij
11-Dec-2008, 07:56 AM
The PATHTOCGIBIN looks wrong. You have /public_html/cgi-bin/

Shouldn't it just be /cgi-bin/ ?

Mike Hughes
11-Dec-2008, 08:00 AM
I don't see any html on your site.

This part looks wrong:

FTPPATHFROMCGITOCATALOG /public_html/store/


Try putting .. in front of the path or leaving blank.

What happens when you do a network test in actinic? Try it and then copy and paste the results here.

Mike

PS.

The PATHTOCGIBIN looks wrong. You have /public_html/cgi-bin/

Shouldn't it just be /cgi-bin/ ?


A lot of sites have everything in a /public_html/ folder in which case this is right. If this folder exists and everything is in it then leave that bit alone.

guccij
11-Dec-2008, 08:03 AM
A lot of sites have everything in a /public_html/ folder in which case this is right. If this folder exists and everything is in it then leave that bit alone.I was looking at the /store bit - and the cgibin url.

Mike Hughes
11-Dec-2008, 08:33 AM
I guess it all depends on where you are when you ftp into the site. If you have to navigate into the public_html folder to see the rest of the folders then having public_html in the path would be correct.

Or is this bit from the website viewpoint? Maybe you're right. It seems so long since I last did this that I might be forgetting what's what.

Mike

Darren B
11-Dec-2008, 08:54 AM
OK as i say to alot of people, create a new ftp account that only has access to the public_html folder, then use your proper url's, no extra bits added to it

F3ZZ3H
11-Dec-2008, 10:33 AM
OK, so now i have created a new FTP account that links straight into Public_HTML, i have set that up actinic but there is no change. I still get the same error message as before.. i know the persmissons are correct and the only thing the error message suggests it could be is either a incorrect cgi path in these setting or a error in the script which i have not change at all from the act template used.

I have tried the below

FTPPATHFROMCGITOCATALOG
FTPPATHFROMCGITOCATALOG ../acatalog/
FTPPATHFROMCGITOCATALOG /acatalog/

with no different results. The only thing i have noticed is in the public html file there is /secure/cgi-bin/ ?? Any ideas, this is a empty folder so surely can't have any effect?



HTTPPROXYMODE 0
HTTPPROXYADDRESS
HTTPPROXYPORT 80
HTTPPROXYUSER
HTTPPROXYPASSWORD
FTPPROXYMODE 0
FTPPROXYADDRESS
FTPPROXYPORT 21
FTPPROXYUSER
FTPPROXYPASSWORD
SCRIPTID 5
SCRIPTEXT .pl
SMTPHOST
WEBSITEURL http://www.smartpartseurope.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.smartpartseurope.co.uk/acatalog/
ONLINESTOREFOLDERNAME acatalog
CGIBINURL http://www.smartpartseurope.co.uk/cgi-bin/
PATHFROMCGITOCATALOG ../acatalog/
CODEBASE ./
FTPHOST ftp.smartpartseurope.co.uk
FTPUSERNAME ***
FTPPASSWORD ***
PATHTOCGIBIN /cgi-bin/
USEPASSIVEFTP false
FTPPATHFROMCGITOCATALOG

guccij
11-Dec-2008, 11:02 AM
You site seems to be in the acatalog folder. What are using public_html for?

Mike Hughes
11-Dec-2008, 11:47 AM
The Error 500 page on cgi-bin is usually to do with permissions, but can sometimes be due to the wrong upload format.

If you ftp into your site:

1. Are the perl scripts in the cgi-bin?

2. On most ftp programs you can check the folders permissions by right-clicking on the folder and selecting 'view permissions' (or similar). What do you get when you check this?

Mike

F3ZZ3H
11-Dec-2008, 12:24 PM
The Error 500 page on cgi-bin is usually to do with permissions, but can sometimes be due to the wrong upload format.

If you ftp into your site:

1. Are the perl scripts in the cgi-bin?

2. On most ftp programs you can check the folders permissions by right-clicking on the folder and selecting 'view permissions' (or similar). What do you get when you check this?

Mike


1.) Perl Scripts are all in the CGI-BIN.

2.)

acatalog is 777
cgi-bin 775

So permissons are correct as far as i am aware.

:( Really appreiciate all the help guys, but so far getting nowhere. Anybody got any more suggestions, i'm getting pretty desperate to work this out now.

leehack
11-Dec-2008, 12:35 PM
Its quicker to move hosts than try and solve these things most of the time. Choose a proven actinic host with settings provided in the forum. It really is a 2 minute job if you do. Time is money.

Mike Hughes
11-Dec-2008, 12:40 PM
If scripts are in place and the permission OK. then it may be the upload format.

See this http://community.actinic.com/showthread.php?t=45155 in the knowledge base.

Mike

F3ZZ3H
11-Dec-2008, 02:57 PM
If scripts are in place and the permission OK. then it may be the upload format.

See this http://community.actinic.com/showthread.php?t=45155 in the knowledge base.

Mike

I can't see the files

/etc/vsftpd/vsftpd.conf
/etc/vsftpd.conf

so i got hold of Uk2 and there reply was :-

Hi Luke,

"Ascii_upload" is already enabled in our serer. If you want to upload files using ascii mode, you have to change the mode in your email client.

Please feel free to contact us for further assistance.



For starters i'm not sure why they mention a e-mail client but i presume they mean FTP.

From what i can gather now all of the settings on the server are fine, permissons are fine, actinic settings are fine . . . only thing i haven't been able to do is website purge and refresh under toubleshooting as it is grey'd out. But as i havent changed any of the code i can't imagine i'd need to do that and i have purged and refreshed seperatly anyways.... any more ideas guys...

Darren B
11-Dec-2008, 03:07 PM
you mention you have a folder secure/cgi-bin it is possible you cant run scripts outside of this

so have your tried changing
CGIBINURL http://www.smartpartseurope.co.uk/cgi-bin/
PATHTOCGIBIN /cgi-bin/
to
CGIBINURL http://www.smartpartseurope.co.uk/secure/cgi-bin (http://www.smartpartseurope.co.uk/cgi-bin/)
PATHTOCGIBIN /secure/cgi-bin/

grantglendinnin
11-Dec-2008, 03:47 PM
so i got hold of Uk2 and there reply was :-


I'm actually amazed you got a reply from UK2 support. IMO they're just as bad as any old teenage reseller webhost running the 'company' from their bedroom. Best advice you'll get, as previously mentioned - move to a host with a proven Actinic record.

leehack
11-Dec-2008, 03:54 PM
Hello brickwall, how are you today. Mind if I scottish kiss you?

Mike Hughes
11-Dec-2008, 05:06 PM
Despite what UK2 say, the ascii problem was exactly the problem with this UK2 customer here: http://community.actinic.com/showthread.php?p=251478

He definitely says it wasn't enabled by default.

I kind of agree with the others though. My own experience with UK2, admitttedly a long time ago, was less than favourable. It might be a good idea to find a better host now, while your site is still young. There are plenty of hosts around that will run actinic without any problems.

Mike

F3ZZ3H
16-Dec-2008, 10:39 AM
Hi guys,

Thanks for all your help..

Just wanted to let you all know that the problem was not with UK2. It was actually a problem with scripts somewhere, i copied the .pl and .pm files from the original folder back into Site1 and voila no more merging problems.

I know everybody seems to have a bad view of UK2 and in the past i would of agreed with you but they have been nothing but very helpful through all of this and there hosting is already setup to work with Actinic. This was purely a newbie being a newbie problem.

Thanks again everybody.

Darren B
16-Dec-2008, 10:45 AM
I know everybody seems to have a bad view of UK2 .

My experience is less than 3 months old, and some emails they never replied to, i used to get a feed back thing everythime i raised a question, i always filled it in so maybe someone actually read the responses to these, obviosuly they never read the tickets

grantglendinnin
16-Dec-2008, 10:48 AM
Hello brickwall, how are you today. Mind if I scottish kiss you?

:confused:??????

Darren B
16-Dec-2008, 10:58 AM
Come on grant keep up, banging your head against a brick wall

grantglendinnin
16-Dec-2008, 11:13 AM
Come on grant keep up, banging your head against a brick wall

My fault: Beginning of a long, busy week with Actinic-issues falling all around me. Unfortunately for me it's that time of year where all shop owners are panicking about this, that and the next thing and asking Actinic for support.

Rob Barclay
17-Dec-2008, 08:31 AM
I have two servers with UK2 and have had fantastic support from them, I pay £29 per month and get 24/7 support and when i screwed the whole server up in August by running chown command incorrectly they spent a whole day putting my server right.

Glad you got it sorted, was going to send you one of my actinic network settings files to try (obv with the required sections changed)