Service Centre

How to remove/wwh from the front-end URL

1、Enterprise official website ->Site configuration ->Plugin configuration, remove/wwh from the pseudo static value column;

2、When modifying the homepage redirect link in column management, also delete/wwh, and clear the backend cache and browser cache after modification.

Login prompt: Please try again in 1 day

This is because the FastAdmin framework has a default limit on the number of failed login attempts. When the number of failed attempts exceeds 10, it takes 1 day before you can log in again. You can manually log in to the database and modify the corresponding administrator's loginfailure in the database table, and then retry the login.

Add uploaded file types

Open application/extra/upload.chp, modify mimetype, and add the file suffix of the required upload type.

FastAdmin directory security configuration

In actual production, directory security is a configuration that is easily overlooked, so we should pay extra attention to prevention to avoid unnecessary losses.
Firstly, we suggest that in the production environment, only read and write permissions be granted to the uploads and runtime directories. Secondly, it is necessary to disable the permission to execute PHP scripts in the uploads directory. Assuming that the server-side uploads directory has read and write permissions and PHP script execution permissions, when malicious scripts are uploaded to this directory and executed, it can cause server data leakage or malicious modification, resulting in losses.
To avoid unnecessary losses, it is recommended to use the following command to set directory permissions in a production environment



chown www:www /var/www/yoursite -R
chmod 555 /var/www/yoursite -R
chmod u+w /var/www/yoursite/runtime -R
chmod u+w /var/www/yoursite/public/uploads -R

How to configure email push

1. Configure the backend email account: General Management ->System Configuration ->Email Configuration. After configuration, click Send Test Email to verify if the configuration is effective;
2. Configure message and resume email addresses: Enterprise official website ->Site configuration ->Plugin configuration, fill in the corresponding receiving email address.


404 error accessing website

If you are using the Pagoda Panel, please directly select ThinkPHP5's pseudo static rules in the Pagoda Panel backend ->website ->pseudo static.
If you are using the one click installation of LNMP environment on lnmp.org, please refer to https://lnmp.org/faq/lnmp-vhost-add-howto.html#rewrite Pseudo static configuration.

If you are using PHPStudy, it is recommended to refer to the pseudo static configuration in the video installation tutorial: https://www.fastadmin.net/video/install.html .


Apache Rules


<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] 
</IfModule>


Nginx Rules


location / {

    if (!-e $request_filename){
        rewrite  ^(.*)$  /index.php?s=$1  last;   break;
    }
}

There is no rich text editor in the background

Please install any rich text editor plugin in the plugin management, and then clear the browser cache.

How to enable debug mode in FastAdmin

There are two methods to enable debugging mode:
1. Open application/config.php, find app_debug, and set its value to true;
2. If you have enabled the. env environment configuration, simply modify the value of app_debug to true.

Message Inquiry

*
*
*
*
*
Submit