Help - Search - Members - Calendar
Full Version: !Cannot Login to Admin!
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
Pages: 1, 2
clasione
Everything is great except for when I try to login into my admin. First when I visit the page it says No administration session was found. But the login stuff is still there. I login and there's only a few things highlighted... other stuff is faded away. How do I get the faded topics highlighted again so I can pick them. When I try clicking on them it says "I dont have permission to access this"

I upgraded the site and went through each upgrade file one by one till I got to the latest file only updates for the final version --- What do I do next to get this thing working?

Can anyone offer any help to clarify why exactly the admin would not have permission to pass the login area of the admin section....

I know I am logged in because the screen refreshes and I show a log-out button on top, but everything I want to do is grayed out, and I cannot do any administrative tasks....

How can I update permissions to do so... Everything seems to be working but this.

Anyone care to take a second and help me out here..... I know this is probably something really minor that I am missing, but I can't do anything with this site like this.
Mysty
I have this happen now and then. Don't know why. But closing my browser and waiting a bit seems to fix the problem. I always thought it was a temporary thing with my host.
RSprinkel
I am having the same issues as well and it doesn't help when I close out my browser for a few minutes or hours. I have been trying to access the Admin section now for 2 1/2 hours. I have gone as far as deleting cookies and SHUTTING down my computer SEVERAL times.

THIS NEEDS TO BE ADDRESSED AND FIXED.
Robsta
Does it make a difference if you use a different browser? If using IE, try Firefox.
RSprinkel
well the issue is with IE7, but in FireFox when I try to change something I get an Error box stating that FF has encountered a problem and needs to be shut down. And this is the only site that I have that issue with as far as FF is concerned.
Robsta
QUOTE(RSprinkel @ Jan 30 2007, 05:07 PM) *
well the issue is with IE7, but in FireFox when I try to change something I get an Error box stating that FF has encountered a problem and needs to be shut down. And this is the only site that I have that issue with as far as FF is concerned.
That I believe is solved by the RTF editor upgrade found on .org.
RSprinkel
Ok well the client I am doing this site for only uses IE7 and I tried talking him into FF and he refuses to go that route.

Now I need to be able to get this admin login fixed asap for this client or I may loose a client and I really don't want to do that as the contract details is very good for me on this deal.

I currently own 2 hosting business's as well as set up client sites and stuff so therefore you know how important this REALLY is.

Thanks much in advance.
howsthisart
i too seem to have the same problem with login in to the admin section. I am using cubecart version 3.015 and am using internet explorer 6. Everytime i go to login i get a failed message, and then after that i get a Authentication blocked for 10 minutes for security reasons. Is there a fix yet for this problem??
aimKevinwolf2k5
What the hay, same problem. Keeps saying "No administration session was found." when I try to log in. But when I try to log into someones else's admin on their server it works. Whats wrong with my server files I wonder?
KaniGTT
I ran into this problem after I had a cc site already completed and tweaked to the liking with about 7,500 products. I have tried numerous options, none of which have seemed to work. The only route that was left was to completely un-install and re-install CubeCart. It occured when I attempted to change the directory of my cubecart store from /cubecart to the root folder. It may not like the root folder, I don't know, but I am not going to attempt that again smile.gif

sorry I can't be of any help, I figure I would just explain my situation to you guys.
howsthisart
i did exactly the same thing, i ran into problems when doing a manual upgrade from 3.0.13 - 3.0.14 of cubecart. So decided to install a completely new version of cubecart, everything was working fine until all of a sudden i wasn't able to login in to the admin. Has anyone else managed to over come this problem?? Or are we still waiting for some miracle cure?
Headquarters on Crown
Have you tried first logging out when the login page comes on.

I know it seems strange, but I think often I must close the browser without logging out. Perhaps it remembers that I am still logged in and then won't let me log in again. AT least the logging out first and trying works for me.

