503 Service Temporarily Unavailable

14,013

Ok, So I managed to sort out the issue. Turns out the issue was in the Database. There is a table called 'CSCART_COMPANIES', the domain was pointing to the staging site as opposed to the local site.

Hopefully this helps others out in the future.

Share:
14,013

Related videos on Youtube

JDavies
Author by

JDavies

Updated on June 04, 2022

Comments

  • JDavies
    JDavies almost 2 years

    I understand this error is fairly common, but I've come to a bit of a dead end in terms of debugging the issue. I'm running windows 8.1 with WAMP. I have multiple websites running from the WAMP configuration, most of them being Drupal sites and a couple being CS-Cart sites. The one I'm having an issue with is the CS-Cart site.

    I've setup my hosts/vhosts file in exactly the same way I've set up all of my existing sites. However when I go to the browser and try and view the site, I get a 'Service unavailable' message. In my console it turns out it's a '503 Service Temporarily Unavailable'. I've checked the database settings and I have an .htaccess file.

    Here is an example of my hosts file config:

    <VirtualHost *:80>
        ServerAdmin [email protected]
        DocumentRoot "C:/wamp/www/website-location"
        ServerName local.website.co.uk
        ErrorLog "logs/local.website.co.uk-error.log"
        CustomLog "logs/local.website.co.uk-access.log" common
    </VirtualHost>
    
    127.0.0.1     local.website.co.uk
    

    I've checked the error logs and it's not printing anything at all. The only thing I can see are the HTTP requests in the access file. Any help would be much appreciated.

    • singh1469
      singh1469 over 9 years
      Have you checked the apache error log for errors?
    • singh1469
      singh1469 over 9 years
    • JDavies
      JDavies over 9 years
      The Icon is green, all the other sites are still running. It's just this one.
  • dhaupin
    dhaupin over 8 years
    Not sure if older installs had this, but there is another company_website row found in cscart_settings_objects table that should prob be changed as well if its not already. Also, there is a license key there too that is domain based if you are changing domain names.