Jump to content

[solved] Panic: File-Compiler Log new entries every second


biber
 Share

Recommended Posts

Can you try disabling FileCompiler for files in templates?? Or I'm just seeing the logNotices options, maybe that?

/**
 * File compiler options (as used by FileCompiler class)
 *
 * Enables modification of file compiler behaviors. See also $config->moduleCompile
 * and $config->templateCompile settings. 
 *
 * #property bool siteOnly Specify true to prevent compiler from attempting compilation outside files in /site/ (default=false).
 * #property bool showNotices Show notices in admin about compiled files to superuser when logged in (default=true).
 * #property bool logNotices Log notices about compiled files and maintenance to file-compiler.txt log (default=true). 
 * #property string chmodFile Mode to use for created files, i.e. "0644" (uses $config->chmodFile setting by default).
 * #property string chmodDir Mode to use for created dirs, i.e. "0755" (uses $config->chmodDir setting by default). 
 * #property array exclusions Exclude paths that exist within any of these paths (default includes $config->paths->wire).
 * #property array extensions File extensions that we compile (default=php, module, inc).
 * #property string cachePath Path where compiled files are stored (default is $config->paths->cache . 'FileCompiler/')
 *
 * @var array
 *
 */
$config->fileCompilerOptions = array(
	'siteOnly' => false,  // only allow compilation of files in /site/ directory
	'showNotices' => true, // show notices about compiled files to superuser when logged in
	'logNotices' => true, // log notices about compiled files and maintenance to file-compiler.txt log.
	'chmodFile' => '', // mode to use for created files, i.e. "0644"
	'chmodDir' => '',  // mode to use for created directories, i.e. "0755"
	'exclusions' => array(), // exclude filenames or paths that start with any of these
	'extensions' => array('php', 'module', 'inc'), // file extensions we compile
	'cachePath' => '', // path where compiled files are stored, or blank for $config->paths->cache . 'FileCompiler/'
);

 

  • Like 1
Link to comment
Share on other sites

Hi @elabx,

thanx for your reply.

I tried to disable module compilation and  template file compilation in the /site/config-file, but that made the whole site unreachable.

The file-compiler log grows and grows, and meanwhile I'm even not able to delete the about 10 000 entries. It shows again and again: 

Compiled file: /site/modules/FieldtypeSelect/FieldtypeSelect.module

I am completely at a loss.

  • Like 1
Link to comment
Share on other sites

  1. FieldtypeSelect is very old module from 2013 that "produces a drop down list (via a "select" input) that would allow you to define a list of options in the field's configuration from which to select a value. After installing, you'll have a new "Select" fieldtype that will allow you to define the items you'd like in the drop down. You'll be able to define these options in a text box on the field's configuration screen. Just put each option on it's own line."

    Github Repo: https://github.com/Hani79/Processwire_FieldType_Select_Drop_Down
    My fork: https://github.com/matjazpotocnik/Processwire_FieldType_Select_Drop_Down 

    You should use FieldtypeOptions nowdays.
     
  2. Can't answer that, see if the fieldtype Select is used in any template?

 

  • Like 3
Link to comment
Share on other sites

Hi @matjazp,

thanx for your reply and explanation. 

I really did not use the FieldtypeSelect module and could delete it without any disadvantage.

I started with PW ten years ago with two projects. 

After a learning phase and a lot of help from this forum, everything ran without problems until I decided to update this website http://malabu.de.
I found some old modules and problems with the current  PW version.
And again I found help. So I have to say thanx to this beautyful forum and this great CMS.
 
Günter

 

  • Like 1
Link to comment
Share on other sites

  • biber changed the title to [solved] Panic: File-Compiler Log new entries every second

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...