Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    Jan 2011
    Posts
    42
    Plugin Contributions
    0

    Default Can't Save Files After SSL Install

    My hosting provider just installed my SSL and now I can edit define pages and EZ pages but when I press save I am taken to the admin page.

    I have changed the settings for SSL in the config files. I noticed that my file permissions seemed to have changed since the install. I had them all on 777 but they have changed to 644

    I changed a couple of define pages to 777 and tried again to edit but have the same problem.

    Not sure if it is relevent but my hosting company did a redirect for http://www to www

    They did this by "I've setup the redirect rule in apache config"

    They did it that way because it did not work using cpanel domain redirect options.

    Any ideas?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Can't Save Files After SSL Install

    Who's your host?
    19 years a Zencart User

  3. #3
    Join Date
    Jan 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: Can't Save Files After SSL Install

    My host is infrenion..the ssl is from rapidssl but purchased through my host

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Can't Save Files After SSL Install

    Does this host locate the SSL installation inside a different set of folders?

    Some (cheap) hosts have both:

    httpdocs

    and

    httpsdocs

    ... main folders.

    If they do not have symlinking installed, you will need to REPLICATE your site into both the httpdocs and httpsdocs folder.

    My advice, get out of that hosting environment and host with people who know zencart. See the CERTIFIED HOSTS link above.
    19 years a Zencart User

  5. #5
    Join Date
    Jan 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: Can't Save Files After SSL Install

    There seems to be only one set of files.

    Do i need permission settings open for any other pages/config files to edit define pages or just the define page that I want to edit?

  6. #6
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Can't Save Files After SSL Install

    There seems to be only one set of files
    There would only be one set of files if you started off without SSL, and all the files in a folder called httpdocs or similar. What schoolboy is saying is that some hosts use an antiquated system where SSL files have to be located in another folder, usually called httpsdocs or similar. This means that you have to upload all files in the httpdocs folder to the new httpsdocs folder, and when you edit one file you have to edit both to keep them in sync.

    Files should have permissions of 644, except for the two configure.php files which should have permissions of 644, 444 or 400 (depending on the server configuration). Files should never have permissions of 777.

    Vger

  7. #7
    Join Date
    Jan 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: Can't Save Files After SSL Install

    Hi Vger

    I think I understand what schoolboy was saying. I use the folder public_html and since the install there are no additional folders like public_html_ssl or anything like that. So to answer the question..I only have one folder available for all www files.

    I have been using this hosting comapny for a couple of years and this ssl is in its second year due to expire in a couple of months.

    Previously I had been using oscommerce and leaving all the customizing to a programmer (well he called himself a programmer) but I found out after that he left all the file permissions open and I had big problems with hacking etc with bank security contacting me regarding phising emails etc.

    So this is a first install of zencart for me and I am doing it myself this time. What I meant regarding the file permissions was that when you first install zencart and have to open all the file permissions to set it up, I thought that maybe one of those permissions had been affected with the install of the ssl.

    I didn't mean do I leave the config file on 777 all the time but just while I am trying to trouble shoot the problem.

    I just thought it strange when the ssl was installed some file permissions seemed to have changed which could be why I am having trouble writing to file.

    I would be the first to start complaining to my hosting company if I think it is something they did but I need to be confident that it is not a configuration issue or file permission issue with zencart first.

    That is why I am asking for peoples thoughts on the problem. All feedback is appreciated but schoolboy asks me a question then answers it himself and then provides the solution of changing providers.

    His comment gave me something to check but his answer is incorrect in my case.

  8. #8
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Can't Save Files After SSL Install

    At this point we need your web address (leave spaces to not get it spidered) and post your includes/configure.php file minus all db info.

    Vger

  9. #9
    Join Date
    Jan 2011
    Posts
    42
    Plugin Contributions
    0

    Default Re: Can't Save Files After SSL Install

    Here is the includes/configure.php

    <?php
    /**
    * @package Configuration Settings circa 1.3.9
    * @copyright Copyright 2003-2010 Zen Cart Development Team
    * @copyright Portions Copyright 2003 osCommerce
    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
    * File Built by zc_install on 2011-02-24 10:08:58
    */


    /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/
    /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/

    // Define the webserver and path parameters
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    define('HTTP_SERVER', 'http://www.globalsilverfactory.com');
    define('HTTPS_SERVER', 'https://www.globalsilverfactory.com');

    // Use secure webserver for checkout procedure?
    define('ENABLE_SSL', 'true');

    // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes!
    // * DIR_WS_* = Webserver directories (virtual/URL)
    // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder)
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    define('DIR_WS_PHPBB', '/');

    // * DIR_FS_* = Filesystem directories (local/physical)
    //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/
    define('DIR_FS_CATALOG', '/home/gsf069/public_html/');

    define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
    define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
    define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/');
    define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
    define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');


    The url is globalsilverfactory dot com

    Is it helpful to see the admin/includes/configure.php file aswell?

    Thanks

  10. #10
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Can't Save Files After SSL Install

    Not sure if it is relevent but my hosting company did a redirect for http://www to www
    Well, as your site shows as "Down For Maintenance" there's little checking I can do. What you said your hosts had done (quoted above) doesn't make sense. The redirect would either have been from http://www. to http:// or from http:// to http://www.

    However, there's one thing that is apparent and that is that all requests are being redirected to https://

    As your includes/configure.php file appears to be okay I suggest that your problems are down to something your hosts did and that it's best to ask them exactly what they did.

    Vger

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 28 Nov 2010, 06:30 AM
  2. "Fatal error" message - can;t save edited files
    By musicman77 in forum Customization from the Admin
    Replies: 16
    Last Post: 29 Jun 2010, 05:11 PM
  3. Admin won't save after IP change and new SSL?
    By minneapolis_dan in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 8 Oct 2009, 04:10 AM
  4. After SSL Install, Customers Can't Register or Login
    By jennyzzzz in forum Managing Customers and Orders
    Replies: 4
    Last Post: 7 May 2009, 10:10 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