Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Administration Access Level 2.0 ?


Guest

Recommended Posts

Posted

Hello!

 

I installed this contrib to restrict access to the admin panel based on login :

http://www.oscommerce.com/community/contributions,1359

 

Short question : Why is the Login screen not being displayed ????

 

Detailed question :

 

Here is what's happening :

I hit the admin/ URL

I am prompted for the .htaccess username/password which is fine

At this point, I go directly into the admin/ panel :

However
- it *
should
* be going to the Login Screen :

 

I can only get to this login screen if I :

login through the htaccess

then hit the Logoff link in the Administration Access Level screen

Once I hit Logoff, then it takes me to the login screen

and then when I log in again everything works as it should.

 

Also - if :

I hit the admin/ URL

I am prompted for the .htaccess username/password which is fine

At this point, if I hit the Administrator link on this page :

I get this error :

Admin Account	  
1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'and g.admin_groups_id=' at line 1
select a.admin_id, a.admin_firstname, a.admin_lastname, a.admin_email_address, a.admin_created, a.admin_modified, a.admin_logdate, a.admin_lognum, g.admin_groups_name from admin a, admin_groups g where a.admin_id= and g.admin_groups_id=

 

so obviously the login ID is not being passed into the app since obvioulsy I am initially not asked to log in through the contrib Login Screen - so no login ID can be passed.

 

ANYONE OUT THERE EXPERENICE THIS????????

Anyone out there have ANY sort of clue of where I can start to look to resolve this ?

 

 

Thanks! Corrie

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...