Announcement

#1 2020-02-11 09:55:46

Karel
Member
2020-02-11
1

Piwigo - no write access

Hello/Hi/Greetings,

I upgrade piwigo, but now not working. When access on site:

Piwigo encountered an irrecoverable error
./_data/templates_c no write access

#1    mkgetdir /usr/share/webapps/piwigo/include/template.class.php(101)
#2    Template::__construct /usr/share/webapps/piwigo/include/common.inc.php(218)
#3    include_once /usr/share/webapps/piwigo/index.php(11)

Tried
chmod 777 /usr/share/webapps/piwigo/_data/templates_c/ -R
But still error.

On other server, same problem.
Where is problem?
Thanks for reply.

Piwigo version:
PHP version:  7.4.1-1
nginx: 1.17.8-1
site: http://test.mlynsenov.eu/a.php
Archlinux

Offline

 

#2 2020-02-11 11:36:09

erAck
Only trying to help
2015-09-06
1415

Re: Piwigo - no write access

I highly doubt your web server should be allowed to write anywhere under /usr/share/

Piwigo has to be installed under a directory the web server has read-write access to, for example /var/www/html/ or ~/public_html/ however that's organized in your instance.

A recursive chmod 777 on everything isn't a good idea either, but appending the -R after the directory specification it didn't work anyway.

Make the install directory writable for the user the web server runs as before installing Piwigo, then do the Netinstall there. Maybe ask someone in the know to help you with the installation if the basic things are unknown to you.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2022 · Contact