Cache Directories Being Added To Root

Cache directories are being created in root. I delete them and then reappear.

Attached is a pic of my root directory showing some of these cache folders. Why is cs-cart doing this?

No images were attached

sorry, attached is the image of my root directory with the folders being created

Capture.JPG

Guessing... Given it only appears to be the block cache, you probably have an addon that is manipulating the cache location and it has an error.

I disabled all the addons and the directories are still being added to the root. It's not just block cache, I scrolled down and took another photo, see attached.

Capture.JPG

then my next "guess" is that someone has altered your init.php file. Either the assignment for $this_dir (and the subsequent call to Bootstrap::initEnv() or someone has altered your config.php where the $dir array is initialized.

It would require investigation on your site.

Agree with @tbirnseth

CS-Cart does not put cache files to the root directory out of the box.

Having another weird error:

Got error 'PHP message: PHP Notice: Undefined index: cache in /var/www/vhosts/.../httpdocs/app/lib/vendor/pimple/pimple/src/Pimple/Container.php on line 100

PHP message: PHP Fatal error: Call to a member function regenerate() on null in /var/www/vhosts.../httpdocs/app/functions/fn.init.php on line 798

I have the right permissions for the cache directory under var.

Having another weird error:

Got error 'PHP message: PHP Notice: Undefined index: cache in /var/www/vhosts/.../httpdocs/app/lib/vendor/pimple/pimple/src/Pimple/Container.php on line 100

PHP message: PHP Fatal error: Call to a member function regenerate() on null in /var/www/vhosts.../httpdocs/app/functions/fn.init.php on line 798

I have the right permissions for the cache directory under var.

Hello!

Please contact us via Help Desk on this matter.

Thank you.