Error when running index.php
iUnicorn
iUnicorn 2019-04-06 18:35:40
0
4
1493

Teacher Zhu, unzip your courseware file to the project directory and an error will occur when running index.php. The database name has been changed to myblog. Please check what the problem is, thank you!

Notice: Undefined variable: catList in E:\MyStudy\Php\myblog\public\inc\header_inc.php on line 55

Warning: Invalid argument supplied for foreach() in E: \MyStudy\Php\myblog\public\inc\header_inc.php on line 55

Fatal error: Uncaught Error: Call to undefined function auto_load_tpl() in E:\MyStudy\Php\myblog\index.php: 5 Stack trace: #0 {main} thrown in E:\MyStudy\Php\myblog\index.php on line 5


iUnicorn
iUnicorn

知识,成就梦想!

reply all(2)
Peter-Zhu

Check the number of lines in the corresponding code according to the prompts. For undefined variables, check whether some documents need to be loaded first

独行者

An undefined function was called, check the code yourself

  • reply To directly decompress the courseware, change the database name "blog" to "myblog" and leave the other codes unchanged.
    iUnicorn author 2019-04-07 11:37:48
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!