Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    Atlanta, GA
    Posts
    118
    Plugin Contributions
    0

    Default site ssl stopped working after delete and restore files

    A wrong keystroke deleted all the files (not folders) in my public_html folder. I restored the files from yesterday's backup and the site runs fine under http, but when it goes to https (either admin or store login), I get a blank page with ./public_html displayed.

    What am I missing?
    http://www.divinelighting.com -- Super Orders 3.0 -- Ultimate SEO -- Quantity Discounts -- SitemapXML -- Image Handler -- Shipworks

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: site ssl stopped working after delete and restore files

    Quote Originally Posted by divinelighting View Post
    I get a page with "./public_html" displayed.

    What am I missing?
    Whatever it is, it isn't something obvious. In fact I don't think I've ever seen anything like this before.

    If I had to take a guess though, I'd suggest that you *might* have an .htaccess file in this folder that is causing some kind of strange server behavour. If so, remove this file. Actually, for testing purposes you should be able to remove all of those files *except* index.php.

    If that solves the problem, re-add nddbc.html, page_not_found.php & ipn_main_handler.php

    To the best of my knowledge, none of the other files in that folder are actually used.

    Cheers
    Rod

  3. #3
    Join Date
    Jun 2006
    Location
    Atlanta, GA
    Posts
    118
    Plugin Contributions
    0

    Default Re: site ssl stopped working after delete and restore files

    I thought the same thing about htaccess. If I remove it, then I get 'not found' on all attempted pages.
    I tried deleting all but htaccess and index.php with the same result, I can browse catalog but not go to https (log in)

    Another odd thing, I was able to navigate admin just fine until I logged out. Now I can't log back into admin because of the same issue. I have tried turning ssl off in configure files, but it still redirects. Here is my htaccess

    ##### NOTE: Replace /shop/ with the relative web path of your catalog in the "Rewrite Base" line below:
    #.htaccess to prevent unauthorized file access files
    OPTIONS -Indexes -ExecCGI
    IndexIgnore */*

    <Files .htaccess>
    order allow,deny
    deny from all
    </Files>

    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /

    # From Ultimate SEO URLs
    RewriteRule ^(.*)-p-(.*).html$ index\.php?main_page=product_info&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-c-(.*).html$ index\.php?main_page=index&cPath=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-m-([0-9]+).html$ index\.php?main_page=index&manufacturers_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pi-([0-9]+).html$ index\.php?main_page=popup_image&pID=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pr-([0-9]+).html$ index\.php?main_page=product_reviews&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-pri-([0-9]+).html$ index\.php?main_page=product_reviews_info&products_id=$2&%{QUERY_STRING} [L]
    RewriteRule ^(.*)-ezp-([0-9]+).html$ index\.php?main_page=page&id=$2&%{QUERY_STRING} [L]

    # For Open Operations Info Manager
    RewriteRule ^(.*)-i-([0-9]+).html$ index\.php?main_page=info_manager&pages_id=$2&%{QUERY_STRING} [L]

    # All other pages
    # Don't rewrite real files or directories
    RewriteCond %{REQUEST_FILENAME} !-f [NC]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*).html$ index\.php?main_page=$1&%{QUERY_STRING} [L]
    http://www.divinelighting.com -- Super Orders 3.0 -- Ultimate SEO -- Quantity Discounts -- SitemapXML -- Image Handler -- Shipworks

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: site ssl stopped working after delete and restore files

    Quote Originally Posted by divinelighting View Post
    I thought the same thing about htaccess. If I remove it, then I get 'not found' on all attempted pages.
    Is your store located in the 'root' folder (public_html/) or is it in a folder like /public_html/store/ ?

    This may or may not be relevent.. I'm just trying to get an idea of your setup.

    Quote Originally Posted by divinelighting View Post
    Another odd thing, I was able to navigate admin just fine until I logged out. Now I can't log back into admin because of the same issue. I have tried turning ssl off in configure files, but it still redirects. Here is my htaccess
    OK, something else is amiss, because the link to your login page is still suggesting SSL is still enabled. (Perhaps you re-enabled it before I checked?)

    What *I'd* be doing at this stage is ensure that you disable SSL (in both config files) and don't re-enable it until you can get valid login and page displays without it. You can check to ensure SSL is off by placing you mouse over the 'login' link and checking to see if it is pointing to https://xxx or just http:/xxxx

    If it always points to https:// then for some reason of other the config files that you have changed are not the ones zencart is actually using.

    Only after you get all working correctly without SSL should you consider re-enabling it, at which point we can start looking at SSL problems only, rather than what could at this point be almost anything (Well, anything that is currently eluding my brilliant diagnostic skills) <he says with tongue firmly in cheek> <grin>

    Cheers
    Rod

  5. #5
    Join Date
    Jun 2006
    Location
    Atlanta, GA
    Posts
    118
    Plugin Contributions
    0

    Default Re: site ssl stopped working after delete and restore files

    Still no luck here getting https viewable. However, I did disable ssl (had to change config permissions to change files) and now the site appears fully functional.

    Hopefully, someone has some other ideas or can recommend some other troubleshooting ideas. To repeat the issue, all https pages show only ./public_html on the screen. This was after I accidentally deleted files in my root directory, as well as the folders above root .htpasswd, public_ftp, and file private.html

    I'm pretty sure that all files have been restored.
    http://www.divinelighting.com -- Super Orders 3.0 -- Ultimate SEO -- Quantity Discounts -- SitemapXML -- Image Handler -- Shipworks

  6. #6
    Join Date
    Jun 2006
    Location
    Atlanta, GA
    Posts
    118
    Plugin Contributions
    0

    Default Re: site ssl stopped working after delete and restore files

    Hi Rod,
    Thanks for your reply. We cross posted there. To answer your question, the store is in the root directory. I disabled ssl and the store functions normally. I don't see how this could be other than an htaccess or permissions issue.
    http://www.divinelighting.com -- Super Orders 3.0 -- Ultimate SEO -- Quantity Discounts -- SitemapXML -- Image Handler -- Shipworks

  7. #7
    Join Date
    Jun 2006
    Location
    Atlanta, GA
    Posts
    118
    Plugin Contributions
    0

    Default Re: site ssl stopped working after delete and restore files

    I guess it could be a sessions or cache issue, though I really don'tknow enough to say....
    http://www.divinelighting.com -- Super Orders 3.0 -- Ultimate SEO -- Quantity Discounts -- SitemapXML -- Image Handler -- Shipworks

 

 

Similar Threads

  1. v154 Image and files still remains in server even after delete
    By diptimoy in forum General Questions
    Replies: 14
    Last Post: 23 Oct 2015, 09:05 AM
  2. v139h admin site not working after SSL install
    By Kathi_S in forum General Questions
    Replies: 9
    Last Post: 7 Mar 2012, 06:17 PM
  3. ssl not working after restore from back up
    By ellis200200 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 23 Nov 2007, 05:31 PM
  4. MySQL stopped workin after I edited a couple zen cart files
    By dino_russ in forum Installing on a Mac Server
    Replies: 6
    Last Post: 16 Nov 2006, 06:46 AM
  5. SSL Stopped Working Suddenly
    By davik1000 in forum General Questions
    Replies: 8
    Last Post: 25 Aug 2006, 04:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg