xoops forums

Lupin

Just popping in
Posted on: 7/14 21:30
Lupin
Lupin (Show more)
Just popping in
Posts: 59
Since: 2007/6/1 2
#11

Re: Gallery Module working on version 2.5.9

Hey, I installed a fresh version of eXtGallery ( actually 1.14 beta 2 ) both in 2.5.9 and 2.5.10 and the module seemed working ... ( even I think there are several probs in installing module , permission and uploading )), but after logout this message appears :

Error : TypeError: Argument 1 passed to CriteriaCompo::add() must be an instance of CriteriaElement, boolean given, called in /web/htdocs/www.cmfoto.eu/home/cm7/modules/extgallery/class/PhotoHandler.php on line 1024

PHP is 7.1.28 version , but I am able to upgrade to 7.2 if needed ...

About functionality problems, I can add a report If you need and if you can give me some time

Pino

P.S. I have to change mi account mailbox , actual is no more operative; How can I do this ?

zyspec

Module Developer
Posted on: 7/14 23:47
zyspec
zyspec (Show more)
Module Developer
Posts: 1053
Since: 2004/9/21
#12

Re: Gallery Module working on version 2.5.9

You can fix this temporarily (until someone gets a chance to update the repository). In ./class/PhotoHandler.php change line 1023 from:
if (null !== $catHandler->getCatRestrictCriteria()) {

to:
if (false !== $catHandler->getCatRestrictCriteria()) {


That should fix the error you're seeing on line 1024.

goffy

Quite a regular
Posted on: 7/15 6:11
goffy
goffy (Show more)
Quite a regular
Posts: 382
Since: 2010/12/27
#13

Re: Gallery Module working on version 2.5.9

Hi Lupin

you can also try wgGallery
https://xoops.org/modules/newbb/viewtopic.php?post_id=364223

Lupin

Just popping in
Posted on: 7/15 12:33
Lupin
Lupin (Show more)
Just popping in
Posts: 59
Since: 2007/6/1 2
#14

Re: Gallery Module working on version 2.5.9

TYVM both zyspec & goffy ...

Actually the only working combination is xoops 2.5.8 and XCgallery ... this old module is a rewriting of a previous edition of Coppermine ( its functionality is that I need really ...) ; I also tried to bridge Xoops with CPG 1.6 , but the bridging seems to be impossible to do with last 2.5+ versions ...

Of course it could be better to use an "original" xoops module ( more easy to manage DB for me ...) ... I will try all roadmaps

A last question to goffy : can I store original photos too ? I have to give chance to user to call this view ...

Thanks again.

Pino

Lupin

Just popping in
Posted on: 7/15 13:43
Lupin
Lupin (Show more)
Just popping in
Posts: 59
Since: 2007/6/1 2
#15

Re: Gallery Module working on version 2.5.9

OK zyspec , it works !

goffy, link to ghithub doesn't work ...

Mamba

Moderator
Posted on: 7/17 2:11
Mamba
Mamba (Show more)
Moderator
Posts: 10812
Since: 2004/4/23
#16

Re: Gallery Module working on version 2.5.9

Thanks Zyspec.

I'll include your fix in the update.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs