Fatal Error When Clearing Cache

Hello everybody,

A few days ago we installed a new template but now we are receiving the following error whenever we clear the cache:

dir(C:/domains/******/wwwroot/var/cache/misc/assets//design/backend/css,C:/domains/******/wwwroot/var/cache/misc/assets//design/backend/css): Access is denied. (code: 5) inC:\domains\******\wwwroot\app\functions\fn.fs.php on line 642

Warning: dir(C:/domains/*/wwwroot/var/cache/misc/assets//design/backend/css): failed to open dir: Directory not empty in C:\domains*\wwwroot\app\functions\fn.fs.php on line 642

Fatal error: Call to a member function read() on a non-object in C:\domains******\wwwroot\app\functions\fn.fs.php on line 643

What also cought our eye was the fact that we received less and less orders and now we are at the point where we are not receiving any orders anymore! Is there any way to fix this? If so please explain us how to...

Thanks in advance!

I would temporarily change the template back to the original, submit a support ticket, and/or contact the template developer. When losing order(orders) it's time to spend a little money to fix the problem quickly.

Hello everybody,

A few days ago we installed a new template but now we are receiving the following error whenever we clear the cache:

dir(C:/domains/******/wwwroot/var/cache/misc/assets//design/backend/css,C:/domains/******/wwwroot/var/cache/misc/assets//design/backend/css): Access is denied. (code: 5) inC:\domains\******\wwwroot\app\functions\fn.fs.php on line 642

Warning: dir(C:/domains/*/wwwroot/var/cache/misc/assets//design/backend/css): failed to open dir: Directory not empty in C:\domains*\wwwroot\app\functions\fn.fs.php on line 642

Fatal error: Call to a member function read() on a non-object in C:\domains******\wwwroot\app\functions\fn.fs.php on line 643

What also cought our eye was the fact that we received less and less orders and now we are at the point where we are not receiving any orders anymore! Is there any way to fix this? If so please explain us how to...

Thanks in advance!

It seems that incorrect permissions are set up for the var/cache directory.

Please also make sure that you have enough space on your server

It seems that incorrect permissions are set up for the var/cache directory.

Thank you for your reply, could you explain us what kind of permission we should give this folder if this is the case? Because I read that you could give a folder all of these permissions:

chmod 400 file - Read by owner
chmod 040 file - Read by group
chmod 004 file - Read by world

chmod 200 file - Write by owner
chmod 020 file - Write by group
chmod 002 file - Write by world

chmod 100 file - execute by owner
chmod 010 file - execute by group
chmod 001 file - execute by world

To combine these, just add the numbers together:
chmod 444 file - Allow read permission to owner and group and world
chmod 777 file - Allow everyone to read, write, and execute file

Please explain which value is needed.

Please also make sure that you have enough space on your server

To get back at your point, yes we do have enough storage space on our server.

Finally I was also told that this could also have been caused by a addon or theme that was installed incorrectly.

Everyone thanks for your quick response!

Depends on server configuration but it will either be..

Directory - 755

File - 644

or

Directory - 777

File - 666

Or 775/664.

It seems that incorrect permissions are set up for the var/cache directory.

I have just done some more research and asked on what kind of OS the server was running. They responded to me and said that I have a windows server (Windows Server 2012). They said that because of this the permissions would always be set correctly as you do not have chmod on Windows Server.

So if it is not the permissions that would be set incorrectly. What could it possibly be?