آموزش حل مشکل حذف دسترسی مدیرکل به ادمین سی پی
امتیاز:

آموزش : حل مشکل حذف دسترسی مدیرکل به ادمین سی پی
نویسنده : hono
منبع : vbiran.ir
درود
دوستان عزیز همونطور که میدونید زمانی که مدیرکل ناخواسته حذف میشه و شما به ادمین سی پی دسترسی ندارید،
میتونید با ویرایش فایل config.php و وارد کردن آی دی کاربری که میخواین دسترسی مدیرکل رو بهش بدید، اون کاربر رو مدیرکل کنید :
// ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ****** // The users specified here will be allowed to view the admin log in the control panel. // Users must be specified by *ID number* here. To obtain a user's ID number, // view their profile via the control panel. If this is a new installation, leave // the first user created will have a user ID of 1. Seperate each userid with a comma. $config['SpecialUsers']['canviewadminlog'] = 'ID';
// ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ****** // The users specified here will be allowed to remove ("prune") entries from the admin // log. See the above entry for more information on the format. $config['SpecialUsers']['canpruneadminlog'] = 'ID';
// ****** SUPER ADMINISTRATORS ****** // The users specified below will have permission to access the administrator permissions // page, which controls the permissions of other administrators $config['SpecialUsers']['superadministrators'] = 'ID';که متاسفانه بعضی دوستان میگن که مشکل حل نمیشه، که به احتمال زیاد برمیگرده به ویرایش اشتباه config.php
و این قسمت هم برای جلوگیری از قابلیت تغییر و جابجایی و ویرایش و... نام کاربری مدیرکل:
// ****** UNDELETABLE / UNALTERABLE USERS ****** // The users specified here will not be deletable or alterable from the control panel by any users. // To specify more than one user, separate userids with commas. $config['SpecialUsers']['undeletableusers'] = 'ID';
در هر صورت این مراحل رو در cpanel طی کنید تا مشکلتون حل بشه :
databases >>> phpMyAdmin
انتخاب دیتابیسی که فروم رو روی اون ایجاد کردید (همون دیتابیسی که اطلاعات config.php رو بر اساس اون ویرایش کردید)
browse >>> user
نهایتا برای کاربری که میخواین مدیرکلش کنید روی Inline Edit کلیک کنید و usergroupid رو به 6 تغییر بدید ( چون ID مدیرکل در گروه های کاربری پیشفرض ویبولتین 6 هست)
در آخر با کلیک روی save ، کاربر مورد نظر مدیرکل میشه
موفق باشید، سپاس
علاقه مندی ها (Bookmarks)