500 Error output during program debugging

Source: Internet
Author: User
Tags mysql login
For help, I found that no display was found during debugging. After reviewing the elements, I found the installation package provided by lnmp.org in the 500 Error environment, the php version is 5.6mysql. Through the probe test, all the codes listed below can be connected. Please help me to analyze what went wrong and how to modify the address h... for help, I found no display during debugging after writing, and found Error 500 after review elements
The installation package provided by lnmp.org for the environment. The php version is 5.6.
Mysql can be connected through the probe test
The following lists all the codes. Please help me analyze what went wrong and how to modify them.
Address is http://test.ni-co.moe/sousuo.php

Main query output files of mysql. php


  Connect_error) {die ("bad login :". $ conn-> connect_error) ;}; echo "mysql login good"; $ cx = 'select * from test where find_in_set ($ sousuo, name )'; $ dc = $ conn-> query ($ cx); echo $ dc; $ row = mysql_fetch_assoc (mysql_query ($ cx); // obtain the row echo $ row through the result set; foreach ($ row as $ key => $ value) {$ new ['P '. $ key] = $ value; // before the variable name, batch + p, an array} extract ($ new ); // Add the array index as the variable name to the symbol table echo $ row + "/" + $ new; echo "pid:" + $ puid +"
Host: "+ $ puser +"
Pwd: "+ $ fpwd; // :)?>

Sousuo. php submits forms for users


  Submit information
  

Conifg. php is mysql Information


  

The cache is disabled in huancun. php.


  

Reply content:

For help, I found no display during debugging after writing, and found Error 500 after review elements
The installation package provided by lnmp.org for the environment. The php version is 5.6.
Mysql can be connected through the probe test
The following lists all the codes. Please help me analyze what went wrong and how to modify them.
Address is http://test.ni-co.moe/sousuo.php

Main query output files of mysql. php


  Connect_error) {die ("bad login :". $ conn-> connect_error) ;}; echo "mysql login good"; $ cx = 'select * from test where find_in_set ($ sousuo, name )'; $ dc = $ conn-> query ($ cx); echo $ dc; $ row = mysql_fetch_assoc (mysql_query ($ cx); // obtain the row echo $ row through the result set; foreach ($ row as $ key => $ value) {$ new ['P '. $ key] = $ value; // before the variable name, batch + p, an array} extract ($ new ); // Add the array index as the variable name to the symbol table echo $ row + "/" + $ new; echo "pid:" + $ puid +"
Host: "+ $ puser +"
Pwd: "+ $ fpwd; // :)?>

Sousuo. php submits forms for users


  Submit information
  

Conifg. php is mysql Information


  

The cache is disabled in huancun. php.


  

Your 500 error is obviously a program error. The web server reports a code error.

Id = the part of the body is wider than the part of the head.

You can view the error log ~

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.