An error occurred in. php.

Source: Internet
Author: User
Tags deprecated
During renewal, an error is reported and the cause cannot be found. wait for the prawn to help. & nbsp; php address: download. csdn. netdetaildf2741193864351419 & nbsp; database file address: http online, etc. php reports an error and is in a hurry
A friend of mine asked me to add some features. I deployed php and mysql under the local apache. when indexing index.htm, I always reported an error and couldn't find the cause. I waited for the prawn help.
Php address: http://download.csdn.net/detail/df274119386/4351419
Database file address: http://download.csdn.net/detail/df274119386/4351446
Which of the following prawns can be downloaded and deployed? thank you very much! Welcome to q: 11250045
Local running environment: window7, php5.4.3, apache2.2, and mysql5.5

Error code:

Deprecated: Function set_magic_quotes_runtime () is deprecated in E: \ web \ Conjunction. php on line 3

Notice: Undefined index: jxadmin in E: \ web \ Conjunction. php on line 38

Notice: Undefined index: kauser in E: \ web \ Conjunction. php on line 47

Notice: Undefined index: username in E: \ web \ Conjunction. php on line 56

Notice: Undefined index: jxadmin in E: \ web \ Conjunction. php on line 119

Notice: Undefined index: kauser in E: \ web \ Conjunction. php on line 122

Notice: Undefined index: username in E: \ web \ Conjunction. php on line 124

Notice: A session had already been started-ignoring session_start () in E: \ web \ Conjunction. php on line 213
= '". $ Text." 'Order By ID Desc LIMIT 1 "); $ Current_KitheTablehp8 = mysql_fetch_array ($ result); if ($ Current_KitheTablehp8! = "") {$ Current_Kithe_Numhp8 = $ Current_KitheTablehp8 ['nn '];} else {$ Current_Kithe_Numhp8 = 1 ;} $ result = mysql_query ("Select * From hp9_Kithe where zfbdate1 <= '". $ text. "'and zfbdate> = '". $ text. "'Order By ID Desc LIMIT 1"); $ Current_KitheTablehp9 = mysql_fetch_array ($ result); if ($ Current_KitheTablehp9! = "") {$ Current_Kithe_Numhp9 = $ Current_KitheTablehp9 ['nn '];} else {$ Current_Kithe_Numhp9 = 1 ;} $ results = mysql_query ("Select * From s_Kithe where zfbdate1 <= '". $ text. "'and zfbdate> = '". $ text. "'Order By ID Desc LIMIT 1"); $ Current_KitheTables = mysql_fetch_array ($ results); if ($ Current_KitheTables! = "") {$ Current_Kithe_Nums = $ Current_KitheTables ['nn '];} else {$ Current_Kithe_Nums = 1 ;} $ resultl = mysql_query ("Select * From l_Kithe where zfbdate1 <= '". $ text. "'and zfbdate> = '". $ text. "'Order By ID Desc LIMIT 1"); $ Current_KitheTablel = mysql_fetch_array ($ resultl); if ($ Current_KitheTablel! = "") {$ Current_Kithe_Numl = $ Current_KitheTablel ['nn '];} else {$ Current_Kithe_Numl = 1;}?>
Fatal error: Call to undefined function ka_config () in E: \ web \ go. php on line 5


------ Solution --------------------
Deprecated: Function set_magic_quotes_runtime () is deprecated
It means that the set_magic_quotes_runtime () function has been deprecated.

Enable php. ini to make error_reporting = E_ALL &~ E_NOTICE

------ Solution --------------------
Php. ini
Error_reporting = E_ALL &~ E_NOTICE &~ E_DEPRECATED
Or program
Error_reporting (E_ALL &~ E_NOTICE &~ E_DEPRECATED );

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.