Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author WFMattR

    (@wfmattr)

    Hi,

    Sorry to hear about the issue. It sounds like your host may have disabled php_value so you cannot use it in .htaccess, though I’m not certain if there may be another cause.

    Restoring the original .htaccess should normally fix the issue — do you still see the same error message, or is it a different error message now?

    Also, in the path, I see www/bcw/.htaccess — is that the same .htaccess file you are restoring? (There might also be one in the www directory.)

    -Matt R

    Thread Starter sigiberlin

    (@sigiberlin)

    yes, i still get that error, and yes, its the correct .htaccess

    Plugin Author WFMattR

    (@wfmattr)

    Hi,

    Did the setup process also create a .user.ini file or php.ini? These shouldn’t cause the same error message about .htaccess to appear in the error log, but could cause the site not to load if the setup was unable to be completed.

    -Matt R

    Thread Starter sigiberlin

    (@sigiberlin)

    no,no .user.ini andno php.ini have been crated

    Plugin Contributor wfmatt

    (@wfmatt)

    Hi sigiberlin,

    In your .htaccess file, can you remove any text between these lines:

    # Wordfence WAF

    # END Wordfence WAF

    And see if that brings the site back up?

    Thread Starter sigiberlin

    (@sigiberlin)

    well if it would be there…

    this is the .htaccess actually from the server:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    i said i restored it from the backup the Wordfence config provies…

    Thread Starter sigiberlin

    (@sigiberlin)

    i’m confused…

    if i call the start page at https://www.cw-aktiv.de, i get that insane error message instead of my homepage.

    the error log says

    [Wed Apr 13 00:03:49 2016] [alert] [client 192.0.102.40] /is/htdocs/wp12409552_J2H9ZAB6A9/www/bcw/.htaccess: php_value not allowed here
    [Wed Apr 13 00:03:53 2016] [alert] [client 92.228.154.171] /is/htdocs/wp12409552_J2H9ZAB6A9/www/bcw/.htaccess: php_value not allowed here, referer: https://cw-aktiv.de/wp-admin/admin.php?page=WordfenceWAF&wafAction=configureAutoPrepend

    so the referer is a script inside wp-admin which shouldnt be loaded (or is it loaded since i am logged in as the admin?)

    Thread Starter sigiberlin

    (@sigiberlin)

    i removed all cookies rom that pge, but that didnt help…

    Plugin Contributor wfmatt

    (@wfmatt)

    That is indeed strange, and you are still seeing the same ‘php_value not allowed here’ error in the error log:

    /is/htdocs/wp12409552_J2H9ZAB6A9/www/bcw/.htaccess: php_value not allowed here

    Can you try commenting or removing the WordPress mod_rewrite code temporarily as a precaution?

    Thread Starter sigiberlin

    (@sigiberlin)

    Hi

    i restored the Website from a backup. actually I restored it in a new directory. Now Wordfence asks me to setupo the firewall…

    if i now do that i think i will end up again withe a non working page.

    so how could i setup the firewall?

    Plugin Author WFMattR

    (@wfmattr)

    Hi,

    Can you check with your host to see if they have intentionally disabled php_value in .htaccess files?

    Also, at the bottom of the Diagnostics page on the Wordfence menu, try the link that says “Click to view your system’s configuration in a new window” and let us know what it says under “Server API” in the first table. I haven’t seen any sites misidentified in the firewall setup process, but it’s possible your site is not using mod_php.

    -Matt R

    Thread Starter sigiberlin

    (@sigiberlin)

    sorry, was away from keyboard…

    i asked my hoster for that php_value issue.

    System config says

    System Linux wp404 3.15.8-xenu-static-x86_64-he+1 #6 SMP Wed Aug 20 13:24:06 UTC 2014 x86_64
    Build Date Apr 1 2016 11:25:41
    Server API Apache 2.0 Handler

    hth ??

    Thread Starter sigiberlin

    (@sigiberlin)

    ok, i checked with my hoster: using php_value was not possible in the package i had. so i upgraded and bvoila – works!

    thanks for the support!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Site down after halfway throgh the setup’ is closed to new replies.