Announcement

#1 2018-02-08 10:29:01

yunkpoon2
Member
Hong Kong
2018-01-05
7

access deny for my album all the time

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

 

#2 2018-02-09 14:13:42

flop25
Piwigo Team
2006-07-06
6959

Re: access deny for my album all the time

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


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2018-02-12 11:12:49

yunkpoon2
Member
Hong Kong
2018-01-05
7

Re: access deny for my album all the time

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

 

#4 2018-02-12 14:06:03

yunkpoon2
Member
Hong Kong
2018-01-05
7

Re: access deny for my album all the time

simply downgrade the mariadb from to 10.1 is good ^^

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact