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

My website is runing slow, and sometimes I get an error like this:

 

Warning: require(/public_html/bazaznanja/qa-include/qa-install.php) [function.require]: failed to open stream: No such file or directory in /public_html/bazaznanja/qa-include/qa-page.php on line 53

Fatal error: require() [function.require]: Failed opening required '/public_html/bazaznanja/qa-include/qa-install.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/public_html/bazaznanja/qa-include/qa-page.php on line 53

Any ideas why?

This only happens sometime. Other times it works fast and with no problem

Sometimes I get an error like this: 

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /public_html/bazaznanja/qa-external/qa-external-users.php on line 223

Warning: require(/public_html/bazaznanja/qa-include/qa-install.php) [function.require]: failed to open stream: No such file or directory in /public_html/bazaznanja/qa-include/qa-page.php on line 53

Fatal error: require() [function.require]: Failed opening required '/public_html/bazaznanja/qa-include/qa-install.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in/public_html/bazaznanja/qa-include/qa-page.php on line 53

I get it that database fails and then qa_page_db_fail_handler function gets invoked, but how come database fails with Q2A and it doesn't fail with main domain application?

 

1 Answer

0 votes
by
selected by
 
Best answer
qa-install.php doesn't exists make sure the file exists and upload the default file again.
by
Well, app doesn't need that file, since it is required to be deleted after install
by
Or simply create an blank qa-install.php and upload it to qa-include
...