Permission denied

All About OJS 3
Post Reply
antoekowijaya
Posts: 1
Joined: 04 Nov 2017, 18:05

Permission denied

Post by antoekowijaya »

Saya sedang upgrade ojs dari versi 2.5 ke versi 3.0.2 akan tetapi saya menemui hal begini pada saat proses instalasi..

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-05afc2c4827ae11210c660d134ba1f01.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-39ad57a0a799a092b476f7b3d029e60d.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-1cfde42be2b25bdac1c9a16538de37a8.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-03b174b61510807426c2a2c128f6a86a.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-list.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-8c15ce7dfec31e437114d80f1f936272.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-d361f6493b84f04da16487147dee41ca.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-f90252dc6a63da3f259c3add542b2e84.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-358c56f5ace75e00d521d5b534a8c845.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-d20be57bb305d999dbcf073bb906a2aa.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Fatal error: Smarty error: unable to write to $compile_dir '/var/www/html/journal/cache/t_compile'. Be sure $compile_dir is writable by the web server user. in /var/www/html/journal/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094

saya mhn pencerahannya suhu-suhu semuaa.... terima kasih

benben159
Posts: 6
Joined: 03 Feb 2018, 09:51

Re: Permission denied

Post by benben159 »

antoekowijaya wrote:Saya sedang upgrade ojs dari versi 2.5 ke versi 3.0.2 akan tetapi saya menemui hal begini pada saat proses instalasi..

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-05afc2c4827ae11210c660d134ba1f01.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-39ad57a0a799a092b476f7b3d029e60d.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-1cfde42be2b25bdac1c9a16538de37a8.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-03b174b61510807426c2a2c128f6a86a.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-list.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-8c15ce7dfec31e437114d80f1f936272.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-d361f6493b84f04da16487147dee41ca.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-f90252dc6a63da3f259c3add542b2e84.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-358c56f5ace75e00d521d5b534a8c845.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/var/www/html/journal/cache/fc-locale-d20be57bb305d999dbcf073bb906a2aa.php): failed to open stream: Permission denied in /var/www/html/journal/lib/pkp/classes/cache/FileCache.inc.php on line 90

Fatal error: Smarty error: unable to write to $compile_dir '/var/www/html/journal/cache/t_compile'. Be sure $compile_dir is writable by the web server user. in /var/www/html/journal/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1094

saya mhn pencerahannya suhu-suhu semuaa.... terima kasih
silakan diganti ownership dari folder /var/www/html/journal/cache.

Code: Select all

sudo chown -R www-data:www-data /var/www/html/journal/cache 
sesuaikan www-data dengan distribusi Linux yang anda pakai.

arisdiani
Posts: 1
Joined: 17 Dec 2022, 10:07

Re: Permission denied

Post by arisdiani »

Mohon penjelasan langkah-langkah mengatasi hal demikian ketika membuka localhost, saya menggunakan macbook, terimakasih

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-6aabfbd84c807ce262dbfe096d189faa.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-b4c3a96fff08b6a0876dd16bd7b2a354.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-b4c3a96fff08b6a0876dd16bd7b2a354.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-f1ef9dc69c4204cb9b36d6366e3a35ba.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-f1ef9dc69c4204cb9b36d6366e3a35ba.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-09f3f9ddf5cea7e30aba0669bb6f2bb8.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-85c2fdb33ac7dc199b8ad805ba7a36a7.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-7d3a7bcffaebd8fdc09fc6fe2049834b.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-6bfe4fc569b3ef87217b6c1effcb04ac.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-6afbd4ea5830aaf6c55789bfe7adc081.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-7f9ebda1c1d2fd6a95702ca46306224f.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-733b52d60eda650b085b3d60492c855d.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-b5149608adb7df1a9059d4f5d67dc6da.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-e0abd965751b743106bb8188ec39d732.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-34a46caf39d79268d19d370a661d8d8e.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-c4ba60c0c7659e9730c00c0c0706d098.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-356c12327f31d70eeab9c4b1a49237d6.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-915c0705851ce7a5dcfea5ac9564abd6.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-15e982a228d05533dfd6200a34ac1846.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-57c604e3aa65324e1dad6ba8685549a0.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-fbcf1850d255ac6fbdaa3e6e9ba91e52.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-ffb3119c1844a7a2f1a03c565a7d984b.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-d8293738f34ea9a59f06ea200a1df001.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-9c836b40d26fe96a879a7dbc08e57d32.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-9051ff732666b027a6d01caa54e5d2f3.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/fc-locale-bde3006c2e6b6aec1603ac374994031d.php): failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php:90) in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 1180

Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/cache/FileCache.inc.php:90) in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 1181

Fatal error: Uncaught --> Smarty: unable to write file /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/cache/t_compile/wrt63a6b6c2598da9_64230838 <-- thrown in /Applications/XAMPP/xamppfiles/htdocs/ojs3jurnalperawatpintar/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php on line 60

Post Reply