Cannot Log Back In

Discussion in 'SaleJunction E-Commerce WordPress Theme' started by pkillick, Dec 28, 2014.

  1. pkillick

    pkillick Guest

    Joined:
    Apr 19, 2013
    Messages:
    17
    Likes Received:
    0
    Very strange issue with Sale Junction, I have installed the theme and made changes.
    But I cannot log back into the site to manage it, in fact I can create a new user and I am logged in but cannot log back in as that user either.

    The only way I can get back into the site is to rename the theme within the website using winSCP an then I can login. Rename the theme back activate it and continue working on it.

    I have turned the Captcha off but I get the same effect on or off.

    In short once the admin logs out I cannot get back in
     
  2. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,

    Theme don't have such problem. I think your customization is generating this issue or any plugin.
    So please download a fresh copy of theme again from your members area and upload it. It will resolve this issue.

    Thanks & Regards
    Pramod
     
  3. pkillick

    pkillick Guest

    Joined:
    Apr 19, 2013
    Messages:
    17
    Likes Received:
    0
    Hi Pramod

    Found the issue, but not sure how to fix.

    Under Settings > General I have the following:-

    Wordpress Address http://domain/wordpress
    Site Address http://domain

    I use the following in my websites to work with the above and have no issues with themes in your themes.
    If I set Site Address http://domain/wordpress I can get in with no issues.

    My .htaccess is below
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    My index.php
    <?php
    /**
    * Front to the WordPress application. This file doesn't do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */
    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define('WP_USE_THEMES', true);
    /** Loads the WordPress Environment and Template */
    require('./wordpress/wp-blog-header.php');
     
  4. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,

    Please provide the following information listed below.

    This Thread Link:
    Your Website URL:
    WordPress Username:
    WordPress Password:

    FTP username:
    FTP password:

    Send this information on our email at [email protected]

    Thanks & Regards
    Pramod
     
  5. pkillick

    pkillick Guest

    Joined:
    Apr 19, 2013
    Messages:
    17
    Likes Received:
    0
    Information sent as requested
     
  6. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
  7. pkillick

    pkillick Guest

    Joined:
    Apr 19, 2013
    Messages:
    17
    Likes Received:
    0
    Hi Pramod

    Yes I have read that before and I think you misunderstand, my .htaccess and index.php are use on all my websites so I can do just that they are based on that link.

    The issue I have is when I make the above changes update the files I am not able to login using the theme, if I disable the theme I can login....

    So there is something in the theme that does not like the files, I know they are correct I use them with other themes from your site.

    Try it, set one up using SalesJunction make the changes and see what happens.

    I have added the index.php and .htaccess files to the attached zip
     

    Attached Files:

  8. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,

    Your .htaccess file missing this line

    RewriteBase /wordpress/


    Use like this because you have installed theme on wordpress directory.

    Code:
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
     
    # END WordPress

    Thanks & Regards
    Pramod
     
  9. pkillick

    pkillick Guest

    Joined:
    Apr 19, 2013
    Messages:
    17
    Likes Received:
    0
    Many thanks, have copied you .htaccess and the issue has come back.

    Cannot log back in.
     
  10. Pramod

    Pramod Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,847
    Likes Received:
    63
    Hello,

    Please provide the complete cpanel details at [email protected]


    Thanks & Regards
    Pramod
     
  11. pkillick

    pkillick Guest

    Joined:
    Apr 19, 2013
    Messages:
    17
    Likes Received:
    0
    I think its fixed, just let me check it out.

    This is what I have used

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    # Turn on rewrites.
    RewriteEngine on
    # Don't apply to URLs that go to existing files or folders.
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    # Only apply to URLs that aren't already under /wp.
    RewriteCond %{REQUEST_URI} !^/wp/
    # Rewrite all those to insert /wp.
    RewriteRule ^(.*)$ /wordpress/$1
    # Redirect the root folder.
    RewriteCond %{HTTP_HOST} ^(www.)?valetmax.co.uk$
    RewriteRule ^(/)?$ wordpress/ [L]
    </IfModule>
    # END WordPress
     
  12. pkillick

    pkillick Guest

    Joined:
    Apr 19, 2013
    Messages:
    17
    Likes Received:
    0
    Nope did not fix the issue, I will email you my cpanel details for this website
     

Share This Page