Answer the question
In order to leave comments, you need to log in
Question marks dle. How to solve the problem?
kinonik.ru here is the site. Question marks suddenly appeared, although before that everything was fine ... Now I don’t know what to do, I have already tried everything that is offered on the Internet. Can you help?
Answer the question
In order to leave comments, you need to log in
1. We make a backup of the site. Delete all script directories except uploads. upload UTF-8 version of DLE. We restore the files in it to the engine / data directory.
2. All template files must be in UTF-8 without BOM. The head should also be utf-8.
3. All tables in the database, and the database itself must be encoded in utf8_general_ci. You can convert by asking:
SELECT CONCAT( 'ALTER TABLE `', t.`TABLE_SCHEMA` , '`.`', t.`TABLE_NAME` , '` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;' ) AS sqlcode
FROM `information_schema`.`TABLES` t
WHERE 1
AND t.`TABLE_SCHEMA` = 'MY_DB_NAME'
ORDER BY 1
LIMIT 0 , 90
AddDefaultCharset UTF-8
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question