• trumpetsiege

    (@trumpetsiege)


    Updated to WP 4.9.5. Editor is unable to edit PHP files and save successfully. Disabled all plugins and re-added one by one. When this plugin is enabled, editor is unable to save successfully, resulting error message suggests uploading edits via FTP. Any known or suspected issues that could cause this? Original 4.9 release had same issue, but had worked fine with WP File Upload until WP 4.9.5.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author nickboss

    (@nickboss)

    Are you referring to the plugin editor? I just tried. I didn’t notice any problems. Do you have access to the error log of your domain? Do you see any errors there? Furthermore, what PHP version do you have?

    Regards

    Nickolas

    Thread Starter trumpetsiege

    (@trumpetsiege)

    Not the plugin editor, but rather WP’s editor in Appearance > Editor. PHP v5.6.32. Upon unsuccessful save in WP Editor, viewed document is blanked, whether changed or no. Using child theme. Using WP Editor to create custom page templates. Have access to error logs. Following repeats at ~10 second intervals:

    [Tue Apr 10 13:09:00 2018] [error] [client 50.203.79.42] Cannot load the ionCube PHP Loader – extension already loaded, referer: http://greenlightradio.com/
    [Tue Apr 10 13:09:00 2018] [error] [client 50.203.79.42] Cannot load SourceGuardian – extension already loaded, referer: http://greenlightradio.com/

    Plugin Author nickboss

    (@nickboss)

    I tried with that editor as well. No problems. Maybe this is an incompatibility with the theme or another plugin.

    Can you try increasing the memory for your website? There is a setting in wp-config.php for this.

    Nickolas

    Thread Starter trumpetsiege

    (@trumpetsiege)

    Reverted to Twenty Seventeen theme. Disabled all plugins except WP File Upload. Increased memory to 256M through .htaccess and wp-config.php. Issue persists.

    Plugin Author nickboss

    (@nickboss)

    Do you see the same error?

    Can you turn DEBUG mode ON? do you know how to do that?

    Nickolas

    Thread Starter trumpetsiege

    (@trumpetsiege)

    Enabled debug in wp-config. No entries in debug.log upon unsuccessful save in WP Editor. Permissions for debug.log are 777.

    Plugin Author nickboss

    (@nickboss)

    In order to record to debug.log you need to have the following lines in wp-config.php:

    define( ‘WP_DEBUG’, true );
    define( ‘WP_DEBUG_LOG’, true );
    define( ‘WP_DEBUG_DISPLAY’, false );

    The last is optional

    Nickolas

    Thread Starter trumpetsiege

    (@trumpetsiege)

    Debugged as suggested. Nothing in debug.log. Removed edits to wp-config.php and .htaccess. To be clear, plugin works great. Will continue to use. Still unable to use WP Editor when plugin is activated. Will do clean install of WP in future and troubleshoot further.

    Plugin Author nickboss

    (@nickboss)

    I notice that WP Editor hasn’t been updated for the last 2 years. I would not recommend using it. It may create other problems as well.

    Regards

    Nickolas

    Thread Starter trumpetsiege

    (@trumpetsiege)

    Sorry for lack of clarity, not plugin named WP Editor. Just default editor native to WP.

    Plugin Author nickboss

    (@nickboss)

    Perhaps it is a permission issue, or conflict of function (though this would generate a fatal error).

    You can also do the following with Chrome:

    – Open WP editor page and then press F12 to invoke Javascript Console.
    – Make an edit and Save the file.
    – Check Console tab for errors and also Network tab. There you will see “admin-ajax.php” line. Press it to open details. Check in Response tab for any errors.

    Nickolas

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘WP File Upload Disables Editor?’ is closed to new replies.