[Do not translate] I learned PHP by myself, and the CD-Free project could not run normally.

Source: Internet
Author: User
[Please note] I learned PHP by myself. the CD-Free project cannot run normally. first, I used the wamp-configured environment.
Follow the steps in the book to perform step-by-step operations
But always reports an error after running
1.
I do not know why the drop-down list of the group is not displayed. the login and reset buttons do not have image loading.
2. after you enter the account 1006 password 1006, the error page cannot be loaded.


------------------------------ Split line. The following is the detailed file code -------------------------
Func. php


Index_ OK .php


Thank you.


Reply to discussion (solution)

No more.
Php. ini
Error_reporting = E_ALL &~ E_NOTICE &~ E_DEPRECATED

No more.
Php. ini
Error_reporting = E_ALL &~ E_NOTICE &~ E_DEPRECATED
I don't understand. what does it mean? Modify the php. ini file?

Reference the reply from xuzuning on the first floor: no more.
Php. ini
Error_reporting = E_ALL & amp ;~ E_NOTICE & amp ;~ E_DEPRECATED
I don't understand. what does it mean? Modify the php. ini file?
Moderator, the error code is missing ......
However, the account and password are still prompted.
The method you mentioned does not cure the symptoms.

What are the errors reported now? Confirm the username in the database.

What are the errors reported now? Confirm the username in the database.
Great. see Jordan again ~
Check that the database contains 1001,1002, 1003,1006, which are the front-end account and password.
I sent the source code to two netizens. one of them can be opened normally, and the other cannot.

What are the errors reported now? Confirm the username in the database.
The error message is displayed as follows:
Bytes ------------------------------------------------------------------------------------------------
Index_ OK .php


Func. php

Change the database password to 123...

I don't know which junk publishing house is in China.

Okay, I will give you a "governance" method: Downgrade Your php version to php5.2

Notice: A session had already been started-ignoring
The session has started.
Php5.4 only has a warning. it is issued when session_start () is repeatedly executed.

Notice: Undefined index: u_group
Unspecified index used
$ _ POST ['U _ group'] does not exist
From php5.3, Notice-level errors are checked by default.

Deprecated: Function split () is deprecated
Function split expired
Php5.3 added Deprecated-level error check

Okay, I will give you a "governance" method: Downgrade Your php version to php5.2

Notice: A session had already been started-ignoring
The session has started.
Php5.4 only has a warning. it is issued when session_start () is repeatedly executed.

Notice: Undefined index: u_group
Unspecified index used
$ _......
If the version is downgraded, there will be no other "adverse reactions", right?
I want to try it in the virtual machine.
Thank you for your patience!

Change the database password to 123...

I don't know which junk publishing house is in China.
Answer: Tsinghua University Press-PHP project development case full recording (version 2nd)

If the version is downgraded, there will be no other "adverse reactions", right?
Adverse reactions?
Your problem is caused by the version being too high.
I have already made it clear in my recovery.

Reference the reply from wxsyd966 on the 9th floor: if the version is downgraded, there will be no other "adverse reactions", right?
Adverse reactions?
Your problem is caused by the version being too high.
I have already made it clear in my recovery.
Thanks to the moderator. how can I downgrade the php version in Baidu?

Has Baidu arrived?
Download the version you need to the http://www.php.net/releases/ and install it.

Has Baidu arrived?
Download the version you need to the http://www.php.net/releases/ and install it.
Thank you very much. I will leave a message for you if you have any questions.

Reference PhpNewnew on the 7th floor: change the database directly and change the password to 123...

I don't know which junk publishing house is in China.
Answer: Tsinghua University Press-PHP project development case full recording (version 2nd)

Author: tomorrow Science and Technology Press: Tsinghua University Press ISBN: 9787302241928 Published on:


When I buy books in the future, I will read the time, I will read the comments, I will read the author, and I will read the publishing house to save money. there are a lot of books in China that make money. Why can't I learn from them...

When I buy books in the future, I will read the time, I will read the comments, I will read the author, and I will read the publishing house to save money. there are a lot of books in China that make money. Why can't I learn from them...
I used to have this idea, but I have no time to go to work.
Now it's time, but php has been developing too fast. No bad income, no worries about misleading income

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.