Hi ALL,
I have crashed my old ubuntu server during update. So I move my all the staff inside piwigo directory and all the tables related to piwigo to my new centos server. However, after I put my piwigo directory inside my /var/www/, I have access deny error. All the things I find suspicious are the following....
1. I use different demain in new server.
2. I have piwigio_privacy plugin <-- this one is so suspicious
3. I have warning in /var/log/php-fpm/www-error.log
PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
4. I have change the access right of my directoy to 755.
Any thing I can get more hints?
Piwigo version: 2.9.2
PHP version: 7.1.14
MySQL version: MariaDB 10.2.12
Piwigo URL: https://piwigo.kenshome.pw
Offline
Hello
as specified on the extension page it has a Github repository where you can post your issue and find additional mandatory server config https://github.com/yonjah/piwigo_privacy
Offline
hi all, my problem finally solved. This is because some strange thing about centos 7 :-(
Here are the solution....
https://stackoverflow.com/questions/220 … ary-script
https://stackoverflow.com/questions/140 … bookings-t
But I find something strange again. I have another error Orz
Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'recursive,
create_subcategories,
nb_photos,
storage
FROM piwigo_co' at line 6
SELECT
id,
type,
category_id,
user_album,
recursive,
create_subcategories,
nb_photos,
storage
FROM piwigo_community_permissions
WHERE (type = 'any_visitor')
; in /var/www/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 845
any help?
Thanks
Offline
simply downgrade the mariadb from to 10.1 is good ^^
Offline