Announcement

#1 2016-02-04 11:16:02

JanneB
Member
2016-02-04
3

2.8.0RC2 and the Community plugin

Hi,
RC2 looks very well and I've found that one bug concerning the Community Plugin has been fixed.
That is the problem with uploading pictures that has been discussed before.
But when I choose Administration - Albums the server says "Bad Request" and "Missing Token".
If I deactivate the Community Plugin it works as it should again.
Any ideas?

Piwigo version: 2.8.0RC2
PHP version: 5.6.15
MySQL version: 5.7.9

Offline

 

#2 2016-02-04 13:35:26

JanneB
Member
2016-02-04
3

Re: 2.8.0RC2 and the Community plugin

Hi again,

Just discovered that the same thing happens when I go into Administration - Groups.

Offline

 

#3 2016-02-05 05:23:32

OC_boy
Member
2016-01-21
19

Re: 2.8.0RC2 and the Community plugin

I tried the steps, and I don't see the same problem,
Maybe attach a picture of the error to the post, so Piwigo Team members can see the error and fix it faster.

Offline

 

#4 2016-02-05 08:47:30

JanneB
Member
2016-02-04
3

Re: 2.8.0RC2 and the Community plugin

Hi again,

Actually I was following an advice I found earlier to modify plugins/community/main.inc.php
As you can see I added one line in this function.

function community_uploadify_privacy_level()
{
  if (script_basename() == 'uploadify' and !is_admin())
  {
    $_POST['level'] = 16;
  }
    $_POST['level'] = 16; // This is the added line
}


This has been the only change I've made to the original code.


I reverted that change and followed another advice to modify the type for level in the 'piwigo_images' table from tinyint(3) to char(16). (http://piwigo.org/forum/viewtopic.php?id=25946)

This change seems to work as it should. Everything I've tested so far works as it should.
You guys rock!!!

// Jan

Offline

 

Board footer

Powered by FluxBB

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