Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008
    Location
    San Diego, CA - USA
    Posts
    11
    Plugin Contributions
    14

    bug Renamed admin folder and lost SSL

    I have recently decided to rename my admin folder in order to increase online security but somehow Zen Cart is no longer encrypting pages in the admin area. Authentication is still encrypted but pages in admin are not. I've already changed the configuration.php file in [admin]/includes folder, that is not the problem.
    Any idea of what may've happened?
    Thanks!

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Renamed admin folder and lost SSL

    By default, at this time, only the login is SSL ... the rest of the Admin is not ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jan 2008
    Location
    San Diego, CA - USA
    Posts
    11
    Plugin Contributions
    14

    Default Re: Renamed admin folder and lost SSL

    [FONT="Verdana"]Yes, the default behavior is to have only the login screen encrypted but it is possible to encrypt pages individually.

    To encrypt the first page in admin we need to change file admin\login.php. Where it says "zen_redirect(zen_href_link(FILENAME_DEFAULT, '', 'NONSSL'));", if we change "NONSSL" to "SSL" it does the trick.

    Likewise, the script in admin\includes\boxes\customers_dhtml.php will define five important pages that can be individually encrypted in the admin area such as customers, orders and paypal. Just change "NONSSL" to "SSL" where applicable.

    Finally, we can encrypt additional pages by replacing "NONSSL" by "SSL" in pages such as "admin\orders.php" (e.g.: the button "Edit" in Customers/Orders can be encrypted by changing the "zen_redirect(zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array ('action')) . 'action=edit', 'NONSSL'));" line.

    I should have done my homework before creating this thread. On the other hand I know that other people will find the discussion helpful.
    [/FONT]

 

 

Similar Threads

  1. v139h confused about renamed admin folder and new admin files for upgrade
    By Pazaz in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 4 Jan 2015, 07:44 PM
  2. Renamed Admin Folder - Issues
    By bigdiogi in forum General Questions
    Replies: 7
    Last Post: 23 Feb 2011, 11:53 PM
  3. Renamed admin folder Oddity
    By buildingblocks in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Dec 2009, 03:40 AM
  4. Renamed Admin folder but "upload to directory" no update of new folder
    By ruriimasu in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Apr 2009, 10:29 AM
  5. Renamed my admin folder and cant login now
    By workaholic in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 Jul 2008, 04:31 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR