Hundreds of thousands of files in...

Search
Other Bug Reports questions
Forum

Hundreds of thousands of files in /tmp/regularlabs/custom_php/ folder

Klaus Messlinger's Avatar Klaus Messlinger
Hi,

I run Joomla 5 with:
- Cache Cleaner
- Content Templater
- Extension Manager
- Modals
- Sourcerer
- Tooltips

When I tried to create a backup of my site, the backup would run for over 2 days and still not finish... because there were hundreds of thousands of files in /tmp/regularlabs/custom_php!

I deleted the files, and within a minute or two there were again several hundred new entries, like:
25898_6542284c3aadb2613acf4b8a23bb6242
25966_185f97c27587945155f14fd91c1d8c52
25966_792a2d0490f2f54dbdefd50b9eb0bf78
25966_d0b0bb7559a031a17c0a955213b6d96f
25966_d8bcdf9ff615ecff0bd3ccaf6d6c4f17
25990_b20de9c633b7f79dfb0dd71a9800192d
25992_c2659d0f2b2329a70999f80e8a1a5995
25996_792a2d0490f2f54dbdefd50b9eb0bf78
25996_6542284c3aadb2613acf4b8a23bb6242
25996_b20de9c633b7f79dfb0dd71a9800192d
25997_792a2d0490f2f54dbdefd50b9eb0bf78
25997_6542284c3aadb2613acf4b8a23bb6242
25997_b20de9c633b7f79dfb0dd71a9800192d
25998_792a2d0490f2f54dbdefd50b9eb0bf78
25998_b20de9c633b7f79dfb0dd71a9800192d
25998_c2659d0f2b2329a70999f80e8a1a5995
26131_792a2d0490f2f54dbdefd50b9eb0bf78
26131_b20de9c633b7f79dfb0dd71a9800192d

They have content like:
<?php
defined('_JEXEC') or die;

function regularlabs_php_1b261adf4fa117c9ba01d09f67a60e3c($rl_variables, $article, $module){
$app = $mainframe = RegularLabs\Library\Php::getApplication();
$document = $doc = RegularLabs\Library\Php::getDocument();
$database = $db = Joomla\CMS\Factory::getDbo();
$user = $app->getIdentity() ?: Joomla\CMS\Factory::getUser();
$Itemid = $app->getInput()->getInt('Itemid');
if (is_array($rl_variables)) {foreach ($rl_variables as $rl_key => $rl_value) {${$rl_key} = $rl_value;}}
if (strpos($_SERVER['REQUEST_URI'],"eventdetail")) { 
; ?>

This is crazy, and it severely affects my webserver and my backup. How can I stop this madness?

Thank you for helping me out!
Peter van Westen's Avatar Peter van Westen ADMIN
These files are temporary files to execute php code you tell Sourcerer or conditions to execute.
These files should get deleted right after using them, so in the same pageload.
If that doesn't happen, then it seems you have some issue on the server preventing the deletion.

Best to ask your host why this would be happening.
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in