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

Trying different plugins leads to errors in the logs. For example, when using the Find Text in Posts plugin, and clicking on the link, I receive a 404 page and in the logs I get:

File does not exist: /var/www/html/myforum/findtext

I am also seeing errors in the logs like below:

File does not exist: /var/www/html/qa-content

Why is qa-content being being referenced in the websites root directory? Do I have something installed incorrectly or do I need another package installed on the server perhaps?

Q2A version: 1.7
by
-- File does not exist: /var/www/html/qa-content : is it the right directory ? Do your hosting service use links to map www/html ? it's not a common issue, you must provide more details
by
I made a mistake with my .htaccess file. Had it redirecting incorrectly therefore causing the File does not exist: /var/www/html/qa-content error. However, I am still getting a 404 error when trying to use plugins as listed previously. This is only happening on my live server and not on a XAMPP test setup. Is there still something with the .htaccess file that is not redirecting the plugins correctly?
by
Add your htaccess to the question , you have probably a mod_rewrite issue. It's always difficult to mix rewriting to index.php and others because the priorities , the context ( directory or virtual apache server ) and perhaps the existence of Redirect and Alias in the Apache config

1 Answer

+1 vote
by
I managed to get it working. I did not see that the AllowOverride was set to none in the httpd.conf file. After changing it and restarting Apache, all is working well.

Welcome to the Q&A site for Question2Answer.

If you have a question about Q2A, please ask here, in English.

To report a bug, please create a new issue on Github or ask a question here with the bug tag.

If you just want to try Q2A, please use the demo site.

Categories

...