Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
in Plugins by



I am trying to get the widget anywhere plugin to work,  however I am encountering an error when trying to complete the database initilization step of the setup process.


Here is the error that I get---


it looks like some kind of SQL error:


Warning: require(/home/rittmomn/public_html/answers/qa-include/qa-install.php): failed to open stream: No such file or directory in /home/rittmomn/public_html/answers/qa-include/qa-index.php on line 158

Fatal error: require(): Failed opening required '/home/rittmomn/public_html/answers/qa-include/qa-install.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rittmomn/public_html/answers/qa-include/qa-index.php on line 158



Thanks for any insite

Q2A version: 1.6.3

1 Answer

0 votes
That error says the qa-install.php file is missing. So you need to put back the qa-install.php file. (Download Q2A again if you don't have the zip file any more and get it from that.)

I think in the docs it's recommended to remove it for security reasons, but it's required when running upgrades and installing plugins that use database tables. The security implications are very minor, so I would recommend keeping the file. At most, you could rename the file to something unique but keep it there, then rename it back to qa-install.php whenever you need to install it.