Announcement

Collapse
No announcement yet.

CGI errors, Red Hat and Actinic

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CGI errors, Red Hat and Actinic

    This has caused many a headache and I was not aware of something until it was found in the Actinic Knowledge Base by our ISP, and had it been known would have saved 2 weeks of hair-tearing.

    It is worth mentioning here as it may save others time when searching the forum on similar problems.

    By default, Redhat Linux servers do not have ASCII uploads enabled - only BINARY. This means that the scripts are corrupted as they are uploaded as Actinic requires script files to be uploaded in ASCII.

    To workaround this you have to enable ASCII transfers on the server. If you are a server administrator then do the following (if you are not a server administrator, then you will need to tell your web host to do the following).

    Open the vsftpd.conf file. This may exist twice on the server, so edit the files in the following locations:

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

    Within it, locate the line

    ascii_upload_enable=YES

    And uncomment it by removing the hash '#' from the beginning of the line.

    Then you need to restart the xinetd service (and also the vsftpd service) and Actinic should upload correctly.

    Ref: KB411
    The same applies if you are using an FTP server other than VSFTP, such as ProFTP, you still need to edit the conf file.

    It is also worth noting that this was not highlighted by Actinic Support when I started the ticket. Can't Actinic's built-in FTP be hard coded to upload scripts in ASCII, would save a lot of trouble.

    Bob
    Supporting the environment. This post uses 100% recycled electrons.
    Bob Isaac
    Director/Web Admin
    Volvo Owners Club Ltd

    Actinic MS Business Version 8.5.2

    #2
    Hi Bob,

    The Knowledgebase is there for this reason, for clients to search for themselves. Actinic Supports does not know everything contained within the Knowledgebase
    To be honest we do have other hosting company who also use Red Hat and they have not experienced this problem.

    Can't Actinic's built-in FTP be hard coded to upload scripts in ASCII, would save a lot of trouble.
    If we were to do the above, then the images would also be uploaded in ASCII mode resulting in corruption.

    Thanks for providing the information for the FTP server

    Kind Regards
    Nadeem Rasool
    SellerDeck Development

    Comment

    Working...
    X