PS on 3.0.15 with SSL on.
howsthisart
i can't even seem to be able to log out let alone login. Is very strange, it just all of a sudden didn't work. I set up the installation correctly and was able to add in my own template and get the design working, and added categories and products in the admin as well as extra documents, and then about a week after, i went to login one day and nothing. Couldn't login in, couldn't access the forgot password to work, (thinking that maybe that was the problem) but nothing has worked. The only thing that i think i could do is, to re-install the previous version?? But that would mean not up to date with all the upgardes. would this be wise?
Ricco
This problem is still happening to me.. has anyone found a fix for it yet?

admin log-in works but left column links are all grey'd out.
Ricco
QUOTE(clasione @ Dec 14 2006, 07:00 PM) *
Everything is great except for when I try to login into my admin. First when I visit the page it says No administration session was found. But the login stuff is still there. I login and there's only a few things highlighted... other stuff is faded away. How do I get the faded topics highlighted again so I can pick them. When I try clicking on them it says "I dont have permission to access this"

I upgraded the site and went through each upgrade file one by one till I got to the latest file only updates for the final version --- What do I do next to get this thing working?

Can anyone offer any help to clarify why exactly the admin would not have permission to pass the login area of the admin section....

I know I am logged in because the screen refreshes and I show a log-out button on top, but everything I want to do is grayed out, and I cannot do any administrative tasks....

How can I update permissions to do so... Everything seems to be working but this.

Anyone care to take a second and help me out here..... I know this is probably something really minor that I am missing, but I can't do anything with this site like this.


I am in urgent need of this fix too. Please can someone help me fix this!!!

I have a cart that I want to customize asap but this does not look good if we can not log in to ADMIN PANELS.

blink.gif
Ricco
I get this msg when I hover over the grayed out links..

java script:alert('You do not have permission to access this.');
dpage44
How many admins do you have setup? Sounds like the one you are using is not a "super user" but one who is restricted. I have 2 admin users set up. Mine is a super user with full control, and the other is for the person who processes our orders. I have the rights restricted for this person and those areas are greyed out.

You should be able to see the account that created when the store was installed by clicking on the administrators hyperlink at the bottom left column . A Super user has a green square and a restricted login has a red square.
Ricco
QUOTE(dpage44 @ Apr 4 2007, 03:59 AM) *
How many admins do you have setup? Sounds like the one you are using is not a "super user" but one who is restricted. I have 2 admin users set up. Mine is a super user with full control, and the other is for the person who processes our orders. I have the rights restricted for this person and those areas are greyed out.

You should be able to see the account that created when the store was installed by clicking on the administrators hyperlink at the bottom left column . A Super user has a green square and a restricted login has a red square.



I am guessing that you are going to be right about the 'super user' so is there anyway I can change this in phpmyadmin or conf edit.php ?

BTW my boxes look black.
dpage44
Yes you can check and change the permission thru phpMyadmin
1) Backup your database
2) Select your database, then select the cubecart_admin_users table
3) Click the "Search" tab at the top. By default all searchable fields are selected in the top left box.
4) click the "Go" button. All admin users are shown. Find the column named "is Super" . 1 means is a super user, 0 means is not a super user.
5) To edit, check the box next to the user to modify and then click the edit icon (pencil).
6) Edit the "is Super" box as needed and click the "Go" button. Changes are saved.

In my local test store I could see the user switch from super user to user back to super user as I made the changes.

Hope this helps.
Ricco
I can see the table and have edited the line, however it was already set on 1 so I tried changing it to 0 then back and nothing different happens.

I still get the grayed out column and the message still shows that I do not have permission.

blink.gif
Ricco
CubeCart_admin_permissions section all has '0' in the colums. Is that correct?
dpage44
This is what that table on my local machine looks like:
Ricco
yes mine is the same, here is the picture of the side panel..

dpage44
Man,I don't know. dizzy.gif If the database is OK, then it maybe its a corrupt file. If you have no mods to any of the files in the admin folder, you might try backing up the admin folder contents somewhere safe, then uploading a fresh copy and see what happens.

or

backup everything including the db to your local machine and create a test environment to restore your shop and see how that works

or

reinstall everthing from scratch sad.gif

Maybe someone else has a suggestion. whistling.gif
Ricco
Once again I find this cart to be a total waste of time. This is the last time I am bothering to try this out.

