• Resolved Andy Müller

    (@ampits)


    Good morning,

    I use the AdInserter plugin to display ads.
    For this, a PHP code is inserted as a code block.

    However, after updating RSSSL, the code is commented.

    Therefore, <?php becomes <!–?php what destroys the page.

    Can you take a look at the error and fix it?

    Thanks.

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Hi @ampits,

    Really Simple SSL does not comment PHP code. Can you check if this also happens if you rename the Really Simple SSL plugins folder in wp-content/plugins, then clear all caches?

    Thread Starter Andy Müller

    (@ampits)

    Hello @rogierlankhorst ,

    if i deactivate Really Simple SSL-Plugins the Website works normal.
    I´ve testet it several times.

    At the moment, the Really Simple SSL-Plugins is active at my website.
    Did you see the error?

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @ampits can you check the following:

    – disable all hardening features one by one
    – disable the mixed content fixer

    then let me know if disabling any of these functions resolves the issue? Then I know where to look.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @ampits how is the PHP code inserted? I tested this with the ‘Insert PHP Code Snippet’ plugin, and the snippet worked without issues, including with all hardening features enabled.

    Thread Starter Andy Müller

    (@ampits)

    Hello @rogierlankhorst ,

    after uncheck the “disable the internal file editor” the site works correctly.

    Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    @ampits that is strange. This function declares a WordPress constant

    define('DISALLOW_FILE_EDIT', true );

    Which often also is added to the wp-config.php file. It is a core WordPress feature which disables the file editing option below the plugins menu. What tool are you using to insert the php code?

    It’s also interesting to see if inserting the above constant in the wp-config.php also results in this issue.

    It sounds as if the tool you use does something strange with this constant, which should be resolved in that tool.

    Thread Starter Andy Müller

    (@ampits)

    Yes, that’s really weird.
    Even if I add the entry to wpconfig.php and disable RSSSL, this error occurs.

    I use the AdInserter tool, but this error only occurs since yesterday’s RSSSL update.
    https://ww.wp.xz.cn/support/plugin/ad-inserter/

    Thanks for the info, I’ll report that to the other tool.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Reloaded PHP code is commented’ is closed to new replies.