Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2008
    Location
    Carlsbad, CA - USA
    Posts
    3
    Plugin Contributions
    0

    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
    64,674
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Jan 2008
    Location
    Carlsbad, CA - USA
    Posts
    3
    Plugin Contributions
    0

    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. Renamed Admin Folder - Now How Do I Get Image Handler 2 Working ?
    By Mal2869 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 20 Mar 2008, 02:57 AM
  2. PLEASE help--Renamed folder now there's no site
    By Robbyn7 in forum Installing on a Windows Server
    Replies: 5
    Last Post: 7 Apr 2007, 01:06 AM
  3. renamed admin folder then upgraded from 1.3.6 to 7 - upgrade ok?
    By Lisk in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 9 Jan 2007, 03:13 AM
  4. Straight update with renamed admin folder
    By brightidea in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 30 Oct 2006, 01:44 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
  •