Jump to content
themixtapechannel

Upgrade from 6.1.5 to 6.2.2 Incomplete

Recommended Posts

Hi, I have upgraded from 6.1.5 to 6.2.2 and everything is working as it should. All features are working but manually. Example once anything changed via admin panel, I would have to manually go to Maintenance and clear cache for changes to show. It's like everything and all new features are working but no new clear cache tab on admin panel, nor order status color and etc.

I thought maybe upgrade failed and reverted to 6.1.5 and tried again. But I have now reverted to 6.1.5 and upgraded back to 6.2.2 about 10 times and all features seems to be working, but I can't get the clear cache tab to show on admin panel. I have to manually clear the cache. Has anyone faced this problem or have a fix? As mentioned I've have tried downgrading and re up grading about 10 times and still no luck in getting the clear cache tab on admin panel. Any feedback would be appreciated.

 

Thank you!

Eddie

 

Share this post


Link to post
Share on other sites

Please verify if the following code exists. But first, examine the contents of the file /includes/global.inc.php. For the variable ['adminFolder'], note its value.

Using that value as the name of the folder to start traversing through, then in that folder, traverse through skins, default, templates.

Examine the file common.breadcrumb.php. Lines 7-8 should look like:

      <li id="clear_cache_master"{if $CLEAR_CACHE} class="clear"{/if}><a href="{$SKIN_VARS.clear_cache_link}">{$LANG.maintain.cache_clear}</a></li>
      <li id="help_menu"><i class="fa fa-life-ring" aria-hidden="true"></i> <a href="#">{$LANG.common.help}</a>

If this isn't what the file in your installation looks like, then look for another folder that starts with admin, or is just admin. Traverse that other folder and examine the file found there.

The correct administrative folder will be the one that has the code as shown above.

Edit the global.inc.php file so that the variable ['adminFolder'] has the correct folder name.

 

Share this post


Link to post
Share on other sites

sounds like you don't have the latest admin theme. check you're using the default one, if not change your settings to use the most recent. if you have the latest there is a "clear cache" button in the upper right corner. 

see also:

 

Share this post


Link to post
Share on other sites

Hey guy's thanks. Fixed as per bsmither suggestions. Changed the global.inc.php to point to the first admin file which had to correct new admin files, and worked. Thank you very much as always bsmither.

 

 

Thank you!

Eddie

Share this post


Link to post
Share on other sites

Back to soon lol... I guess I spoke to soon as that only worked until I logged out from admin. So I changed the global.inc.php file back to old admin folder and everything working. I then went and in sted of changing the global.inc.php file, I actually uploaded the correct admin files and over rided the old admin files. And everything then went well, had all admin new features and clear cache showing on admin. But I couldn't change anything via admin panel without getting an error ** Security Alert: Possible Cross-Site Request Forgery (CSRF). Please do not use multiple tabs/windows or the browser back button. Learn more.** on anything on admin changes, and also when trying to login to admin panel once signed out. End of story had to re upload the old admin folder and back to none new features on admin panel lol... 

I'm assuming that I will have to wait for another upgrade, and then simply upload the new admin files to the correct admin folder, then proceed and hope for luck because I've tried everything in the books to get this issue fixed and can't get pass for nothing in the world once everything is correct the error of (Security Alert: Possible Cross-Site Request Forgery (CSRF). Please do not use multiple tabs/windows or the browser back button. Learn more.)

Well Thanks again for the help guy's. It did work as I mentioned, but just until I logged out of admin, and couldn't get pass the god dawm (Security Alert: Possible Cross-Site Request Forgery (CSRF). Please do not use multiple tabs/windows or the browser back button. Learn more.)

 

Share this post


Link to post
Share on other sites

Please try this: have your browser delete all cookies that point to this site.

Share this post


Link to post
Share on other sites

No luck as well. I just downgraded back to 6.1.5 and re upgraded to 6.2.2. And I can't get into admin panel at all. This error on all browsers even clearing cookies and all on all browsers won't let me in  Security Alert: Possible Cross-Site Request Forgery (CSRF). Please do not use multiple tabs/windows or the browser back button. Learn more.nSecurity Alert: Possible Cross-Site Request Forgery (CSRF). Please do not use multiple tabs/windows or the browser back button. Learn more. more.

Share this post


Link to post
Share on other sites

I'm screwed just restored backup again and simply can't get in to admin panel with this error. My god this don't even make sense to me. Does anyone knows how to overide or get around this error: Security Alert: Possible Cross-Site Request Forgery (CSRF). Please do not use multiple tabs/windows or the browser back button. Learn more.

Any feedback would be appreciated..

 

Thank you!

Eddie

 

Share this post


Link to post
Share on other sites

You can try this, but there are probably some unknown ramifications.

In /classes/sanitize.class.php, near line 145, find:

static private function _stopToken() {

Change to:

static private function _stopToken() { return;

 

Share this post


Link to post
Share on other sites

Hey bsmither,

That actually worked thanks. I'm able to get in to admin atleast and until I can try to figure out what's causing this issue. Most likely I'll simply leave it along for today since I'm brain burnt from trying so many things in getting this error corrected. It's crazy that I can get it to work using the old admin files even doe it's upgraded to 6.2.2.

I just have to get this figured out, but thanks again for the help always buddy.

 

Thanks!

Eddie

 

Share this post


Link to post
Share on other sites
13 hours ago, themixtapechannel said:

I'm screwed just restored backup again and simply can't get in to admin panel with this error. My god this don't even make sense to me. Does anyone knows how to overide or get around this error: Security Alert: Possible Cross-Site Request Forgery (CSRF). Please do not use multiple tabs/windows or the browser back button. Learn more.

That error often occurs when you have the admin.php file (or hopefully it renamed) from a different version of CubeCart to the files in /admin directory (again hopefully renamed) - yet another common error when trying and failing to do an upgrade fully

Share this post


Link to post
Share on other sites

Hey Moderator, thanks for the reply and help effort. But the first thing that I always check for correct settings are in the config.inc.php, admin_xxxx and admin.php and etc. There all correct and all match, that is why I simply don't undertand the error. I left it alone yesterday since I followed bsmither info and was able to get in to admin.

I'll have to go back at it when possible and with a fresh mind to see if I can figure it out. I even down graded back to 6.1.5 about 10 times, and back up to 6.2.2 and still was getting error. And in both issues I was using well matched old and new databases to match the downgrade and upgrades, still had no luck as mentioned. Well as mentioned I gave up last night. Will try again with a fresh brain to see if I over looked anything which I dought.

 

Thanks Again always,

Eddie

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×