Question: |
Can`t log in.The database is created in the control panel – menu – database the User is created in the control panel, the password when creating a user will be used as access credentials to the database. User also need to attach to the database by assigning him privilege in the same menu panel . For example, for a user account, these details will look like the database Server - localhost database Name – yegoshina Your database username yestoday your user Password – the password for that user (note that user names and database beginning with user_ -where user is your account name)did not understand |
Question: |
Created DB, created user. User added in dB but still cannot connect error Access denied for user `papakarl_1`@`46.29.2.46` (using password: YES) |
Answer: |
Hello. you Have incorrectly specified the server and database name: define(\"DB_HOST\", \"46.29.2.46\"); define(\"DB_LOGIN\", \"localhost \"); You must specify: define(\"DB_HOST\", \"localhost\"); define(\"DB_LOGIN\", \"papakarl_1\"); |
Question: |
I experimented |
Question: |
define(\"DB_HOST\", \"localhost\");define(\"DB_LOGIN\", \"papakarl_user\");define(\"DB_PASSWORD\", \"user_123\");define(\"DB_NAME\", \"papakarl_2016\"); |
Answer: |
. and check the connection. |
Question: |
RABELAISIENNES, TOOOO |
Answer: |
ok |
Question: |
And as you know I have in the code? |
Question: |
I have a problem with the encoding |
Question: |
On the local is not there. What could be the reason? Gives question marks |
Answer: |
in what encoding is Your database? |
Answer: |
where do You see the problem with the encoding? |
Question: |
The encoding for the database I was unable to install because it is added via your panel on LAN utf8 general ci |
Answer: |
where do You see the problem with the encoding? encoding is NOT added through the panel. the encoding contains a dump of Your database |
Question: |
Although there seems to phpMyAdmin is utf8 |
Answer: |
where do You see the problem with the encoding? |
Question: |
http://papa-karla.ru/fullItem.php?id=14 |
Question: |
http://papa-karla.ru/fullItem.php?id=14 |
Answer: |
where exactly are the data displayed incorrectly? |
Question: |
Everything is fine! Thank you |
Question: |
Added a new material , it is normally displayed |
Answer: |
ok
|
Answer: |
check the record in the database, you have it there in different encodings. |
Question: |
Sooner rejoiced |
Question: |
AA utf8_estonian_ci here it is, tooooo |
Answer: |
what do You use utf8_estonian_ci ? |
Question: |
Accidentally turns instead of utf8 general ci chose the last question.Why do not leave messages on mail? |
Answer: |
what kind of message is it? what is mail and how they go? |
Question: |
mail($to, $subject, $message, $headers)that`s about it |
Answer: |
what is email they are sent? |
Question: |
[email protected] |
Question: |
$to = \"[email protected]\"; $subject = \"Custom kitchens | Carl Pope\"; $message = \"Test\"l$headers = \"Content-type: text/html; charset=utf-8 \\r\\n\"; if(mail($to, $subject, $message, $headers)){ echo `YEEEES\";} |
Answer: |
to specified mailbox mail otpravljaetsja grep 1aujcL-000xQj-4B /var/log/exim_mainlog 2016-04-25 19:44:13 1aujcL-000xQj-4B <= [email protected] U=papakarl P=local S=832 T=\"\\320\\222\\321\\213\\320\\267\\320\\276\\320\\262 \\320\\267\\320\\260\\320\\274\\320\\265\\321\\200\\321\\211\\320\\270\\320\\272\\320\\260\" for [email protected] 2016-04-25 19:44:13 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1aujcL-000xQj-4B 2016-04-25 19:44:13 1aujcL-000xQj-4B SMTP connection outbound 1461602653 1aujcL-000xQj-4B papa-karla.ru [email protected] 2016-04-25 19:44:13 1aujcL-000xQj-4B => [email protected] <[email protected]> R=lookuphost T=remote_smtp H=gmail-smtp-in.l.google.com [173.194.65.26] X=TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes C=\"250 2.0.0 OK 1461602653 j123si9557023wmb.118 - gsmtp\" 2016-04-25 19:44:13 1aujcL-000xQj-4B Completed |
Question: |
Why are the messages in the spam go? |
Answer: |
send them via smtp |