The website encountered an exception during retrieval. The website may be closed for maintenance or the configuration is incorrect.

Source: Internet
Author: User
The website encountered an error during retrieval. The website may be closed for maintenance or the configuration is incorrect. My files are uploaded to the server. when I open the website, the message "& nbsp;" is returned when I retrieve http://www.hu0010.com. The website may be closed for maintenance or the configuration is incorrect. I uploaded index.html at the beginning, but the PHP code in it does not seem to be usable. Other websites encounter errors during retrieval. The website may be closed for maintenance or the configuration is incorrect.
When uploading my files to the server, the following prompt is displayed when you open the website:

The website encountered an error while retrieving http://www.hu0010.com. The website may be closed for maintenance or the configuration is incorrect.

I uploaded index.html at the beginning, but the PHP code in it seems to be unavailable. the other code is displayed as normal. after saving it as index. php and opening it again, the above prompt is displayed. I cannot open it!



Website content index. php










Blog

















"Hello World !"

















  • Homepage


  • Blog


  • Message Board





























Include ("conn. php ");

?>


If (! Empty ($ _ GET ['Keys ']) {

$ W = "'title' like '%". $ _ GET ['Keys']. "% '";

} Else {

$ W = 1;

}

// Pagination

$ Pagesize = 10; // Number of Entries displayed per page

$ Rs = mysql_fetch_row (mysql_query ("select count (*) from 'blog '") [0]; // gets the total number of records

$ Pages = ceil ($ rs/$ pagesize); // total number of records/number of records = number of pages ceil indicates that more than 1 is allowed

// Obtain the value of the page. If no page exists, the page number is 1.

$ Page = isset ($ _ GET ['Page'])? Intval ($ _ GET ['Page']): 1;

$ Offset = $ pagesize * ($ page-1 );//

$ Query = mysql_query ("select * from 'blog 'order by id desc limit $ offset, $ pagesize ");



While ($ rs = mysql_fetch_array ($ query )){

?>

">





"> Read the full text>

Category:


Switch ($ rs ['F _ id']) {

Case 1:

Echo "personal logs ";

Break;

Case 2:

Echo "Category 2 ";

Break;

Case 3:

Echo "Category 4 ";

Break;

Case 4:

Echo "Category 4 ";

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.