Jump to content

kab

Member
  • Posts

    80
  • Joined

  • Last visited

Posts posted by kab

  1. Cannot figure out why the connection to the smtp server is failing when configuring the email. I am on Ubuntu/Apache. This worked beautifully on windows. Am I missing a library or something?

    SMTP -> FROM SERVER:
    CLIENT -> SMTP: EHLO www.mydomain.com
    SMTP -> FROM SERVER:
    SMTP -> ERROR: EHLO command failed:
    SMTP -> NOTICE: EOF caught while checking if connected
    SMTP connect() failed.

    [[RESOLVED!]]

  2. So obviously there will be competitors and there are already a number of options around for online stores. However, the general perception is that CC is a bit outdated (as I was told by a few online consultants I checked with). Having said that, I checked out a few stores such as CS-Cart and Magento. Yet I keep coming back to CC due to my comfort level with its customization (though CS-Cart is very, very close). Currently my installs are on my local machine and once the entire store is properly configured, I will port the files, folders and data to the target hosting platform (to be finalized between A2Hosting & Avrixe). Hence, a few critical questions now arise (in light of the existing range of options available):

    1. What are the number of products which CC will be able to sustain? I am looking at around 500-1000 digital products, 2000+ physical products each having around 3 images on an average.

    2. What number of concurrent users can CC sustain; the load that it can bear and the number of concurrent and mutually exclusive transactions which it can effortlessly carry out?

    3. What is the current version viz. CC6's stability & robustness index on a scale of 0 - 100?

    4. What is the frequency of upgrades/updates for CC6? Does it require the store to be shutdown and reconfigured after each upgrade/update (w.e.f CC6)?

     

  3. RESOLVED!

    For those facing this issue - the resolution is to add the following lines in your apache2.conf (took me 2 days' research to get here :) )

    <Directory /var/www/yourdomain.com/public_html> (assuming your files are stored in this path)
    # Options Indexes FollowSymLinks
        Options FollowSymLinks    
        AllowOverride All
        Require all granted
    </Directory>

    Nothing else needs to be done (other than setting up the correct file/folder rights and ownerships for optimum security)

  4. Did a complete re-install; followed all the instructions given above; but still URLs not getting re-written. mod_rewrite is enabled. File/Folder rights set to full access to all. Flabbergasted! Can't even get to the login.html page.

     

    Not Found

    The requested URL /login.html was not found on this server.


    Apache/2.4.7 (Ubuntu) Server at www.mydomain.com Port 80
  5. Hello Kealan,

    Here's a dump of the .htaccess (it is the default which I copied during the installation). I am running the store from the default root location i.e. http://www.mydomain.com/ and using http. I plan to move to https once I have this in place.

    =====================

    Options -Indexes


    ## File Security
    <FilesMatch "\.(htaccess)$">
     Order Allow,Deny
     Deny from all
    </FilesMatch>

    #### Apache directory listing rules ####
    DirectoryIndex index.php index.htm index.html
    IndexIgnore *

    #### Rewrite rules for SEO functionality ####
    <IfModule mod_rewrite.c>
      RewriteEngine On
     
      ######## START v4 SEO URL BACKWARD COMPATIBILITY ########
      RewriteCond %{QUERY_STRING} (.*)$
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule cat_([0-9]+)(\.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC]

      RewriteCond %{QUERY_STRING} (.*)$
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule prod_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]

      RewriteCond %{QUERY_STRING} (.*)$
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule info_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=document&doc_id=$1&%1 [NC]

      RewriteCond %{QUERY_STRING} (.*)$
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule tell_([0-9]+)(\.[a-z]{3,4})?$ index.php?_a=product&product_id=$1&%1 [NC]

      RewriteCond %{QUERY_STRING} (.*)$
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule _saleItems(\.[a-z]+)?(\?.*)?$ index.php?_a=saleitems&%1 [NC,L]
      ######## END v4 SEO URL BACKWARD COMPATIBILITY ########

      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_URI} !=/favicon.ico
      RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA]
    </IfModule>

    =====================

     

  6. Hi Brian,

    The test file is getting accessed from www.mydomain.com/test.html.

    I am curious about the nature of permissions required for the folders and sub-folders in cubecart. I have a hunch that somewhere CC dynamically writes these htmls (you can confirm this) and these are either not getting written or getting read. I did a small experiment with the images folders (I was not able to load product images) and I changed the permissions to rwx-rwx-rwx for "images" and all its sub-folders. The images could be uploaded after that. The same issue with the /cache folder.

    So, this leads me to believe that there is some dynamic content being generated which is not getting written and hence the error. Unfortunately I am unable to trace this path. Key issue is with the Product Description, Login, Register, About Us, Linking Policy, Terms & Conditions, Return Policy & Contact Us links on the homepage (almost about every html redirect link except javascript related code such as "add to basket" etc).

    What would be interesting to know is where do these files get written to, so that I can try different permissions for those specific folders only.

  7. The specific error which I get is the latter one - see below:

    Not Found

    The requested URL /terms-and-conditions.html was not found on this server.


    Apache/2.4.7 (Ubuntu) Server at www.xxxxxxxxx.com Port 80
     
    This is after I enabled the rewrite module in apache. This is also happening for the LOGIN & REGISTER links.
     
    So I guess this is not a regular 404 but something else which I am overlooking. I reviewed the .htaccess (and also the thread). Did not see anything missing there. I guess the error started popping up after I changed permissions (which I have now reverted to full-access now).
  8. For some reason, the policy documents are not opening in my Linux environment. They were opening in the windows (WAMP) environment quite fine. Any clue?

    Ref. links to About Us, Terms & Conditions, Return Policy etc.

    The requested URL /linking-policy.html was not found on this server.


    The requested URL /login.html was not found on this server.


    Does it have something to do with the SEO settings?

    Also, upon executing Maintenance, an error pops up - "Failed to Build Sitemap". Now, I have set permissions for all the folders and sub-folders + files to rwx-rwx-rwx to make sure everything runs here. Any specific folder permissions which I need to undo or reset?

  9. How can I change the skin of the front-end cart depending on the device? Example, I want a specific skin when someone logs in from a tablet/mobile and a different skin when someone logs in from a PC.

    ps: I tried 2 separate installs for mobile and PC but it has a hitch - product images and other external files too need to be stored separately for both installs i.e. I may have to replicate these files manually in both installations :( I can create a link in the /mobile instance, but not sure if that will be possible in a hosting service.

×
×
  • Create New...