Guest Posted October 9, 2002 Posted October 9, 2002 Set up Administrators Seems to be working but i get this error: Fatal error: Call to undefined function: tep_get_admin_name() in /home/virtual/site2/fst/var/www/html/Venom-Store/admin/administrators.php on line 320 Line 320: $heading[] = array('text' => '<center><b>' . tep_get_admin_name($aInfo->admin_id) . '</b></center>'); Also, i dont see nowhere on how to delete or edit the default Administrator. Anyone? Quote
Guest Posted October 9, 2002 Posted October 9, 2002 No one using administrators 1.2.2 ? :? Guess ill uninstall this mod since no one has it working. :( Quote
Jan0815 Posted October 9, 2002 Posted October 9, 2002 I guess it is outdated. Quote You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist.
zzfritz Posted October 10, 2002 Posted October 10, 2002 Admin 1.2.2 is working okay for me, and can for you by adding this function to the end of admin/includes/functions/general.php: function tep_get_admin_name($admin_id) { $admin_query = tep_db_query("select admin_name from " . TABLE_ADMINISTRATORS . " where admin_id = '" . $admin_id . "'"); $admin = tep_db_fetch_array($admin_query); return $admin['admin_name']; } This was step 2e in the installation instructions. Quote
zzfritz Posted October 10, 2002 Posted October 10, 2002 And regarding the default administrator with all powers, that's God and you don't want to delete God. But you could edit it's username and password. Quote
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.
Note: Your post will require moderator approval before it will be visible.