Announcement

Collapse
No announcement yet.

"Cart Options"

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

    "Cart Options"

    I am posting this as it is something I had missed over the years and have only just learned of thanks to Dean in support.

    Client has a massive site with thousands of files in the acatalog folder - locally there are 80,000 in the Site1 folder!

    He became unable to download orders because the ftp limit in cPanel (and apparently other alternatives) is 10,000 so in effect the Sellerdeck software could not 'find' the *.ord files resulting in the software hanging and orders not being downloaded.

    I can create a hosting package using SSH and sFTP (which does not have the file limit) but Sellerdeck software uses a combination of FTP and HTTP protocols to view and download orders. The software uses 'Secure FTP' but does NOT support 'SFTP' or 'SSH'.

    The solution is a little noticed button in Network Settings on the right - 'Cart Options'.
    Click image for larger version

Name:	netsetting.jpg
Views:	109
Size:	91.6 KB
ID:	555230

    Untick 'Use Standard Settings' and in 'Path to Cart Files' enter this:

    Code:
    ./cart/
    Go to the cgi-bin using your FTP program and create the folder 'cart' in the cgi-bin CHMOD 755.

    Click image for larger version

Name:	cartpos.jpg
Views:	99
Size:	56.1 KB
ID:	555232

    If you search for 'Cart options' in the Sellerdeck Help you won't find it but look in the alphabetical list and there it is:

    Cart Options

    The 'Cart Options' button in 'Web | Network Setup' allows you to change how Sellerdeck creates and uses the online session files (*.session) and order files (*.ord).
    These files are created and managed by the online scripts, and normally run without problems.
    Occasionally, however, a web server may object to the files, or may insist on creating them with the wrong permissions online.
    In this case, the 'Cart Options' window may provide some options.

    Click image for larger version

Name:	cartoptions.jpg
Views:	281
Size:	18.2 KB
ID:	555229
    The fields within this window are explained below:
    Field Meaning
    Use Standard Settings If you leave this box selected, then the session and order files created by the scripts online will be created in the online store folder and they will have standard permissions.
    Only de-select this box an edit the settings if you are having problems with these files having their permissions 'locked'.
    Cart Locked Permission This field controls the alternate permissions of session and order files. This value must be specified in form of xxxx (e.g. 0755). Once it is defined the session and order files will use this permission instead of the default '0200'.
    This permission only applies to the locked state of the files i.e. the status when the scripts are not doing any operation on the given file.
    Cart Unlocked Permission Same as the 'Cart Locked Permissions' but this variable controls the permission of the files in their unlocked state i.e. the status when the file is free for modification (when the Sellerdeck scripts are doing a read/write operation on them).
    Path To Cart Files This field controls the alternate path to the session and order files. The path can be either absolute or relative to the 'CGI-BIN'.
    Note that the folder you refer to will not be created by Sellerdeck, therefore it should either already exist or it should be created manually. This folder can even be outside the web server's scope if the server configuration doesn't restrict CGI activity outside the web space.
    This value must include a training slash '/' at the end of the path e.g. '../acatalog/myfolder/', '../myfolder/', '../../myfolder/' etc.
    If you choose to create the order and session files in a folder other than your online store folder, then you must manually create the new folder on the server. Otherwise you will receive an error similar to the following:
    Code:
    A General Script Error Occurred
    --------------------------------------------------
    Error: Error opening /dirname/XXXXXXXXXXX.session (No such file or directory)
    --------------------------------------------------Press the Browser back button and try again or contact the site owner
    Attached Files
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    Not one that has affected us but thank you for sharing the knowledge Jonathan.
    Jeff Nurse
    Managing Director

    Aerofoil Design
    Office Design & Furniture Solutions
    www.aerofoil.net

    Comment

    Working...
    X