Post by LukeCS » Fri Jun 07, 2019 5:25 am

Hi,

I have installed a theme (Nego) on Opencart 3 and it now gives me this error at top of admin page:

Code: Select all

Warning: fopen(/var/www/html/admin/view/stylesheet/bootstrap.css): failed to open stream: Permission denied in /var/www/html/admin/controller/startup/sass.php on line 14Warning: flock() expects parameter 1 to be resource, boolean given in /var/www/html/admin/controller/startup/sass.php on line 16Warning: fwrite() expects parameter 1 to be resource, boolean given in /var/www/html/admin/controller/startup/sass.php on line 18Warning: fflush() expects parameter 1 to be resource, boolean given in /var/www/html/admin/controller/startup/sass.php on line 20Warning: flock() expects parameter 1 to be resource, boolean given in /var/www/html/admin/controller/startup/sass.php on line 22Warning: fclose() expects parameter 1 to be resource, boolean given in /var/www/html/admin/controller/startup/sass.php on line 24

Newbie

Posts

Joined
Thu Jun 06, 2019 8:02 am

Post by D3MO » Sat Jun 08, 2019 4:44 am

This is permissions error make the file 755 oir 777 to be sure it is readable

Opencart Expert | voldemaras@gmail.com
Skype - programanija | Gtalk - voldemaras@gmail.com
Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by crosland » Tue Oct 13, 2020 2:28 am

D3MO wrote:
Sat Jun 08, 2019 4:44 am
This is permissions error make the file 755 oir 777 to be sure it is readable
If you look at the error more carefully, and examine the code, you will the file is being opened for writing. The permissions are probably already 755 and you need to change to 777.

New member

Posts

Joined
Fri Sep 13, 2019 9:04 pm

Post by straightlight » Tue Oct 13, 2020 5:53 am

crosland wrote:
Tue Oct 13, 2020 2:28 am
D3MO wrote:
Sat Jun 08, 2019 4:44 am
This is permissions error make the file 755 oir 777 to be sure it is readable
If you look at the error more carefully, and examine the code, you will the file is being opened for writing. The permissions are probably already 755 and you need to change to 777.
No folders should require CHMOD settings to be delegated this high. Web servers administrators should be already aware enough these days that CHMOD 755 should run as its highest to provide enough security over Binary or Text mode via a File Server.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: FrankR and 31 guests