Page 5 of 7 FirstFirst ... 34567 LastLast
Results 41 to 50 of 66
  1. #41
    Join Date
    Nov 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Can't login to admin after upgrading to 1.3.9g

    Quote Originally Posted by joeljordan View Post
    Configure Files both reflect the following:

    define('HTTP_SERVER', 'http://www.domain.com');
    define('HTTPS_SERVER', 'https://www.domain.com');
    define('HTTP_CATALOG_SERVER', 'http://www.domain.com');
    define('HTTPS_CATALOG_SERVER', 'https://www.domain.com');

    Originally, they did not have the "www" preceding the domain name. I have tried removing and re-adding "www" but neither works.
    So, inside my /admin was another .htaccess file. I deleted the following:

    # $Id: .htaccess 1105 2005-04-04 22:05:35Z birdbrain $
    #
    # This is used with Apache WebServers
    #
    # For this to work, you must include the parameter 'Options' to
    # the AllowOverride configuration
    #
    # Example:
    #
    # <Directory "/usr/local/apache/htdocs">
    # AllowOverride Options
    # </Directory>
    #
    # 'All' with also work. (This configuration is in the
    # apache/conf/httpd.conf file)
    # The following makes adjustments to the SSL protocol for Internet
    # Explorer browsers
    <IfModule mod_setenvif.c>
    <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
    </IfDefine>
    </IfModule>
    # Fix certain PHP values
    #<IfModule mod_php4.c>
    # php_value session.use_trans_sid 0
    # php_value register_globals 1
    #</IfModule>
    # to turn off register_globals
    # php_value register_globals 0

    And now everything works fine.

    Did I need to keep any of that in there?

  2. #42
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't login to admin after upgrading to 1.3.9g

    Yea, I'm using cpanel with Fantastico, and my host has not updated Zen Cart to h yet. I will upgrade as soon as they make it available.
    Please NEVER NEVER use Fantastico for an upgrade

    Manual is the only reliable method
    Zen-Venom Get Bitten

  3. #43
    Join Date
    Nov 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Can't login to admin after upgrading to 1.3.9g

    Actually, that wasn't it at all. I though everything was working because I was still logged in... the admin section seems to work as long as I can get passed the admin log in. Which I can't if the previously mentioned:

    RewriteCond %{HTTP_HOST} ^domain\.com$ [NC]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]

    are in effect.

    Not sure how to proceed.

    How do I keep my "www" without adding the above to my .htaccess?

  4. #44
    Join Date
    Nov 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Can't login to admin after upgrading to 1.3.9g

    Quote Originally Posted by kobra View Post
    Please NEVER NEVER use Fantastico for an upgrade

    Manual is the only reliable method
    hmm... ok. I guess I just don't trust myself not to crash my own site.

  5. #45
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't login to admin after upgrading to 1.3.9g

    I guess I just don't trust myself not to crash my own site.
    You can let Fantastico crash it As that is what it will do

    Follow the tutorial with a new install in a folder and a new database for the upgrade while your running shop remains running
    https://www.zen-cart.com/tutorials/i...hp?article=108
    Zen-Venom Get Bitten

  6. #46
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't login to admin after upgrading to 1.3.9g

    How do I keep my "www" without adding the above to my .htaccess?
    What is in your configure.php files?

    www or not
    Zen-Venom Get Bitten

  7. #47
    Join Date
    Nov 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Can't login to admin after upgrading to 1.3.9g

    Quote Originally Posted by kobra View Post
    What is in your configure.php files?

    www or not
    www is IN the configure.php files

  8. #48
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't login to admin after upgrading to 1.3.9g

    www is IN the configure.php files
    You didn't post it but try this in htaccess if it was not this way before
    Code:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.your_domain.com$
    RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]
    Make sure that you replace "your_domain.com" with your actual domain name
    Zen-Venom Get Bitten

  9. #49
    Join Date
    Nov 2010
    Posts
    11
    Plugin Contributions
    0

    Default Re: Can't login to admin after upgrading to 1.3.9g

    Quote Originally Posted by kobra View Post
    You didn't post it but try this in htaccess if it was not this way before
    Code:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.your_domain.com$
    RewriteRule ^(.*)$ http://www.your_domain.com/$1 [R=301]
    Make sure that you replace "your_domain.com" with your actual domain name
    That was very similar to what I had before, which I posted above. Here is what is in my .htaccess:

    RewriteEngine on

    # compress all text & html:
    AddOutputFilterByType DEFLATE text/html text/plain text/xml

    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>
    <Files *.html>
    SetOutputFilter DEFLATE
    </Files>
    <Files *.htm>
    SetOutputFilter DEFLATE
    </Files>
    <Files *.php>
    SetOutputFilter DEFLATE
    </Files>

    RewriteCond %{HTTP_USER_AGENT} libwww [NC,OR]

    RewriteCond %{QUERY_STRING} ^(.*)=http [NC]

    RewriteRule ^(.*)$ – [F,L]

    # -FrontPage-
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>


    RewriteCond %{HTTP_HOST} !^www.mydomain.com$
    RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301]

    AuthName mydomain.com
    AuthUserFile /home/user/public_html/_vti_pvt/service.pwd
    AuthGroupFile /home/user/public_html/_vti_pvt/service.grp

  10. #50
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't login to admin after upgrading to 1.3.9g

    Here is what is in my .htaccess:
    If that is actually what you have, you need to change several to your actual domain name
    And "user" to your actual user name
    Zen-Venom Get Bitten

 

 
Page 5 of 7 FirstFirst ... 34567 LastLast

Similar Threads

  1. v153 Can't login to admin after SSl was disabled, How to restore admin access?
    By alpheus in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 20 Dec 2014, 09:34 PM
  2. Replies: 2
    Last Post: 27 Jun 2014, 09:39 AM
  3. Can't login to admin after upgrade; can login with new install
    By dietcokelemon in forum Upgrading to 1.5.x
    Replies: 14
    Last Post: 9 Feb 2014, 05:16 PM
  4. Replies: 8
    Last Post: 15 Jul 2011, 06:39 AM
  5. Can't select template in admin after upgrading
    By KarlH in forum Upgrading from 1.3.x to 1.3.9
    Replies: 0
    Last Post: 14 Nov 2010, 11:25 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