Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Rebuilding the cache throws a warning message #8150

Closed
xchs opened this issue Dec 7, 2015 · 3 comments
Closed

Rebuilding the cache throws a warning message #8150

xchs opened this issue Dec 7, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@xchs
Copy link
Contributor

xchs commented Dec 7, 2015

Encountered this issue in Contao 3.5.6 running on PHP 7.0.0.

To reproduce:

  • Open the "Maintenance" back end module
  • Purge the internal cache
  • Rebuild the cache

Right after rebuilding the (internal) cache I instantly get a couple of these warnings:

Warning: mkdir(): File exists in system/modules/core/library/Contao/Files/Php.php on line 33

#0 [internal function]: __error(2, 'mkdir(): File e...', '/var/www/virtua...', 33, Array)
#1 system/modules/core/library/Contao/Files/Php.php(33): mkdir('/var/www/virtua...')
#2 system/modules/core/library/Contao/Folder.php(87): Contao\Files\Php->mkdir('system')
#3 system/modules/core/library/Contao/File.php(554): Contao\Folder->__construct('system')
#4 system/modules/core/library/Contao/Automator.php(505): Contao\File->close()
#5 system/modules/core/library/Contao/Automator.php(478): Contao\Automator->generateConfigCache()
#6 system/modules/core/controllers/BackendMain.php(91): Contao\Automator->generateInternalCache()
#7 contao/main.php(19): Contao\BackendMain->__construct()
#8 {main}
@leofeyer leofeyer added this to the 3.5.7 milestone Dec 15, 2015
@mroi
Copy link
Contributor

mroi commented Jan 11, 2016

I see this too and fixed it in #8181.

@bytehead
Copy link
Member

Confirmed as well from me.

@leofeyer
Copy link
Member

Fixed in 215df5b.

jsonn pushed a commit to jsonn/pkgsrc that referenced this issue Mar 5, 2016
### 4.1.1 (2015-03-03)

 * Remove the "disable IP check" field from the back end settings (see #436).
 * Do not quote the search string in `FIND_IN_SET()` (see #424).
 * Always fix the domain and language when generating URLs (see contao/core#8238).
 * Fix two issues with the flexible back end theme (see contao/core#8227).
 * Correctly toggle custom page type icons (see contao/core#8236).
 * Correctly render the links in the monthly/yearly event list menu (see contao/core#8140).
 * Skip the registration related fields if a user is duplicated (see contao/core#8185).
 * Correctly show the form field type help text (see contao/core#8200).
 * Correctly create the initial version of a record (see contao/core#8141).
 * Correctly show the "expand preview" buttons (see contao/core#8146).
 * Correctly check that a password does not match the username (see contao/core#8209).
 * Check if a directory exists before executing `mkdir()` (see contao/core#8150).
 * Do not link to the maintenance module if the user cannot access it (see contao/core#8151).
 * Show the "new folder" button in the template manager (see contao/core#8138).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants