• Resolved malosch

    (@malosch)


    Hi,

    I looked for a solution about this in other threads but so far nothing helped, which is why I am starting this thread.

    I updated to the new WP version with Gutenberg and quickly installed Classic Editor so I can make use of the Visual Composer plugin that came with the Bridge Theme.

    However, for some reason, I cannot update or preview pages anymore. I simply receive a ‘Forbidden’ message. The console reads “Failed to load resource: the server responded with a status of 403 (Forbidden)” at post.php:1. I deactivated the Classic Editor plugin and everything was back to normal.

    Any advice on what I can do to fix this? I looked in other threads but nothing seemed to work for me.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Check your server logs, find the actual error.

    Thread Starter malosch

    (@malosch)

    Hi,

    Thanks for the pointer. I downloaded the error log and the last entries are below.

    [27-Mar-2019 20:29:37 UTC] PHP Warning:  include_once(/home/devchoco/public_html/wp-content/themes/bridge/includes/qode-fallback-helper-functions.php): failed to open stream: No such file or directory in /home/devchoco/public_html/wp-content/themes/bridge/theme-includes.php on line 15
    [27-Mar-2019 20:29:37 UTC] PHP Warning:  include_once(): Failed opening '/home/devchoco/public_html/wp-content/themes/bridge/includes/qode-fallback-helper-functions.php' for inclusion (include_path='.:/opt/alt/php72/usr/share/pear') in /home/devchoco/public_html/wp-content/themes/bridge/theme-includes.php on line 15
    [27-Mar-2019 20:29:37 UTC] PHP Warning:  require_once(/home/devchoco/public_html/wp-content/themes/bridge/framework/lib/qode.welcome.page.php): failed to open stream: No such file or directory in /home/devchoco/public_html/wp-content/themes/bridge/framework/qode-framework.php on line 2
    [27-Mar-2019 20:29:37 UTC] PHP Fatal error:  require_once(): Failed opening required '/home/devchoco/public_html/wp-content/themes/bridge/framework/lib/qode.welcome.page.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/devchoco/public_html/wp-content/themes/bridge/framework/qode-framework.php on line 2
    [27-Mar-2019 20:30:13 UTC] PHP Warning:  require_once(/home/devchoco/public_html/wp-content/themes/bridge/framework/lib/qode.welcome.page.php): failed to open stream: No such file or directory in /home/devchoco/public_html/wp-content/themes/bridge/framework/qode-framework.php on line 2
    [27-Mar-2019 20:30:13 UTC] PHP Fatal error:  require_once(): Failed opening required '/home/devchoco/public_html/wp-content/themes/bridge/framework/lib/qode.welcome.page.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/devchoco/public_html/wp-content/themes/bridge/framework/qode-framework.php on line 2
    [27-Mar-2019 20:30:50 UTC] PHP Warning:  require_once(/home/devchoco/public_html/wp-content/themes/bridge/framework/lib/qode.welcome.page.php): failed to open stream: No such file or directory in /home/devchoco/public_html/wp-content/themes/bridge/framework/qode-framework.php on line 2
    [27-Mar-2019 20:30:50 UTC] PHP Fatal error:  require_once(): Failed opening required '/home/devchoco/public_html/wp-content/themes/bridge/framework/lib/qode.welcome.page.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/devchoco/public_html/wp-content/themes/bridge/framework/qode-framework.php on line 2
    [27-Mar-2019 20:30:55 UTC] PHP Warning:  require_once(/home/devchoco/public_html/wp-content/themes/bridge/framework/lib/qode.welcome.page.php): failed to open stream: No such file or directory in /home/devchoco/public_html/wp-content/themes/bridge/framework/qode-framework.php on line 2
    [27-Mar-2019 20:30:55 UTC] PHP Fatal error:  require_once(): Failed opening required '/home/devchoco/public_html/wp-content/themes/bridge/framework/lib/qode.welcome.page.php' (include_path='.:/opt/alt/php72/usr/share/pear') in /home/devchoco/public_html/wp-content/themes/bridge/framework/qode-framework.php on line 2
    

    Not sure what to do with this though. WP, bridge theme, and all plugins are up to date.

    *EDIT* Tried to disable all plugins and enabling them one by one, no difference. Back to Google looking for other threads with similar issues. Any help or pointers in the meantime are much appreciated.

    Thanks.

    • This reply was modified 5 years, 11 months ago by malosch.
    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Well, the errors all say your theme is broken and missing files. So, switch to another theme.

    You can delete the broken theme and WordPress will switch to one of the default themes to get the site working again, at least.

    We can’t really support paid themes here. You need to talk to the theme authors. You paid for the theme, so…

    Thread Starter malosch

    (@malosch)

    Thanks for your input @otto42. What surprises me most is that everything stopped working from one day to another. But there were no WP updates, no server changes, no theme updates, nothing. I know something must have happened in the background somewhere to cause that issue, I just have no clue what. At least the site still works, for now, I just can’t make any edits at the moment.

    Anyhow, I’ll close this thread for now and reach out to the theme authors. Will report back as soon as the issue is resolved.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Well, it says “failed to open stream: No such file or directory”, so if those files it is referencing are missing, then that’s a problem. If the files are there, then they may have the wrong permissions.

    In any case, the fix would be to replace the theme files with known good copies from the original theme. Perhaps the site got hacked and files got altered or removed? Or maybe the host restored from an older backup without telling you? It’s hard to say, but you need to look at the files and see what’s what.

    Thread Starter malosch

    (@malosch)

    Update:
    As it turns out everything was fine with WP, the theme, plugins, as well as folder and file permission on the server. The issue was the ModSecurity firewall on the server which all of the sudden started blocking post.php from being executed (haven’t found out yet why that happened). Anyway, clearing the file post.php from the firewall fixed the issue.

    Just reporting this here in case anyone runs into a similar issue.
    Closing this thread for good now.

    Thanks everyone, especially @otto42

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t update or preview pages – Forbidden’ is closed to new replies.