It will be back to oscommerce for me. blink.gif
Ricco
support is not good for people trying to get a shopping cart here.
howsthisart
QUOTE(Ricco @ Apr 6 2007, 10:10 PM) *
support is not good for people trying to get a shopping cart here.


Ricco i had this problem with the greyed out admin area. I had to totally re-install cubecart after i backed up everything first. I found that this fixed the problem using version 3.0.14, but i found with the current version 3.0.15 that after about a week of logging into the admin, all of a sudden i wasn't able to and still have no idea on how to fix this problem.
soulonfya
QUOTE(howsthisart @ Apr 7 2007, 11:26 AM) *
QUOTE(Ricco @ Apr 6 2007, 10:10 PM) *

support is not good for people trying to get a shopping cart here.


Ricco i had this problem with the greyed out admin area. I had to totally re-install cubecart after i backed up everything first. I found that this fixed the problem using version 3.0.14, but i found with the current version 3.0.15 that after about a week of logging into the admin, all of a sudden i wasn't able to and still have no idea on how to fix this problem.


It's amazing how so many people are having the same problem. Where's the cubecart people who created this?
I've been searching for the solution to this since October and it's been a waiste of my time.
markscarts
Steps to Aid in Resolving This Issue

Well, I have experienced this before as well, only a few times. This usually has to do with Internet Explorer (go figure, heh heh) and cookies - so it does not surprise me that one person found that logging out helps him to log back in. Here are some suggested steps to prevent this from occuring often, and to resolve it when and if it occurs again.

1. Check your storeURL setting . . . Using a text editor (Windows Notepad will usually do in a pinch), OPEN the file includes/global.inc.php, you will see this type of code:

<?php
$glob['dbdatabase'] = 'mydbname';
$glob['dbhost'] = 'localhost';
$glob['dbpassword'] = 'mypwd';
$glob['dbprefix'] = '';
$glob['dbusername'] = 'mydbusername';
$glob['installed'] = '1';
$glob['rootDir'] = 'my root path for web server';
$glob['rootRel'] = '/;

$glob['storeURL'] = 'http://www.mycubecartstore.com';
?>

My suggestion here is to use www in the store URL, that is, www.mycubecartstore.com rather than simply mycubecartstore.com

2. When you go to admin, also use the www if you have it in your global.inc.php file, so use www.mycubecartstore.com/admin rather than just mycubecartstore.com/admin

3. This is the most important thing: Delete cookies and browser cache!!! and try again.

In IE, click Tools > Internet Options > General then press the Delete Cookie button and then the Delete Files button. If you do not do this on a regular basis, it may take a few minutes to clear the browser cache. The hourglass cursor may be the only indicator you have that the task is not yet completed. Once the cookies and the cache (temporary internet files) are cleared, close the dialog box then close your browser. Wait a moment, and re-open the browser, go to your admin page and log in.

This should solve your login problem If it does, you'll know what to do if it ever happens again. Delete cookies and empty cache (delete temporary files).
markscarts
w00t.gif
-------------------------------------------------
QUOTE
It's amazing how so many people are having the same problem. Where's the cubecart people who created this?
I've been searching for the solution to this since October and it's been a waiste of my time.


So many people? based on what, a few forum posts? Half a million people are using CubeCart stores, so let's be fair, shall we? Only a few people are having frustrating troubles with this, and those are mostly people who use IE exclusively and who do not bother to maintain the browser by deleting cookies and files occasionally.

QUOTE
Where's the cubecart people who created this?


There is one developer (though he is now hiring more) and has been only one, who has created and constantly improved CubeCart. All the help you get in these forums is from volunteer effort smile.gif

And now a few questions for you . . .
Have you submitted a bug report on this?
Have you opened a support request on this?

Hmmmmm . . . blink.gif

Well, in the forums you receive volunteer help only. No one here is obligated to answer your questions. We are here answering questions because we want to help, we are glad to help, we wish we could help everyone who asks at all times. But the reality is that we cannot, and some questions do get overlooked.

I sincerely hope my answer above works for you and solves your problem. smile.gif
Ricco
QUOTE(markscarts @ Apr 9 2007, 05:05 AM) *
Steps to Aid in Resolving This Issue

