phpmyadmin登录报错crypt_random_string requires at least one symmetric cipher be loaded 解决方法
2018-01-05 12:01
1321 查看
通过phpmyadmin登陆时提示以下错误:
phpmyadmin crypt_random_string requires at least one symmetric cipher be loaded
报错原因:路径问题。
解决办法:
1、进入到phpmyadmin根目录下,打开\libraries\phpseclib\Crypt\Random.php。
2、大概在195行,找到下面代码并把红色背景字体添加进去。
phpmyadmin crypt_random_string requires at least one symmetric cipher be loaded
报错原因:路径问题。
解决办法:
1、进入到phpmyadmin根目录下,打开\libraries\phpseclib\Crypt\Random.php。
2、大概在195行,找到下面代码并把红色背景字体添加进去。
switch (true) { case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/AES.php’): if (!class_exists('Crypt_AES’)) { include_once 'AES.php’; } $crypto = new Crypt_AES(CRYPT_AES_MODE_CTR); break; case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/Twofish.php’): if (!class_exists('Crypt_Twofish’)) { include_once 'Twofish.php’; } $crypto = new Crypt_Twofish(CRYPT_TWOFISH_MODE_CTR); break; case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/Blowfish.php’): if (!class_exists('Crypt_Blowfish’)) { include_once 'Blowfish.php’; } $crypto = new Crypt_Blowfish(CRYPT_BLOWFISH_MODE_CTR); break; case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/TripleDES.php’): if (!class_exists('Crypt_TripleDES’)) { include_once 'TripleDES.php’; } $crypto = new Crypt_TripleDES(CRYPT_DES_MODE_CTR); break; case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/DES.php’): if (!class_exists('Crypt_DES’)) { include_once 'DES.php’; } $crypto = new Crypt_DES(CRYPT_DES_MODE_CTR); break; case phpseclib_resolve_include_path('libraries/phpseclib/Crypt/RC4.php’): if (!class_exists('Crypt_RC4’)) { include_once 'RC4.php’; } $crypto = new Crypt_RC4(); break; default: user_error('crypt_random_string requires at least one symmetric cipher be loaded’); return false; }
相关文章推荐
- xcode4.3发布报错 At least one of the following architecture(s) must be present: armv6 (-19033) 错误解决方法
- VS2010编译错误: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403的解决方法 .
- This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0错误解决办法
- 解决itunesconnect上传时"at least one of the following architecture(s) must be present:armv6"问题
- VS2010编译错误 #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403的解决方法
- Select at least one project的解决方法
- VS2010编译错: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403...的解决方法
- 使用mxnet时遇到的问题Operator _zeros cannot be run; requires at least one of FCompute<xpu>......
- andorid导入项目时Select at least one project问题解决方法
- At least one JAR was scanned for TLDs解决方法
- 解决错误 This file requires _WIN32_WINNT to be #defined at least to 0x0403. ..
- VS2010编译错误:This file requires _WIN32_WINNT to be #defined at least to 0x0403...的解决方法
- oracle Can't connect to X11 window server using ':0.0' /Checking monitor: must be configured to display at least 256 colors解决方法
- 1、创建一个JPA project(解决“at least one user library must be selected”问题)
- xcode4 上传app 报错At least one of the following architecture(s) must be present :armv6
- VS2010编译错误:fatal error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403...的解决方法
- MySQL存储表情时报错:java.sql.SQLException: Incorrect string value:‘\xF0\x9F\x92\xA9\x0D\x0A...’的解决方法
- 解决关于jquery中$.get()方法总是报“HierarchyRequestError: Node cannot be inserted at the specified point in the hierarchy”错的方法
- Caused by: java.lang.IllegalArgumentException: At least one JPA metamodel must be present!
- PHP error:ERROR: No pool defined. at least one pool section must be specified in config file