As ecshop personal independent malls gradually emerge, many friends may find some problems in using ecshop, such as homepage garbled and hacking attempt on the homepage, the ecshop homepage is garbled and has been mentioned in previous blog posts. So let's talk about the hacking attempt issue today.
As we all know, hacking attempt means hacking. Is it true that our mall has been attacked by hackers? In fact, this is not the case. In ecshop Mall, orders conflict with each other, or managers conflict with each other in the front and back, and sometimes Network loading and network environment will cause this problem. So how exactly did it happen?
For example, if you set the order to "received" in the user Center, and then set this order to "received" in the background, this problem will occur. This is caused by conflicts between orders. So how should we solve this problem?
Here I use the cpanel control panel on the linux host of zhuji91 for detailed operations. Generally, this problem occurs when the statements in the admin/order. Php file are incorrect. You only need to check whether the statements are correct.
Step 1: Open cpanel, go to the file manager, select your own ecshop website, click to enter, select the admin/order. Php file, and click edit in the email.
Step 2: open this file and find define ('in _ ECS', true). If not, add it. If yes, this statement may be caused by a network environment or order conflict and cannot be loaded.
In fact, the principle of this error is very simple. You only need to understand a command in ecshop to avoid this problem: the initialization file is defined as follows:
If (! Defined ('in _ AGA '))
{
Die ('hacking attempt ');
}
The page must be as follows:
Define ('in _ AGA ', true );
If: define ('in _ ESC ', true );
The initialization file will execute a definition error.