Possible solutions of your questions

  hosting
<< Previous       the website http://ikea-home.by/

Question: Good time of day. Put the website http://ikea-home.by/ and it gives the server error 500S what is the reason?Do I need to import the database in phpmyadmin and create user?the database is in the root folder of the website ikeahome_baza.sqlТак is seen php code that interacts with the database:$dbh = new PDO(`mysql:host=localhost;dbname=ikeahome_baza`, \"ikeahome_admin\", \"admin\");
Answer:


Hello.
please Check the rights for folders and files.
Rights should only be 644 for files, 755 for folders. Permissions 777 prohibited and do not require
In the file .htaccess should not be of type php settings php_value, php_flag. php is running as cgi and make these customizations in the php files.ini .
Error You can see in the control panel, the error Log

Question: Looked like, all rights set correctly. In .htaccess is also okay. In the error log is nothing about this website, posomtrite please, what could be the problem? And about the base, in this case, you need to import database in phpmyadmin?
Answer:

the error file is the following


#2 /home/vizorby/public_html/ikea-home.by/index.php(2): include(`/home/vizorby/p...`)
#3 {main}
thrown in /home/vizorby/public_html/ikea-home.by/administrator/conf.php on line 2
[19-Feb-2016 13:18:57 Europe/Moscow] PHP Fatal error: Uncaught exception `PDOException` with message `SQLSTATE[28000] [1045] Access denied for user `ikeahome_admin`@`localhost` (using password: YES)` in /home/vizorby/public_html/ikea-home.by/administrator/conf.php:2
Stack trace:
#0 /home/vizorby/public_html/ikea-home.by/administrator/conf.php(2): PDO- > __construct(`mysql:host=loca...`, `ikeahome_admin`, `admin`)
#1 /home/vizorby/public_html/ikea-home.by/administrator/Get.php(2): include(`/home/vizorby/p...`)
#2 /home/vizorby/public_html/ikea-home.by/index.php(2): include(`/home/vizorby/p...`)
#3 {main}
thrown in /home/vizorby/public_html/ikea-home.by/administrator/conf.php on line 2

Answer:

the file you have in that line so

the file you have in that line so

 

$dbh = new PDO(`mysql:host=localhost;dbname=ikeahome_baza`, \"ikeahome_admin\", \"admin\");

 

these data are incorrect

you need to create a database, create a user

to attach the user to the database

deleteerror dump in phpmyadmin

and change the file connection parameters

 

Question: Thank you. In short, all the problems from the database? Then it will create and import. We believed that there is another problem
Answer:

while only

Question: All done, but still something does not plow
Answer:

not done

 in the file all on prezhdnemu

$dbh = new PDO(`mysql:host=localhost;dbname=ikeahome_baza`, \"ikeahome_admin\", \"admin\");

Question: A huge thank you to the support , ruled only in find.php on the main! The problem is solved.
Answer:

thank you for contacting the technical support

 


<< Previous