Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Fatal Error When Clearing Cache Rate Topic   - - - - -

 
  • poppedweb
  • Authorized Reseller
  • Members
  • Join Date: 02-Aug 16
  • 492 posts

Posted 02 August 2016 - 05:24 PM #1

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!

 
 

PoppedWeb | sales@poppedweb.com | https://poppedweb.com
TurnKey Website Design | Add-Ons | Performance Audits | Dedicated Server Management
24/7 Support | Response within an hour (during working hours).

 
  • KBM
  • Senior Member
  • Members
  • Join Date: 08-Dec 08
  • 252 posts

Posted 03 August 2016 - 04:55 AM #2

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. 


Version 4.3.9

 


 
  • CS-Cart team
  • CS-Cart support team
  • Moderators
  • Join Date: 04-Apr 11
  • 3806 posts

Posted 03 August 2016 - 05:50 AM #3

 

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.


Sincerely yours, CS-Cart Support Team

 

User guide       |  Developer documentation  |  Core API documentation


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19158 posts

Posted 03 August 2016 - 07:03 AM #4

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


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • poppedweb
  • Authorized Reseller
  • Members
  • Join Date: 02-Aug 16
  • 492 posts

Posted 03 August 2016 - 12:53 PM #5

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!


PoppedWeb | sales@poppedweb.com | https://poppedweb.com
TurnKey Website Design | Add-Ons | Performance Audits | Dedicated Server Management
24/7 Support | Response within an hour (during working hours).

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3767 posts

Posted 03 August 2016 - 03:33 PM #6

Depends on server configuration but it will either be..

 

Directory - 755

File - 644

 

or

 

Directory - 777

File - 666



 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11264 posts

Posted 03 August 2016 - 06:18 PM #7

Or 775/664.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • poppedweb
  • Authorized Reseller
  • Members
  • Join Date: 02-Aug 16
  • 492 posts

Posted 04 August 2016 - 06:34 PM #8

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?


PoppedWeb | sales@poppedweb.com | https://poppedweb.com
TurnKey Website Design | Add-Ons | Performance Audits | Dedicated Server Management
24/7 Support | Response within an hour (during working hours).