Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Jan 2017
    Location
    uk
    Posts
    8
    Plugin Contributions
    0

    Default Admin panel address redirects to website error page

    Hi there, I have a brand new install of 1.5.5e with no plug ins or templates etc, just a clean install.
    I am installing it into a sub directory so it'll be www.exampledomain.com/store
    After install if I go to that address I see the zen store and it looks good, sample info installed and everything works fine.
    However if I go to the admin panel (the address given after installation is complete) then I get redirected to my websites error page.
    I have disabled .htaccess for now in the admin folder, this doesn't help.

    I am at a total loss, everything is perfect apart from this, any help gratefully received, thanks

  2. #2
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Admin panel address redirects to website error page

    Most likely this is an issue with either the SSL certificate if installed or the admin/includes/configure.php file. The htaccess in the admin directory as provided by ZC would not directly cause this issue assuming your operating system is within the published constraints for use. The htaccess that would be a problem would be in either the store directory (would have been manually added) in the root directory (directory in which store is in) or above that.

    The other alternative reason for some sort of error would likely be admin/includes/configure.php.

    What was the source of your ZC package?

    Are there any myDebug logs in the logs directory related to this? Refer to the most recent. If posting, please obscure information to remain private. If posting also just before pasting the content, please click the # symbol in the messagebox toolbar. This will encase the pasted content in code tags.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2017
    Location
    uk
    Posts
    8
    Plugin Contributions
    0

    Default Re: Admin panel address redirects to website error page

    Quote Originally Posted by mc12345678 View Post
    Most likely this is an issue with either the SSL certificate if installed or the admin/includes/configure.php file. The htaccess in the admin directory as provided by ZC would not directly cause this issue assuming your operating system is within the published constraints for use. The htaccess that would be a problem would be in either the store directory (would have been manually added) in the root directory (directory in which store is in) or above that.

    The other alternative reason for some sort of error would likely be admin/includes/configure.php.

    What was the source of your ZC package?

    Are there any myDebug logs in the logs directory related to this? Refer to the most recent. If posting, please obscure information to remain private. If posting also just before pasting the content, please click the # symbol in the messagebox toolbar. This will encase the pasted content in code tags.
    Thanks for the reply, the source of the ZC was from a link on here, the official link.
    I will see if the htaccess file in the root could cause it, it's a joomla installation, again, nothing fancy really and I never changed the htaccess file.
    There is no SSL on the site, I may change this in the future but as of now there is none.
    Would it help if I attached the htaccess file? Or any other file?

    Again, thank you for the help, I feel so close but so far away!

  4. #4
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Admin panel address redirects to website error page

    It can feel that way. :)

    All three of the following files would help either to identify or to rule out where the issue is at, though the first two deal directly with the install which shouldn't be an issue if they haven't been modified (beyond your obscuring sensitive data in them). Also, the logs folder off of store should be checked in the event that possibly the undisclosed php version is a factor.

    1. store/includes/configure.php
    2. store/YOUR_ADMIN/includes/configure.php
    3. .htaccess
    4. store/logs (most recent myadminDebug)

    Remember each of these potentially contains sensitive information such as DB_ credentials, admin directory (more so in the logs file), etc...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jan 2017
    Location
    uk
    Posts
    8
    Plugin Contributions
    0

    Default Re: Admin panel address redirects to website error page

    Quote Originally Posted by mc12345678 View Post
    It can feel that way. :)

    All three of the following files would help either to identify or to rule out where the issue is at, though the first two deal directly with the install which shouldn't be an issue if they haven't been modified (beyond your obscuring sensitive data in them). Also, the logs folder off of store should be checked in the event that possibly the undisclosed php version is a factor.

    1. store/includes/configure.php
    2. store/YOUR_ADMIN/includes/configure.php
    3. .htaccess
    4. store/logs (most recent myadminDebug)

    Remember each of these potentially contains sensitive information such as DB_ credentials, admin directory (more so in the logs file), etc...
    1Attached
    2Attached
    3 - Which htaccess should I attach?
    4 There are no logs in the folder, just a file called .gitignore

    Thanks for the help, this is a real puzzler!
    Attached Files Attached Files

  6. #6
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Admin panel address redirects to website error page

    In admin/includes/configure.php
    Change:
    Code:
    define('HTTP_HOST', 'http://www.webaddress.co.uk/tickadmin');
    To:
    Code:
    define('HTTP_HOST', 'http://www.webaddress.co.uk/tickets');
    And then suggest renaming your admin directory.

    If instead you truly have your admin directory off of the base directory of the uri and not within the directory of the store, other changes will be needed.

    Then in both files, recommend changing:
    Code:
    define('ENABLE_SSL', '');
    To:
    Code:
    define('ENABLE_SSL', 'false');
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Replies: 6
    Last Post: 14 Oct 2017, 04:26 PM
  2. Replies: 12
    Last Post: 22 Aug 2011, 05:18 PM
  3. error on open the admin panel of my website
    By denishpark in forum General Questions
    Replies: 1
    Last Post: 22 Oct 2007, 04:34 PM
  4. Major Error on website and admin panel. Urgent!
    By Redsea in forum Basic Configuration
    Replies: 5
    Last Post: 13 Jun 2007, 05:18 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