phpBB Gallery

phpBB Gallery 1.2.1 - phpBB Gallery

Re: phpBB Gallery 1.2.1

by Keeno » Sat Mar 31, 2018 5:36 pm

This is what im getting while trying to add permisions to a user

Code: Select all

ContextErrorException in service.php line 86:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'phpbb\cache\driver\file' does not have a method 'get_albums'
in service.php line 86
at ErrorHandler->handleError('2', 'call_user_func_array() expects parameter 1 to be a valid callback, class 'phpbb\cache\driver\file' does not have a method 'get_albums'', '/home/growroom/public_html/phpbb/cache/service.php', '86', array('method' => 'get_albums', 'arguments' => array()), null) in error_handler.php line 29
at error_handler->handleError('2', 'call_user_func_array() expects parameter 1 to be a valid callback, class 'phpbb\cache\driver\file' does not have a method 'get_albums'', '/home/growroom/public_html/phpbb/cache/service.php', '86', array('method' => 'get_albums', 'arguments' => array()))
at call_user_func_array(array(object(file), 'get_albums'), array()) in service.php line 86
at service->__call('get_albums', array()) in permissions_module.php line 694
at permissions_module->permissions_set() in permissions_module.php line 92
at permissions_module->main('\phpbbgallery\core\acp\permissions_module', 'manage') in functions_module.php line 676
at p_master->load_active() in index.php line 82
Keeno
Registered User
Posts: 39
Joined: Mon Feb 19, 2018 1:48 pm
Contact:

Re: phpBB Gallery 1.2.1

by Keeno » Sat Mar 31, 2018 11:47 pm

phpBB Gallery
phpBB Gallery Add-on: ACP Cleanup
phpBB Gallery Add-on: ACP Import
phpBB Gallery Add-on: Exif

These are the extentions our tech guy installed, just so you know what i have in case any are causing the issue, I managed to get get into "configure gallery" bu disabling "google anaylistics" extension, so there was something going on between the 2. So far i can add users or user groups to permissions, i can select a user or usergroup, but once ive selected yes or no in the permissions table and i click submit i get the error message in previous post.
Keeno
Registered User
Posts: 39
Joined: Mon Feb 19, 2018 1:48 pm
Contact:

Re: phpBB Gallery 1.2.1

by Keeno » Sun Apr 01, 2018 11:16 am

Maybe im not doing something right, is there a how to on this type of gallery?
Keeno
Registered User
Posts: 39
Joined: Mon Feb 19, 2018 1:48 pm
Contact:

Re: phpBB Gallery 1.2.1

by Satanasov » Thu Apr 05, 2018 6:22 pm

OK. Found where the issue with googleanalytics_id is. It's not related to the gallery. I will PR fix to the extension dev.

For on the fly change:

in

Code: Select all

ext/phpbb/googleanalytics/event/listener.php 
just after

