#1 2025-03-30 16:18:44

Yurch
Member
2025-02-01
25

And again, access rights to Piwigo folders

Hello/Hi/Greetings,

I was worried about transferring the Piwigo gallery to a local hosting service.
I figured it out a bit, but I ran into this error --- Tools->Maintenance->compile the created templates...
And this error appears:
===
Warning: file_put_contents(/var/www/html/_data/templates_c//index.htm): Failed to open stream: Permission denied in /var/www/html/include/template.class.php on line 255
===
I see that there is a problem with the rights again, but which folder should I pay attention to?



Piwigo URL: http://

Offline

 

#2 2025-04-01 09:06:31

Yurch
Member
2025-02-01
25

Re: And again, access rights to Piwigo folders

Can someone help from the Piwigo team?

Offline

 

#3 2025-04-02 15:32:33

Yurch
Member
2025-02-01
25

Re: And again, access rights to Piwigo folders

There doesn't seem to be any point in waiting for an answer...
I talked to myself, answered myself.

Offline

 

#4 2025-04-04 13:46:11

erAck
Only trying to help
2015-09-06
2234

Re: And again, access rights to Piwigo folders

The user the web server runs as needs read&write permissions in the _data/ directory and all subdirectories and files. Also in the upload/ directory.
See also [Forum, post 183419 by erAck in topic 31993] What are the correct permissions for Piwigo files and directories ?.


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

Offline

 

#5 2025-04-05 08:22:23

Yurch
Member
2025-02-01
25

Re: And again, access rights to Piwigo folders

On all folders, the resolution is 0777 - this error still occurs.

Offline

 

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2026 · Contact