Home Backend Development PHP Tutorial Dreamweaver v5.7 installed in PHP5.3 or above version cannot jump to the background when logging in_PHP tutorial

Dreamweaver v5.7 installed in PHP5.3 or above version cannot jump to the background when logging in_PHP tutorial

Jul 20, 2016 am 11:14 AM
dedecms cannot Backstage install Version Login dream weaving Jump question

When I recently downloaded dedecms V5.7, when I logged in to the backend, the username and password were correct, but I couldn’t jump and enter the backend management page. After tracking for a long time, I found the root directory /include/userlogin. The position around line 289 in .class.php and the position after

@<span session_register</span>(<span $this</span>->keepUserIDTag);
Copy after login

Used

<span><span <strong><span session_register</span></strong></span>函数,就在这个地方卡住了,而且还@了错误信息,原来<br /><span>    本函数已自 PHP 5.3.0 起</span><em class="emphasis">废弃</em><span>并将自 PHP 5.4.0 起</span><em class="emphasis">移除</em><span>。我的php版本是5.4.0的<br /></span>解决方法<br />加入代码<br /></span>
Copy after login
<span function</span><span  fix_session_register(){
    </span><span function</span> <span session_register</span><span (){
   </span><span $args</span> = <span func_get_args</span><span ();
</span><span foreach</span> (<span $args</span> <span as</span> <span $key</span><span ){
</span><span $_SESSION</span>[<span $key</span>]=<span $GLOBALS</span>[<span $key</span><span ];
   }
 }
}

</span><span if</span> (!<span function_exists</span>('session_register')) fix_session_register();
Copy after login

That’s it!

<span> </span>
Copy after login

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/440298.htmlTechArticleWhen I recently downloaded dedecms V5.7, when logging in to the backend, the username and password were correct, and it just jumped. If I don't leave, I can't enter the backend management page. After tracking for a long time, I found the root directory /include/userlo...
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

750,000 rounds of one-on-one battle between large models, GPT-4 won the championship, and Llama 3 ranked fifth 750,000 rounds of one-on-one battle between large models, GPT-4 won the championship, and Llama 3 ranked fifth Apr 23, 2024 pm 03:28 PM

Regarding Llama3, new test results have been released - the large model evaluation community LMSYS released a large model ranking list. Llama3 ranked fifth, and tied for first place with GPT-4 in the English category. The picture is different from other benchmarks. This list is based on one-on-one battles between models, and the evaluators from all over the network make their own propositions and scores. In the end, Llama3 ranked fifth on the list, followed by three different versions of GPT-4 and Claude3 Super Cup Opus. In the English single list, Llama3 overtook Claude and tied with GPT-4. Regarding this result, Meta’s chief scientist LeCun was very happy and forwarded the tweet and

Interpret the meaning and difference of PHP version NTS Interpret the meaning and difference of PHP version NTS Mar 27, 2024 am 11:48 AM

The meaning and difference of PHP version NTS PHP is a popular server-side scripting language that is widely used in the field of web development. There are two main versions of PHP: ThreadSafe(TS) and Non-ThreadSafe(NTS). On the official website of PHP, we can see two different PHP download versions, namely PHPNTS and PHPTS. So, what does PHP version NTS mean? What is the difference between it and the TS version? Next,

How to check the version of Douyin How to check the version of Douyin Apr 15, 2024 pm 12:06 PM

1. Open the Douyin app and click [Me] in the lower right corner to enter the personal page. 2. Click the [Three Stripes] icon in the upper right corner and select the [Settings] option in the pop-up menu bar. 3. In the settings page, scroll to the bottom to view the current version number information of Douyin.

GeForce Experience login freezes [Fix] GeForce Experience login freezes [Fix] Mar 19, 2024 pm 06:30 PM

This article will guide you to solve the GeForceExperience login crash issue on Windows 11/10. Typically, this can be caused by unstable network connections, corrupted DNS cache, outdated or corrupted graphics card drivers, etc. Fix GeForceExperience Login Black Screen Before starting, make sure to restart your internet connection and computer. Sometimes, the problem may just be due to a temporary issue. If you are still experiencing NVIDIA GeForce Experience login black screen issue, please consider taking the following suggestions: Check your internet connection Switch to another internet connection Disable your

Which version of Douyin matrix management system is recommended? How to do matrix marketing? Which version of Douyin matrix management system is recommended? How to do matrix marketing? Mar 21, 2024 pm 03:50 PM

With the popularity of Douyin, more and more companies and individuals have begun to use Douyin for marketing. As an important tool for Douyin marketing, the Douyin matrix management system has also received widespread attention. So, which version of Douyin matrix management system is recommended? This article will answer this question for you and introduce how to play Douyin matrix marketing. 1. Which version of Douyin matrix management system is recommended? There are many versions of the Douyin matrix management system. The following versions are currently popular on the market: Douyin’s official version of the matrix management system is specially designed for companies with certain operating experience and budget, and can realize multi-account management, data Analysis and material library functions. This system provides an efficient way to manage Douyin accounts and helps companies better understand their operational data to better

How to implement page jump in 3 seconds: PHP Programming Guide How to implement page jump in 3 seconds: PHP Programming Guide Mar 25, 2024 am 10:42 AM

Title: Implementation method of page jump in 3 seconds: PHP Programming Guide In web development, page jump is a common operation. Generally, we use meta tags in HTML or JavaScript methods to jump to pages. However, in some specific cases, we need to perform page jumps on the server side. This article will introduce how to use PHP programming to implement a function that automatically jumps to a specified page within 3 seconds, and will also give specific code examples. The basic principle of page jump using PHP. PHP is a kind of

What are the ppt versions? Inventory of several PPT versions What are the ppt versions? Inventory of several PPT versions Mar 20, 2024 am 10:16 AM

Friends in the workplace must be familiar with PPT production! Whether it is year-end summaries or commercial bidding, etc., PPT is often used to express it. However, for those who are new to PPT production, they don’t know much about the PPT versions. Let’s take stock of a few PPTs. Version. 1. PPT2003PowerPower2003 is an office software. It has a simple interface, fast operation, easy to use, and does not require high computer configuration. It has basic functions such as word processing, image processing, graphics editing, animation operation, and multimedia insertion. 2. PPT2007PowerPoint2007 inherits the advantages of the previous version and has greatly improved its functions. Get used to PowerPoint

Apple Vision Pro receives major update, visionOS 1.3 RC version released Apple Vision Pro receives major update, visionOS 1.3 RC version released Jul 25, 2024 pm 04:25 PM

According to news on July 24, Apple recently pushed the highly anticipated visionOS1.3RC version update to VisionPro headset users. This update marks Apple’s continued innovation and progress in the field of virtual reality. Although the official did not clearly disclose the specific content of this update, users generally expect it to include performance optimization, functional improvements, and bug fixes. The internal version number of this update is 21O771, 141 days have passed since the last update. However, due to caching issues with node server configurations in Apple's various regions, some users may experience delays in upgrades and updates. Apple recommends users to back up their data before installing updates to ensure information security. 1.VisionPro users can use the "

See all articles