Here’s the situation, you, client, webmaster, pet or whoever was playing with
users and roles in your favorite store and deleted only main admin account or
broke admin account privileges. If it happened to you and you’re locked out from
your Magento store, read on.
This script
creates new admin user associated to new Inchoo role with all privileges set. Of
course, you have to have FTP access for this to work.
newadmin.zip
Download newadmin script, unpack it, open newadmin.php file (notepad will do)
and define username, email and password of the new user. Username and email must
be UNIQUE in Magento, so use some new ones and not the old ones that are already
in the system, you’ll change it later after you login.
Connect with FTP and
copy newadmin.php file to root of your store and run it through web browser
like
http://www.yourstore.com/newadmin.php
The script will try to delete itself after user is created, but please make
sure it’s removed from the server. Code is tested on 1.3.x versions of Magento
and I don’t believe it will work on older versions, so please write some
feedback.
Regards
出处:http://inchoo.net/ecommerce/magento/locked-out-from-magento-admin/
<!-- You can start editing here. -->
分享到:
相关推荐
- **升级数据库配置**:如提高`busy_timeout`设置,增加SQLite等待锁的时长,但这种方法并不能解决根本问题。 总结来说,SQLite的死锁问题主要源于资源竞争和事务顺序,通过理解死锁产生的原因,结合异常处理、事务...
### SVN在客户端执行UPDATE报locked的处理办法 #### 背景介绍 在软件开发过程中,版本控制系统(Version Control System, VCS)是必不可少的工具之一。Subversion(SVN)作为一款开源的集中式版本控制系统,被广泛...
We demonstrated a femtosecond mode-locked Er:ZrF
stm32 flash解锁,我的是开发板,在按键中断中解锁flash,具体的见源代码,使用ram.icf,把程序烧录在ram中,环境是IAR6.10,库版本是3.0,成功解决Core is locked-up问题。~
信息安全_数据安全_Extracting Secrets from Locked P 水坑攻击 态势感知 安全建设 数据泄密 安全响应
SQL> SELECT resource_name, limit FROM dba_profiles WHERE resource_name = 'FAILED_LOGIN_ATTEMPTS'; ``` - 如果返回的限制值为`10`,表示允许连续失败登录的最大次数为10次。如果设置为`unlimited`,则表示...
CD-Rom for the book "Phase-Locked Loops Design,Simulation and Applications by R.E.Best. A design program for Phase-locked loops circuits
Experimental generation of stable mode-locked pulses and cylindrical vector beams (CVBs), from an all few-mode fiber (FMF) ring laser is first reported, to the best of our knowledge. In this laser, a ...
然而,在多线程环境中,由于并发访问数据库,可能会遇到“database locked”(数据库被锁定)的问题。本文将深入探讨如何在Android中使用多线程操作SQLite并解决数据库被锁定的问题。 首先,理解“database locked...
"PLL(Phase Locked Loop)锁相环" PLL(Phase Locked Loop)锁相环是一种反馈控制电路,用于统一整合时脉讯号,使内存能正确的存取资料。在电子设备中,PLL广泛应用于振荡器中的反馈技术。 PLL锁相环的基本组成包括...
相位锁定环(Phase-Locked Loops, PLLs)设计与仿真 #### 定义与原理 相位锁定环(PLL)是一种用于控制两个信号之间的相位差的技术。在射频(RF)系统中,PLL被广泛应用于频率合成、时钟恢复以及其他需要精确控制频率...
Razavi_Monolithic_Phase-Locked_Loops_and_Clock_Recovery_Circuits 第二部分
from v$locked_object a,v$session b where a.session_id = b.sid and sid in( select a.SESSION_ID from v$locked_object a,dba_objects b where b.object_id = a.object_id and object_name ='HDM_COMPLETED_RATE'...
已锁定 通用锁定文件(不是守护程序) locked [--tracked=REGEX --] ...# locked using:OCI-image-FROM # locked and:track=golang:1.16.2-alpine3.12 # locked and:semver=1.16.2~1 FROM golang:1.16.2-alpine3.12 A
The text details all aspects, from specification to the final circuit, of the design of digital-to-analog converters, analog-to-digital converters, phase-locked Read more... Abstract: "With a focus ...
标题中的"SPM.rar_laser_mode locked_mode-locked_spm_激光"暗示了这是一个关于锁模激光技术的文件,特别是涉及到自相位调制(Self-Phase Modulation, SPM)的研究。锁模激光是一种特殊的激光操作模式,通过在激光器...
相位锁定环(Phase-Locked Loop,PLL)作为CMOS技术中的重要组成部分,在无线通信、时钟同步等领域发挥着关键作用。本篇将深入探讨CMOS PLL的设计原理与技术细节。 #### 二、CMOS PLL概述 ##### 2.1 基本概念 相位...
在本文中,我们将深入探讨Laravel开发中的"locked"特性,这是一个用于在特定日期之后锁定应用程序的工具。Laravel作为一款流行的PHP框架,以其优雅的语法、强大的功能和丰富的生态系统深受开发者喜爱。"locked"包的...
FROM v$locked_object a, v$session b WHERE a.session_id = b.sid ORDER BY b.logon_time; ``` 此查询返回了参与锁定的所有会话的信息,包括用户名、会话ID、序列号以及登录时间。通过这些信息可以判断出哪些会话...
模拟集成电路的分析与设计:Chapter 15-Phase-Locked Loops.ppt