Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
1.7k views
in Q2A Core by
 Hi!
      I have installed Question/Answer Script (from www.question2answer.org) on my domain ask.qsarticle.com. Now all is well except that when a user registers, he needs to confirm his email address. But when the user tries to confirm his email address (by sending link to his email id), the script gives the following error;
    
    Question2Answer fatal error:
    
    Could not send email confirmation
    
    Stack trace:
    
    require() /home2/enggarti/public_html/ask/index.php:31
    require() /home2/enggarti/public_html/ask/qa-include/qa-index.php:163
    qa_get_request_content() /home2/enggarti/public_html/ask/qa-include/qa-page.php:755
    require() /home2/enggarti/public_html/ask/qa-include/qa-page.php:188
    qa_send_new_confirm() /home2/enggarti/public_html/ask/qa-include/qa-page-confirm.php:50
    
    ........................................................
    You can regenerate this problem by visiting ask.qsarticle.com and register. Then click on Ask a Question. You will be asked to verify your email address. Try to verify the email address and you will get the same above error.
    ............................................

In error log, the error is following:::

[13-Apr-2013 13:56:04] PHP Parse error:  syntax error, unexpected T_STRING in /home2/enggarti/public_html/ask/qa/qa-config.php on line 1.

..........................................................................................

I have tried using gmail smtp but same above error I get..

  Please please help!

Q2A version: 1.5.4

1 Answer

0 votes
by

It seems like it's not findind the required files.

Did you setup Preferred site URL from admin panel.

Go to Admin ----> General ------>Preferred site URL from :

 

By the way  this ask.qsarticle.com did not load when I tried it.

 

...