How does one Enable cookies to log on? phpMyAdmin

Source: Internet
Author: User

 

First, test phpMyAdmin on IE and Firefox respectively.

1. If this is the case:Cookies must be enabled before they can be logged on

Check whether the following two items are set correctly.
$ Cfg ['blowfish _ secret'] = 'cookies'; // some versions of files' do not contain cookies.

$ Cfg ['servers'] [$ I] ['auth _ type'] = 'cooker ';

 

2. If it is normal in Firefox, the system still prompts that cookies must be enabled to log on to IE,

Enable ie cookie in the following steps
Menu Bar, tools, Internet Options, security, set all areas to the default level.

First, query your IE version.

Open IE and click "help" (HELP) in the menu bar. In the expanded menu, select the bottom line "about Internet Explorer" (about Internet Explorer ), in the pop-up window, the first line under the Internet Explorer image title is about version information. Generally, 5.0 or 6.0.

A. If you are using IE 6.0, follow these steps to enable COOKIE:

(1) Click "tool" in the menu bar and select the "Internet Options" (Internet Options) at the bottom of the menu bar) in the Internet option setting window that appears, there is a tab on top, and click the third "privacy ). In "privacy" settings, there are three buttons in the middle down. Click the second button "advanced" in the pop-up cookie settings window, select the following settings:

Overwrite automatic cookie processing (override automatic Cookie Handling)

First-party COOKIE: accept)

Third-party cookies: accept (third-party cookies: accept)

Always allow session cookies (always allow session cookies)

Click OK to close the cookie setting window.

Click OK to close the Internet option setting window.

B. If you are using IE 5.0, follow these steps to enable COOKIE:

Click "tool" in the menu bar)

In the expanded menu, select the following "Internet Options" (Internet Options)

In the Internet option setting window that appears, there is a tab on top, and click the second "security ).

In the "Security" setting, there are two buttons in the middle down, click the button "Custom Level" (customized)

In the pop-up security settings window, pull the up/down scroll bar, find the cookie settings, and check the following settings:

Allow use of cookies stored on your computer: Enabled

Allow each dialog cookie (not stored): Enabled

Click OK to close the security settings window.

Click OK to close the Internet option setting window.

 

Tool -- Internet Options. --- Delete cookies -- OK --- OK
Refresh the phpMyAdmin logon page

If you follow the configuration method I mentioned above, this error will not be prompted. After more than two hours of modifying the config. Default. PHP configuration file, I always indicated this error, almost reaching the edge of the crash. Then, Ling Guang suddenly found that when I changed the auth_type authentication method to HTTP and changed it to config, this error always occurred when I opened the page. That is to say, the authentication mode has changed and does not work for phpMyAdmin, is phpMyAdmin affected by other configuration files? I immediately came to the phpMyAdmin root directory and found that a config. sample. Inc. php file exists under the root directory, and a config. Inc. php file exists !! This is a configuration file of the old version. It turns out to be a ghost of this file. Immediately delete config. Inc. php and go to the debugging page. The error disappears! Solve the problem. It seems that the config. inc. PHP configuration file Priority Ratio/libraries/config. default. the PHP configuration file is high. The system first calls the configuration file in the root directory, and then the configuration file in the libraries folder. AI, this problem has been so long and I am sorry. The solution is always done. Just breathe a sigh of relief.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.