Well, I have experienced this before as well, only a few times. This usually has to do with Internet Explorer (go figure, heh heh) and cookies - so it does not surprise me that one person found that logging out helps him to log back in. Here are some suggested steps to prevent this from occuring often, and to resolve it when and if it occurs again.

1. Check your storeURL setting . . . Using a text editor (Windows Notepad will usually do in a pinch), OPEN the file includes/global.inc.php, you will see this type of code:

<?php
$glob['dbdatabase'] = 'mydbname';
$glob['dbhost'] = 'localhost';
$glob['dbpassword'] = 'mypwd';
$glob['dbprefix'] = '';
$glob['dbusername'] = 'mydbusername';
$glob['installed'] = '1';
$glob['rootDir'] = 'my root path for web server';
$glob['rootRel'] = '/;

$glob['storeURL'] = 'http://www.mycubecartstore.com';
?>

My suggestion here is to use www in the store URL, that is, www.mycubecartstore.com rather than simply mycubecartstore.com

2. When you go to admin, also use the www if you have it in your global.inc.php file, so use www.mycubecartstore.com/admin rather than just mycubecartstore.com/admin

3. This is the most important thing: Delete cookies and browser cache!!! and try again.

In IE, click Tools > Internet Options > General then press the Delete Cookie button and then the Delete Files button. If you do not do this on a regular basis, it may take a few minutes to clear the browser cache. The hourglass cursor may be the only indicator you have that the task is not yet completed. Once the cookies and the cache (temporary internet files) are cleared, close the dialog box then close your browser. Wait a moment, and re-open the browser, go to your admin page and log in.

This should solve your login problem If it does, you'll know what to do if it ever happens again. Delete cookies and empty cache (delete temporary files).


What is wrong here is the lack of support for this serious issue. Why is it there are so many people with the same problem not getting fixes?

This is a total waste of my time, I have no idea why I am bothering to continue to get it working if this is the support I would get in the future.

AAAAAAAAAAAAARGGGGGGGGGGHHHHHHHHHHH
Ricco
DAMN, I fix it and it was sooooo easy!

Well I am goner fully test the rest of it now but it does appear to have been a simple error.

If I find everything is now working 100% I will post back here with what I found.
markscarts
rolleyes.gif

And to think you just got done bashing the development team as well as the volunteer support people.
Luhoozuher
When I moved my store from the /Store directory to the root directory I encountered this same issue. It was not related to my cookies, but it was related to the $glob[rootRel] variable in /includes/globals.inc.php that markscarts brought up. Formerly that variable was set to '/Store/'. I changed it to '../'. Apparently that is incorrect, it should be '/'.

One further note, this may not be true accross all hosts. I know that this solution worked for me with GoDaddy, but the same solution didn't appear to work for me with MediaTemple, though I'm going to retry with them to verify it wasn't an error of my own.

Hope this helps.
phelikz
Although I'm having the same issues, and haven't gotten much in the way of suggestions on how to fix it, I have to agree with MarksCarts on this one.

Ricco, in confused on how you have so many complaints yet judging by your lack of response to the question I think it's safe to assume you did not put in a ticket or a bug report. I'm willing to bet most people browse these boards are looking for people with similar problems (which we have found) and not trolling for damsels in distress.

And to top it off you claim to have found an answer but never posted it. there's a word for that:

hypocrite.
look it up.
soulonfya
QUOTE(markscarts @ Apr 9 2007, 05:13 AM) *
w00t.gif
-------------------------------------------------
QUOTE
It's amazing how so many people are having the same problem. Where's the cubecart people who created this?
I've been searching for the solution to this since October and it's been a waiste of my time.


So many people? based on what, a few forum posts? Half a million people are using CubeCart stores, so let's be fair, shall we? Only a few people are having frustrating troubles with this, and those are mostly people who use IE exclusively and who do not bother to maintain the browser by deleting cookies and files occasionally.

QUOTE
Where's the cubecart people who created this?


There is one developer (though he is now hiring more) and has been only one, who has created and constantly improved CubeCart. All the help you get in these forums is from volunteer effort smile.gif

And now a few questions for you . . .
Have you submitted a bug report on this?
Have you opened a support request on this?

