compuguru Posted July 14, 2004 Share Posted July 14, 2004 I just got it installed. I can get to the login page, but after I login, i get this error: Fatal error: Call to undefined function: tep_validate_password() in /www/a/*******/htdocs/milty/catalog/admin/login.php on line 26 Can anyone help me? Quote Link to comment Share on other sites More sharing options...
moku Posted July 14, 2004 Share Posted July 14, 2004 You probably forget to upload the file admin/includes/functions/password_funcs.php which is supposed to contains the function tep_validate_password() Â Or you didn't updated your admin/includes/application_top.php with a line like require(DIR_WS_FUNCTIONS . 'password_funcs.php'); Quote Link to comment Share on other sites More sharing options...
compuguru Posted July 15, 2004 Share Posted July 15, 2004 Thanks, after looking at my site, I discovered that I edited the wrong application_top.php :D. I edited the one in Catalog/includes rather then the one in catalog/admin/includes. Thanks anyways! Quote Link to comment Share on other sites More sharing options...
royth Posted July 16, 2004 Share Posted July 16, 2004 I have installed this module but get the following error when going to the admin page  Fatal error: Cannot redeclare tep_redirect() (previously declared in /files/catalog/admin/includes/functions/general.php:15) in /files/catalog/admin/includes/functions/general.php on line 15   I cant work out what I have done wrong any clues? Quote Link to comment Share on other sites More sharing options...
royth Posted July 16, 2004 Share Posted July 16, 2004 My error, i have fixed this, I am now at the logon prompt and searching for the default password for the admin@localhost account!! Quote Link to comment Share on other sites More sharing options...
valdier Posted July 21, 2004 Share Posted July 21, 2004 (edited) default password is admin... Â Â having just installed 2.3, I am at a dead standstill... Â any ideas what might be causing this? Â Fatal error: Call to undefined function: tep_array_merge() in /cart/admin/admin_members.php on line 352 Edited July 21, 2004 by valdier Quote Link to comment Share on other sites More sharing options...
valdier Posted July 21, 2004 Share Posted July 21, 2004 nevermind... just overwrote the entire thing... now it is working. Quote Link to comment Share on other sites More sharing options...
dhoerpel Posted July 23, 2004 Share Posted July 23, 2004 Hello! Â I'm sorry but I always get this error on this page admin_members.php, too: Â Fatal error: Call to undefined function: tep_array_merge() in /cart/admin/admin_members.php on line 352 Â I dont know what I did wrong, but it would be very nice if you can help me. Thanks! Â Bye Dave! Quote Link to comment Share on other sites More sharing options...
moku Posted July 23, 2004 Share Posted July 23, 2004 Did you search in the forums?  A simple search gives this: http://www.oscommerce.com/forums/index.php?act...min_members.php that gives you this: http://www.oscommerce.com/forums/index.php?sho...70entry383009  noisebox wrote: try to change tep_array_merge() into  array_merge() on line 352  HTH Quote Link to comment Share on other sites More sharing options...
Guest Posted July 28, 2004 Share Posted July 28, 2004 Ok, I just spent the past two hours reading through all 22 pages of this support thread, and I still can't figure out a way to login to the freakin admin panel. I tried "admin@localhost" and "admin" - that didn't work. I tried the changing of the name in the database to my first name and email and such, requested new password, got password in email, plugged it in, STILL won't work. I am at my wits end! Â I have been trying every little trick I know, but to no avail. PLEASE, if someone figured this out, HELP! I am desperate. I am setting this up for a client and I have 3 days to pull it off. In DIRE need of some help. Any would be appreciated. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 28, 2004 Share Posted July 28, 2004 Does anyone support this mod anymore? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 29, 2004 Share Posted July 29, 2004 I got it to work, FINALLY! Â I was missing some files. Lavarock emailed me and then called me and suggested that it might be a missing file, so I re-uploaded ALL the files, and BAM it worked. Thanks Lavarock! Quote Link to comment Share on other sites More sharing options...
Guest Posted July 30, 2004 Share Posted July 30, 2004 (edited) Hi, its me again... for some reason, I tried to login today, and couldn't! I didn't even change anything. Â I fixed that problem, now I am getting ANOTHER error after I login and get to the catalog/admin/admin_account.php page: Â 1054 - Unknown column 'admin_id' in 'where clause' select admin_files_id from admin_files where FIND_IN_SET( '1', admin_groups_id) or FIND_IN_SET( '1', admin_id) and admin_files_is_boxes = '1' and admin_files_name = 'administrator.php' [TEP STOP] Â I have checked the database and the admin table and everything is fine. I have checked the database_tables.php and all the admin tables are defined. Â Anyone else have any ideas? I even tried re-uploading all the files, in case I missed something. Â Any help would be great. Thanks! Â Jodi Mann Edited July 30, 2004 by quillspirit Quote Link to comment Share on other sites More sharing options...
deepfreeze Posted August 7, 2004 Share Posted August 7, 2004 Does anyone support this mod anymore? As per a fair part of this site, it would seem not! Quote Link to comment Share on other sites More sharing options...
Guest Posted August 8, 2004 Share Posted August 8, 2004 Well, thanks to some cool people who contacted me offline, I finally got it working for me. It appears I was missing a file somewhere. It works fine now. If any one else needs help, do not hesitate to PM or Email me! I will help the best I can! Since no one else seems to want to support this mod anymore. Quote Link to comment Share on other sites More sharing options...
GSM Freak Posted August 8, 2004 Share Posted August 8, 2004 Fatal error: Call to undefined function: tep_admin_check_boxes() in /home/.sites/31/site63/web/catalog/admin/index.php on line 24 Â Â How can i fix this? Quote Link to comment Share on other sites More sharing options...
Lavarock Posted August 8, 2004 Share Posted August 8, 2004 That function appears to be defined in:  admin\includes\functions\general.php  and should look something like this. Note that is only a part of a larger section that you were supposed to insert, located between the ADMIN BEGIN and ADMIN END headings.  ====snip==================================  //// //Return 'true' or 'false' value to display boxes and files in index.php and column_left.php function tep_admin_check_boxes($filename, $boxes='') { global $login_groups_id, $login_id;  $is_boxes = 1; if ($boxes == 'sub_boxes') { $is_boxes = 0; } $dbquery = tep_db_query("select admin_files_id from " . TABLE_ADMIN_FILES . " where FIND_IN_SET( '" . $login_groups_id . "', admin_groups_id) or FIND_IN_SET( '" . $login_id . "', admin_id) and admin_files_is_boxes = '" . $is_boxes . "' and admin_files_name = '" . $filename . "'");    $return_value = false; if (tep_db_num_rows($dbquery)) { $return_value = true; } return $return_value; }  ////  ====snip==================================  If I remember correctly, the zip file had two different directory structures in it.  The first was called ORIGINALS, which were files which did not already exist in OSC and could be copied right into your directory structure.  The second directory tree was called CHANGED FILES. If you were working with an unmodified OSC like a brand new install, you could copy these 17 files overtop of the existing files. HOWEVER, most of us would have to open those existing files and cut and paste the changes in. Quote Link to comment Share on other sites More sharing options...
GSM Freak Posted August 8, 2004 Share Posted August 8, 2004 I can't find it. Quote Link to comment Share on other sites More sharing options...
Guest Posted August 9, 2004 Share Posted August 9, 2004 Can't find what? Quote Link to comment Share on other sites More sharing options...
Guest Posted August 20, 2004 Share Posted August 20, 2004 I would like to increase the delay in logout time to 4 hours, and preferrably set a time limit on when it can be used, ie M-F want it set to 4 hours before autologout, after 6pm revert back to normal and on weekends be the normal way now. Â all the other addons can be down the road, i just need to increase the delay in autologout Quote Link to comment Share on other sites More sharing options...
Guest Posted August 20, 2004 Share Posted August 20, 2004 ok i didnt read thru the thread far enough, found out where to increase the timeout Quote Link to comment Share on other sites More sharing options...
Guest Posted August 24, 2004 Share Posted August 24, 2004 ok just installed the latest "admin patch" from the register globals contribution (http://www.oscommerce.com/community/contri...,admin+password)  , so i can run oscommerce on my server with register globals being off.  and then I installed ur admin account with access level contribution, but i get the following error messages :  Fatal error: Session variable login_id is not globally defined Fatal error: Session variable login_groups_id is not globally defined Fatal error: Session variable login_first_name is not globally defined  what could be wrong? anyone had any similar problems ? Quote Link to comment Share on other sites More sharing options...
Guest Posted August 26, 2004 Share Posted August 26, 2004 took a closer look at that register global contribution, and tryed the "careless code" now i dont get any error messages, but nothing happens when i enter the right password and username, it just clears out the username and password fields.  If i type in the wrong username or password i get an error message that says "ERROR: Wrong username or password!" so that part has worked all the time, but it doesnt seem to go any further when i enter the right username and password :-(.   if i switch back to the "paranoid code" on the register globals contribution i get the error messages  Fatal error: Session variable login_id is not globally defined Fatal error: Session variable login_groups_id is not globally defined Fatal error: Session variable login_first_name is not globally defined  i dont get thsoe with the "careless code" not sure if the careless code actually fixes this problem or doesnt bother printing the error messages. :blink: Quote Link to comment Share on other sites More sharing options...
Guest Posted August 30, 2004 Share Posted August 30, 2004 Has anybody tried to use more than 4 Administratores, and give them specific access to some files - more than those group-rights? i did and it doesn't work for the administrators with an ID over 4. Â I think I found the problem, but i'm not sure about it. In the table 'admin_files', where the permission of each file is set for the admins, the field-type is 'SET' including the values '1','2','3','4' . So this means I only can chose administrators with an ID 1-4. After adding a new administartor, this field-value will not be increased by the ID of the new administrator - so i won't be able set permission for this administator... i hope anyone can follow my attempts to explain (english is not my language..). Has anybody noticed the same, am i right? Does anybody know what to do? a solution? Quote Link to comment Share on other sites More sharing options...
241 Posted August 30, 2004 Share Posted August 30, 2004 Has anybody tried to use more than 4 Administratores, and give them specific access to some files - more than those group-rights?i did and it doesn't work for the administrators with an ID over 4.  I think I found the problem, but i'm not sure about it. In the table 'admin_files', where the permission of each file is set for the admins, the field-type is 'SET' including the values '1','2','3','4' . So this means I only can chose administrators with an ID 1-4. After adding a new administartor, this field-value will not be increased by the ID of the new administrator - so i won't be able set permission for this administator... i hope anyone can follow my attempts to explain (english is not my language..). Has anybody noticed the same, am i right? Does anybody know what to do? a solution? I am at 5 just now without issue, I have my tables set for auto increment and the numbers go up and the number of groups go up, I can set permissions as I like, assign members to groups etc. Quote No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix  raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.