• Resolved Stagger Lee

    (@stagger-lee)


    First to say I am not 100% sure my next question is connected with problem from topic Title. But will ask for some leading and help, as i suspect it is somehow connected.

    – Problem is there only on my Localhost, no live servers.
    – Need some help to find what configuration on my servers is (are) wrong.
    – Have read documentation. .server manages .htaccess well and OK.

    Now to most interesant part:

    – I have noticed in backend (sites with installation error) image “end-blog-spam-button-01-black.png” is not shown. When accessed directly “internal server error” is show.
    – I went to SpamShield own .htaccess and deleted part:

    # Compress .txt files (gzip)
    <IfModule mod_deflate.c>
    	<Files ~ "^(.+)\.txt$">
    		SetOutputFilter DEFLATE
    	</Files>
    	AddOutputFilterByType DEFLATE text/plain
    </IfModule>

    And image in backend and direct access are well then.
    – Deflate_module in apache is actiaved.
    – It is frist time on this server conf I have problems installing a plugin.
    – Dont use any cache mechanism, WP .htaccess is nature.
    – Use PHP 7.0.16 now, tried with 5.6.30 version, same problem.

    What in server(s) configuration can be wrong for this part of code inside plugins -htaccess to not show images from plugin ?
    And at the end answer would solve this problem with “not installed correctly”.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Stagger Lee

    (@stagger-lee)

    This is error from apache_arrors.log. Precise this part in plugins .htaccess, AddOutputFilterByType.

    [Sun Mar 19 13:32:48.920676 2017] [core:alert] [pid 14604:tid 1652] [client ::1:14788] D:/Neard/www/tmkbruck/wp-content/plugins/wp-spamshield/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration, referer: https://localhost/tmkbruck/wp-content/plugins/wp-spamshield/js/jscripts.php
    [Sun Mar 19 13:32:49.784594 2017] [core:alert] [pid 14604:tid 1652] [client ::1:14789] D:/Neard/www/tmkbruck/wp-content/plugins/wp-spamshield/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration, referer: https://localhost/tmkbruck/wp-content/plugins/wp-spamshield/js/jscripts-ftr-min.js
    [Sun Mar 19 13:32:55.387187 2017] [core:alert] [pid 14604:tid 1668] [client ::1:14745] D:/Neard/www/tmkbruck/wp-content/plugins/wp-spamshield/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration, referer: https://localhost/tmkbruck/wp-admin/options-general.php?page=wp-spamshield
    Plugin Contributor redsand

    (@redsand)

    Hi @stagger-lee,

    Please see the sticky post at the top of the forum: PLEASE READ BEFORE POSTING – Updated Jan 2017. (Or click on the support links on the plugin’s settings page.)

    If you follow those steps, we’ll be able to help you out. ??

    – Scott

    Thread Starter Stagger Lee

    (@stagger-lee)

    Yes, found problem. Apache mod_filter was not activated on default.
    Deleted plugin, installed again and all problems are gone.

    Maybe you could put it in Troubleshooting docs ? Not so small problem if everything depends on this Apache module.

    Sorry if I missed it in Documentation.
    —————

    It was this change from Apache 2.2 to 2.4 version. In 2.4 this module is not acitvated by default, as I coud read about it. That is why changing PHP version did not help.

    • This reply was modified 7 years, 8 months ago by Stagger Lee.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Installation Status: Not Installed Correctly’ is closed to new replies.