mg2015
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: custom.tmp just keeps creating in tmp folderGlad to hear it worked out. It looks like js_composer calls the filesystem module. js_composer attempts to make an FTP connection but if a site is not properly configured for FTP, it hangs at the line I mentioned previously and never gets around to deleting the file. With FS_METHOD, you have the flexibility of telling WP how to access the file system, in this case not letting WP attempt to use FTP.
Forum: Fixing WordPress
In reply to: custom.tmp just keeps creating in tmp folderJosh, It seems like we were able to stop the custom.tmp files from being generated by passing
define('FS_METHOD', 'direct');inside the wp-config.php directory. We’re not sure why but the js_composer plugin was trying to make an ftp connection with the FTP File system module however, we don’t support FTP uploads in our environment. Are there any issues with defining the direct as FS_METHOD?Forum: Fixing WordPress
In reply to: custom.tmp just keeps creating in tmp folderKeiron77
We may have seemed to have found a potential solution although I’m not offering this as a recommendation, we were able to stop tmp files from being generated by adding
define('FS_METHOD', 'direct');in the wp-config.php file, let me know if this stops it for you as wellJosh, I tried turning on error reporting but I dont get a debug.log in /wp-content/. I followed the example from https://codex.wordpress.org/Debugging_in_WordPress (Example wp-config.php for Debugging)
Forum: Fixing WordPress
In reply to: custom.tmp just keeps creating in tmp folderHas there been any resolution to this? It seems to be an issue if you do not have FTP/SFTP configured. The issue is found on line 107 of wp-admin/includes/class-wp-filesystem-ftpext.php,
if ( ! @ftp_fget($this->link, $temp, $file, FTP_BINARY ) )