Code: Select all

        * @access public
	*/
	public function validate_googleanalytics_id($event)
	{
add

Code: Select all

                // If we use GA but we are not on correct CFG
		if (!isset($event['cfg_array']['googleanalytics_id']))
		{
			return;
		}
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Satanasov
Registered User
Posts: 1126
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: phpBB Gallery 1.2.1

by Satanasov » Mon Apr 09, 2018 8:45 am

While again waiting for validation, the 3.2.2 version (or master on github) now supports contests.

Test and enjoy!
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Satanasov
Registered User
Posts: 1126
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: phpBB Gallery 1.2.1

by EFe1343 » Thu Apr 12, 2018 1:38 pm

Hello;

I translated your extension into Turkish Language Options after a long struggle. I've tested it now and I do not see any problems. If you want, I can send you the Turkish Language Option files.

My problem is how can I set permissions for this plugin in Message Pane. Is there a default permission setting?

Thank you in advance for your answers.
EFe1343
Registered User
Posts: 3
Joined: Thu Apr 12, 2018 1:20 pm
Contact:

Re: phpBB Gallery 1.2.1

by Keeno » Mon Apr 16, 2018 10:19 am

Hello, our tech guys has made the changes you suggested above, however we are still getting this message when we try to set permissions?

Code: Select all

1
ContextErrorException in service.php line 86:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'phpbb\cache\driver\file' does not have a method 'get_albums'
in service.php line 86
at ErrorHandler->handleError('2', 'call_user_func_array() expects parameter 1 to be a valid callback, class 'phpbb\cache\driver\file' does not have a method 'get_albums'', '/home/growroom/public_html/phpbb/cache/service.php', '86', array('method' => 'get_albums', 'arguments' => array()), null) in error_handler.php line 29
at error_handler->handleError('2', 'call_user_func_array() expects parameter 1 to be a valid callback, class 'phpbb\cache\driver\file' does not have a method 'get_albums'', '/home/growroom/public_html/phpbb/cache/service.php', '86', array('method' => 'get_albums', 'arguments' => array()))
at call_user_func_array(array(object(file), 'get_albums'), array()) in service.php line 86
at service->__call('get_albums', array()) in permissions_module.php line 694
at permissions_module->permissions_set() in permissions_module.php line 92
at permissions_module->main('\phpbbgallery\core\acp\permissions_module', 'manage') in functions_module.php line 676
at p_master->load_active() in index.php line 82
Keeno
Registered User
Posts: 39
Joined: Mon Feb 19, 2018 1:48 pm
Contact:

Re: phpBB Gallery 1.2.1

by Satanasov » Mon Apr 16, 2018 11:22 am

This is the permissions issue ... I know of it ... But I can't reproduce it.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Satanasov
Registered User
Posts: 1126
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: phpBB Gallery 1.2.1

by Keeno » Mon Apr 16, 2018 12:04 pm

Does this mean it cant be fixed?
Keeno
Registered User
Posts: 39
Joined: Mon Feb 19, 2018 1:48 pm
Contact:

Re: phpBB Gallery 1.2.1

by Satanasov » Mon Apr 16, 2018 12:06 pm

Once I am able to reproduce it. I will keep trying.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Satanasov
Registered User
Posts: 1126
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: phpBB Gallery 1.2.1

by EFe1343 » Mon Apr 16, 2018 12:45 pm

I set the hello permissions and I added three albums. But this Users Personal Albums section is not added pictures and is not deleted. It stays there, it looks empty when clicked. Only the number of images loaded appears.
Users Personal Albums.PNG
It looks like this.
EFe1343
Registered User
Posts: 3
Joined: Thu Apr 12, 2018 1:20 pm
Contact:

Re: phpBB Gallery 1.2.1

by Keeno » Mon Apr 16, 2018 1:19 pm

Satanasov wrote:Once I am able to reproduce it. I will keep trying.
thank you.
Keeno
Registered User
Posts: 39
Joined: Mon Feb 19, 2018 1:48 pm
Contact:

Re: phpBB Gallery 1.2.1

by EFe1343 » Thu Apr 19, 2018 5:42 pm

I did not get any answers to the two questions that I asked.
EFe1343
Registered User
Posts: 3
Joined: Thu Apr 12, 2018 1:20 pm
Contact:

Re: phpBB Gallery 1.2.1

by uaellaen » Tue May 08, 2018 9:41 pm

hi,
i just installed this on my phpbb 3.2.2 and gave my self access and permissions to create personal albums etc.. when i go into the UCP i can create albums and sub albums, but when i try to upload a picture to an album i get the following error:
[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbbgallery/core/file/file.php on line 295: Division by zero
[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbbgallery/core/file/file.php on line 295: Division by zero
[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbbgallery/core/file/file.php on line 302: Division by zero
[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbbgallery/core/file/file.php on line 302: Division by zero
[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbbgallery/core/file/file.php on line 302: Division by zero
[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbbgallery/core/file/file.php on line 316: imagecopyresampled() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbbgallery/core/file/file.php on line 318: imagealphablending() expects parameter 1 to be resource, boolean given
[phpBB Debug] PHP Warning: in file [ROOT]/ext/phpbbgallery/core/file/file.php on line 319: imagesavealpha() expects parameter 1 to be resource, boolean given
uaellaen
Registered User
Posts: 7
Joined: Mon Sep 18, 2006 4:21 pm

Re: phpBB Gallery 1.2.1

by Satanasov » Tue May 08, 2018 9:43 pm

OK ... I will need some more information. Which version are you using? Is this only while uploading from upload page or with ajax too.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Satanasov
Registered User
Posts: 1126
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact: