Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin change account info


bhughesiii2187

Recommended Posts

Tried searching for this but couldn't find anything. I have temporarily hacked the program to allow it but I cannot for the life of me figure out why its not working like its supposed to. I have the admin with access levels mod on. When I tried to change my password on my admin account, it would not give me the option to do so. So I found this code:

 

if ( ($HTTP_GET_VARS['action'] == 'edit_process') && (tep_session_is_registered('confirm_account')) ) {

and

if (tep_session_is_registered('confirm_account')) { echo tep_image_submit('button_save.gif', IMAGE_SAVE, 'onClick="validateForm();return document.returnValue"');

 

and realized that if I commented out the section on && (tep_session_is_registered('confirm_account')) and changed if(tep_session_is_registered to if(!tep_session_is_registered, that it worked properly. For some reason the session is not registering.

 

Could anyone tell me where to look for the session to be registered?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...