Thewebpagecannotbefound. How to deal with it-php Tutorial

Source: Internet
Author: User
Thewebpagecannotbefound .... When you run the php code in eclipse, the following error occurs: localhostfloweradmin. php & nbsp; The & nbsp; webpage & nbsp; cannot & nbsp; be & nbsp; found & nbsp ;....... The webpage cannot be found ....
The following error message is displayed when you run php code on eclipse:
Http: // localhost/flower/admin. php

The webpage cannot be found
.......

Share:


------ Solution --------------------
What is the running status in the browser?

------ Solution --------------------
Directly display php code? Phpinfo ();
------ Solution --------------------
"Phpinfo () cannot run." What does it mean? Is there an error?
------ Solution --------------------
Reference:
The code in admin. php is as follows when the browser runs:
Include ("config. inc. php ");
Include ($ CommonPath. "/func/member/admin. php ");
?>

I used the wapm environment to configure the relevant website path in the apache file.

Enable the php error display function!

The possible cause of the error is:
1. config. inc. php does not exist or the path is incorrect.
2. $ CommonPath is not assigned a value in config. inc. php, or $ CommonPath is case sensitive.
3. the file pointed to by $ CommonPath. "/func/member/admin. php" does not exist or the path is incorrect.

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.