Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
895 views
in Q2A Core by

I get this error on my error log file ... What I can do?

[14-Nov-2016 12:52:47 Europe/Bucharest] PHP Question2Answer MySQL connect error 2002: Connection timed out
[14-Nov-2016 12:53:48 Europe/Bucharest] PHP Question2Answer MySQL connect error 2002: Connection timed out
[14-Nov-2016 13:00:25 Europe/Bucharest] PHP Question2Answer MySQL connect error 2002: php_network_getaddresses: getaddrinfo failed: Name or service not known
[14-Nov-2016 13:00:25 Europe/Bucharest] PHP Question2Answer MySQL connect error 2002: php_network_getaddresses: getaddrinfo failed: Name or service not known
[14-Nov-2016 13:03:08 Europe/Bucharest] PHP Question2Answer MySQL query error 1146: Table 'maresal1_test.qa_options' doesn't exist - Query: (SELECT 'options' AS selectkey, title, content FROM qa_options) UNION ALL (SELECT 'time', 'db_time', UNIX_TIMESTAMP(NOW()))
[14-Nov-2016 13:03:08 Europe/Bucharest] PHP Question2Answer MySQL query error 1146: Table 'maresal1_test.qa_options' doesn't exist - Query: (SELECT 'options' AS selectkey, title, content FROM qa_options) UNION ALL (SELECT 'time', 'db_time', UNIX_TIMESTAMP(NOW()))
[14-Nov-2016 13:03:37 Europe/Bucharest] PHP Question2Answer email send error: Could not instantiate mail function.
[14-Nov-2016 13:11:21 Europe/Bucharest] PHP Question2Answer fatal error: The config file could not be found. Please read the instructions in qa-config-example.php.
[14-Nov-2016 13:11:21 Europe/Bucharest] PHP Question2Answer fatal error: The config file could not be found. Please read the instructions in qa-config-example.php.
[14-Nov-2016 13:15:13 Europe/Bucharest] PHP Question2Answer MySQL query error 1146: Table 'maresal1_Q&A.qa_options' doesn't exist - Query: (SELECT 'options' AS selectkey, title, content FROM qa_options) UNION ALL (SELECT 'time', 'db_time', UNIX_TIMESTAMP(NOW()))
[14-Nov-2016 13:15:13 Europe/Bucharest] PHP Question2Answer MySQL query error 1146: Table 'maresal1_Q&A.qa_options' doesn't exist - Query: (SELECT 'options' AS selectkey, title, content FROM qa_options) UNION ALL (SELECT 'time', 'db_time', UNIX_TIMESTAMP(NOW()))
[14-Nov-2016 13:15:40 Europe/Bucharest] PHP Question2Answer email send error: Could not instantiate mail function.

1 Answer

+1 vote
by
The errors say that the qa_options table doesn't exist, so check that. It also says the qa-config.php file cannot be found.

It also looks you've set the database name as "maresal1_Q&A" but I don't think that is a valid name with the & in there. Is that the correct name? Maybe it's named something else.
...