Prompt page error! Please try again later ~ ThinkPHP V5.0.11 {Ten years of hard work - a high-performance framework designed for API development}
Ben
Ben 2018-04-08 09:10:45
0
3
14768

                                                                                                                                                                                                                <div class="info"><h1>Page error! Please try again later~</h1></div>

       

                                                                   

# <div class="copyright">

                                             ThinkPHP

</div>

Ben
Ben

reply all(3)
手机用户1596765400

Why can’t I open many web pages for reading?

快乐生活

1 The namespace declaration must be written at the beginning of the script

If the following error occurs after running the PHP script:

Namespace declaration statement has to be the very first statement in the script

The reasons are as follows:

The namespace declaration statement must be at the front of the script.

<The statement of ?php must be in the first sentence of the script, even spaces or blank lines will not work.

However, if there are no blank lines or spaces in front of <?php, this error will still be reported. The reason is that I opened it with Notepad and modified the encoding. After opening it with Notepad, the BOM header was added to the file.

The solution is as follows:



Open it with EDITPLUS and save it as a file. The UF8 problem is solved. The original file becomes UF8- BOM

猪哥

Turn on debug to see what the error is


Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template