Hmmmmm . . . blink.gif

Well, in the forums you receive volunteer help only. No one here is obligated to answer your questions. We are here answering questions because we want to help, we are glad to help, we wish we could help everyone who asks at all times. But the reality is that we cannot, and some questions do get overlooked.

I sincerely hope my answer above works for you and solves your problem. smile.gif


Oh my dear, very well put. I'm glad you got that off your chest. Yes I know the forum is filled with volunteers helping one another out, which I am so appreciated of.
When I say so many people, I mean So Many People. This is not the only forum regarding this issue that I've read. If you do a search on "No Admin Session" quite a few pops up. A few can be anywhere from 10 -100 people in my book - But that's just me.

I don't use IE, I have a Mac using FireFox and Safari. So really and truely I don't think it's an IE thing only.

Thank you so much for your impute and I truely didn't mean to offend anyone by asking where's the "CubeCart People". Anyhow, blessed day.
phelikz
its definitely not IE only, I use FF and Opera.
Mart
Just to throw this out there. I have the same problem with admin incorrectly redirecting.

I have an older version of CubeCart running with no problems and no problems during the install. For this install I used Version 3.0.15 and it did not redirect correctly right off the bat. I have tried it in both IE 7 and Firefox. Both lead to an unfound page. I have ftp'd and reinstalled twice just incase of file corruption. I've cleared the cookies as well with the same results.

When the admin page comes up the goto= looks like this.

CODE
http://www.-----.net/shop/admin/login.php?goto=/shop/admin/index.php

After the first attempt it returns to the login page and it looks like this.

CODE
http://www.----.net/shop/admin/login.php?goto=//shop/admin/index.php



<?php
$glob['dbdatabase'] = 'shop';
$glob['dbhost'] = 'localhost';
$glob['dbpassword'] = '********';
$glob['dbprefix'] = '';
$glob['dbusername'] = 'shop';
$glob['installed'] = '1';
$glob['rootDir'] = '/home/-----/public_html/shop';
$glob['rootRel'] = '/shop/'; <- tried this as //shop/ and /
$glob['storeURL'] = 'http://www.-----.net/shop/'; <- tried this with and without the www
?>



I'll post what else I find as I go and then possibly post a bug report.

Marty
Debi H
Hi everyone!

I just wanted to let everyone know, in case you don't know it, that if you cannot login to CubeCart - ie, it says "No Administration Session Found", which is what happened to me, even though I just installed this on this past Friday, if you go to Support and go into the Knowledgebase, there is a process that they have listed there that got me right into the admin screen with no problem!

Hope it helps someone else! biggrin.gif

Debi
Joff
I've got the same error on a fresh 3.0.16 installation, Windows Server running PHP5.

I've tried to debug the code and as far as I can see, have found that the session variable "ccAdmin" is set in /admin/login.php then when the page is redirected to /admin/Index.php, the session variable is now empty!

Login.php:
CODE
$_SESSION['ccAdmin'] = $result[0]['adminId'];
if(isset($_GET['goto']) && !empty($_GET['goto'])){
    header("Location: ".treatGet(urldecode($_GET['goto'])));
    exit;
} else......


Is there any reason for the session being lost on Index.php? There's no code being executed between the header location and me checking the value of ccAdmin (as far as I can see...)

Anyone?
Joff
Fixed it.

I changed my version of PHP down from 5 to 4.3. Not sure what's changed with PHP5 regarding sessions.
Joff
Looks like I spoke to soon, I've now got the admin frame loaded on the left hand side, logout/change password links at the top of the screen and the familiar login form in the main frame.

All admin links are greyed out apart from: Admin home, Store home, Server info and Admin sessions.
None of these links work though.
Boletus
Is there a way to edit a database value to remove the Authentication blocked for 10 minutes? I managed to enter wrong password (I think) and now I'm waiting 10 minutes ... and 10 minutes. sad.gif
uklotto
I have used CC for over a year now and its great. smile.gif

how ever i have got this problem right now also????

i have 6 CC stores for my clients all others work ok all 3.015 , php 4.4.6 , mysql 4.1.22

