Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello!

    Version 8.3 creating development files at production and version 8.3.1 fixed that bug, however those files need to be either deleted manually or by using the following steps:

    1. Create new Code Block
    2. Set Master Code file type to PHP (click on Master right to block name, Edit and select PHP from code file types)
    3. Copy and past the code below inside the file into the code block created in #1

    
      $debugginFiles = glob(ABSPATH . DIRECTORY_SEPARATOR . "*.cjtqer");
      
      if (empty($debugginFiles))
      {
          echo "<script type='text/javascript'>alert('CJT Path Message: No Debug Files detected, please remove patch script')</script>";
      }
      else
      {
          $deletedCount = 0;
          
          foreach ($debugginFiles as $debugFile)
          {
              
              unlink($debugFile);
              
              $deletedCount++;
          }
          
          echo "<script type='text/javascript'>alert('CJT Path Message: {$deletedCount} debugging files has been deleted')</script>";
      }
    

    4. Associate block to any page
    5. Save code block
    6. Open the page the block is associated with
    7. Message should be either saying the number of the files deleted or to note that there is no files to be deleted, in either case remove the code block as this script need to run only once

    Hope that helps

    Thanks
    AHMeD

    Thread Starter Pepozzo

    (@pepozzo)

    Thanks! It worked!

    tiotrom

    (@tiotrom)

    oh man thank god I came across this post. I saw those files and I went on a rampage through security checks – I changed all passwords, did thoughtfully scans to all files, and found it was your plugin that scared me haha….you should fix this because it will scare many people. cheers!

    Yes, sorry about this, its totally my fault

    Version 8.3.1 has the fix

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Strange files created after latest update’ is closed to new replies.