How to install the source code of a php + mysql website (100 points, online, etc !) I downloaded the source code of a php + mysql website, uploaded the source code to the space, and set up a database. However, I still cannot browse the website ?? Thank you !, No error occurred in this issue. how to install the source code of a php + mysql website (100 points, online, etc !)
I downloaded the source code of a php + mysql website, uploaded the source code to the space, and set up a database. However, I still cannot browse the website ??
Thank you!
------ Solution --------------------
There is no error or information about this problem, and there is no answer if you do not perform a field test.
------ Solution --------------------
Check the database connection.
Database, user name, password, and data table.
Code like this. Change to your mysql code
$ Con = mysql_connect ("localhost", "root", "root ");
If (! $ Con)
{
Die ('could not connect: '. mysql_error ());
}
// Some code
?>
------ Solution --------------------
The database is not properly established.
Take a closer look at the installation documentation of this item and estimate what the. SQL database structure is to import.
Discussion
Open http: // domain name/index. php and the following prompt is displayed:
------ Solution --------------------
Error infos: Table 'taobao123. dede_homepageset 'doesn' t exist
Error SQL: Select * From 'dede _ homepageset 'limit 0, 1;
It indicates that the database has some problems. check whether your mysql database is taobao123 or taobao123.
Is there a table called dede_homepageset?
Template Not Found! D:/wwwroot/taobao123/Web/templets
No template. the source code may be incomplete.
------ Solution --------------------
Discussion
Error infos: Table 'taobao123. dede_homepageset 'doesn' t exist
Error SQL: Select * From 'dede _ homepageset 'limit 0, 1;
It indicates that the database has some problems. check whether your mysql database is taobao123 or taobao123.
Is there a table called dede_homepageset?
------ Solution --------------------
The database is incomplete and the source files are incomplete.
------ Solution --------------------
Many of the source code is now installed with install. php, which will help you configure
------ Solution --------------------
Obviously dedecms.
Can it be directly installed? I feel like the landlord is installing plug-ins or something.
------ Solution --------------------
For database reasons, it is recommended to download and modify the program again, refer to its development documentation and instructions.
Generally, mature programs have installation files similar to install. php.
We recommend that you test it locally and escape it to your space.
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.