all the other 5 work ok login to admin
they also all have a sub admin for my clients to login ( they only have limited access as normal)

i am the super user on all.

I have full access to DB and php admin to edit.

they have all been transferd to another host last 3 weeks ago all good and move succsefully.

I just cant seem to login in on one as a super user?? I can as my client just to check i have correct login name for super user in previous sessions in cc ACP.

how ever none of the passwords i use activate login so i have also requested an email password request and of all my emails that i have tried nothing works???

Is there a hard core hack i can do so i can get in as admin then change once im in please.

I have check php admin and cubecart_admin_user and only see super=1 and 0=not

I have checked includes/global.inc.php and all is good ( same as others that work)

so im stuck

any help would be greatfull ( still very strange how this would happen all of a sudden)
PS im using explorer 7 and yes i have cleared cache files as i do regular.

smile.gif

UPDATE:

ALL sorted i missed this post opps unsure.gif

QUOTE
Yes you can check and change the permission thru phpMyadmin
1) Backup your database
2) Select your database, then select the cubecart_admin_users table
3) Click the "Search" tab at the top. By default all searchable fields are selected in the top left box.
4) click the "Go" button. All admin users are shown. Find the column named "is Super" . 1 means is a super user, 0 means is not a super user.
5) To edit, check the box next to the user to modify and then click the edit icon (pencil).
6) Edit the "is Super" box as needed and click the "Go" button. Changes are saved.

In my local test store I could see the user switch from super user to user back to super user as I made the changes.

Hope this helps.

wink.gif
rtiago
hello...


from one day to the other i canīt go to administrator menu, it say that can find the page.

http://www.loja69.com/loja/admin

why this happens????
bsmither
It seems that you have some redirection going on.

http://www.loja69.com/loja/admin

CODE
GET /loja/admin HTTP/1.1
Host: www.loja69.com

HTTP/1.x 301 Moved Permanently
Location: http://www.loja69.com/loja/admin/
----------------------------------------------------------
http://www.loja69.com/loja/admin/

GET /loja/admin/ HTTP/1.1
Host: www.loja69.com

HTTP/1.x 302 Found
Location: /admin/index.php?&ccUser=

You see how the 302 response gives to the browser the address based on the root of your site, as opposed to the subfolder "loja".

And I am giving you a ccUser cookie, so there might be an issue with the contents of your global.inc.php file.
rtiago
so what do i have to do to fix this problem????
bsmither
Oh, sorry. I thought if I showed you what I found, it would have jogged a clue and you would have said, "Oh, yeah, I did set up a redirection in my .htaccess file." Or, "Darn, I just knew that when I created that redirect in my hosting control panel from URL "A.com" to URL "B.com/yada/yada/yada/yada/yada/" it's gonna cause a problem."

In the "includes/global.inc.php" file, show us what these variables are set to:

$glob['rootDir'] =
$glob['rootRel'] =
$glob['storeURL'] =

Do you recall turning on the SSL setting in the Admin panel?

I want you to find in these forums the file "editconf.php" and upload it to:
<your hosted site>/loja/

Then request it in a browser and make sure all the settings point to "<site>/loja/" and not just "<site>/".

If that all checks out, remove editconf.php from your hosted server space.

Let us know what you find.

If you didn't set up these redirects, contact your hosting provider and ask them if they put one in place.
rtiago
Thank you, i have alredy resolved the problem. with the file editconf.php i change the SSL avalue from 1 to 0 and it works...


thank you
cubelb
QUOTE(Ricco @ Apr 6 2007, 04:45 PM) *
Once again I find this cart to be a total waste of time. This is the last time I am bothering to try this out.

It will be back to oscommerce for me. blink.gif



I sent an email to CubeCart sales stating that I was not going to purchase the product until they could advise me what caused these errors (No admin session found etc), and this is the reply I received. Isnt this the owner or the developer of the software ?
Gives me lots of confidence !!!!!!


Hello,

This is not an issue we have come across before and I'm afraid I cannot provide a solution for you. If you have an active support plan I am sure someone on the support helpdesk can investigate this for you.
Kind Regards,

----------------------------------

Alistair Brookbanks

Devellion Ltd
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.