ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

You are not authorized to perform this action - Upgrade from EE 1.7 to EE 2.3.1

October 28, 2011 2:52pm

Subscribe [4]
  • #1 / Oct 28, 2011 2:52pm

    Casey Reid

    82 posts

    I have two issues after going through the upgrade process on a site from EE 1.7 to EE 2.3.1. The site was setup and working fine locally prior to the upgrade. I was able to log into the control panel without issue.

    I went through the upgrade process following the instruction in the User Guide. During the upgrade I did not receive any warnings or errors and the upgrade appeared to go through without issue. After the upgrade however, I am unable to login to the control panel as Super Admin user. I continually receive the error message “You are not authorized to perform this action”. I’ve tried various config file adjustments regarding cookie, session and IP info, but nothing seems to work.

    Secondly, the login screen has no styling applied to it. It’s as if the themes folder is not being set. If I view source for example, the link to the login CSS looks like this:

    <link rel="stylesheet" href="cp_themes/default/css/login.css?v=1318898806" type="text/css" media="screen" />

    Same goes for references to the logo image. The theme folder path is not in the path. I’ve tried manually setting the themes folder path in config.php as well as deleting and re-uploading the themes folder.

    I’ve gone through the update process twice and both times the same two issues are happening. Not being able to login and no CP styling.

    Any help you can provide is appreciated.

  • #2 / Oct 29, 2011 5:01am

    Mark Bowen

    12637 posts

    Hi Casey,

    You said that everything was working fine locally on 1.7 prior to the upgrade. Does this mean that you have now copied that site across to a live server and attempted the upgrade there or did you perform the upgrade locally?

    Thanks,

    Mark

  • #3 / Oct 31, 2011 9:51am

    Casey Reid

    82 posts

    Hi Mark,

    The upgrade was performed locally. I use a multi-environment setup with most sites so my local copy was working properly and was up to date and in sync with the live site prior to the upgrade. After performing the upgrade locally, multiple times, I still am having the same issues mentioned.

  • #4 / Nov 02, 2011 12:33am

    Dan Decker

    7338 posts

    Casey Reid,

    Let me make sure I understand. You are not able to login it all? After supplying your username and password, you are presented with this message? If you clear the session value from the URL and refresh, what is the result? That would be the part beginning with “?S=“

    Cheers,

  • #5 / Nov 02, 2011 10:16am

    Casey Reid

    82 posts

    Hi Dan,

    That is correct. I cannot login at all, using Super Admin credentials that worked prior to the upgrade. When I try to login, I receive the message “You are not authorized to perform this action”. I have tried removing the extra values from the URL. I’ve also tried all the various config settings for sessions and cookies and IP checking. Nothing seems to work. Additionally the CP styling is completely gone from the login screen, despite the Themes folder being checked for the correct path prior to upgrade and then also manually setting it in the config afterwards.

  • #6 / Nov 02, 2011 12:24pm

    Dan Decker

    7338 posts

    Hi Casey,

    It’s time we have a dig at this. Be on the lookout for an email from me.

    Cheers,

  • #7 / Nov 02, 2011 12:43pm

    Casey Reid

    82 posts

    Thanks Dan. This was setup locally for testing and I don’t want to run the upgrade on the production site yet. I’ll try and get a staging site setup in the next day or so that you can have access to, at which point I’ll respond to the email.

  • #8 / Nov 04, 2011 12:23pm

    Kevin Smith

    4784 posts

    Hi Casey,

    I’m just checking in and see if you were able to get a staging server set up yet. When you’re ready, just fill out the form at the link from the email Dan sent, and we’ll get started!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases