11
Lupin
Re: Gallery Module working on version 2.5.9
  • 2019/7/14 21:30

  • Lupin

  • Just popping in

  • Posts: 92

  • Since: 2007/6/1 2


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 ?

12
zyspec
Re: Gallery Module working on version 2.5.9
  • 2019/7/14 23:47

  • zyspec

  • Module Developer

  • Posts: 1095

  • Since: 2004/9/21


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.

13
goffy
Re: Gallery Module working on version 2.5.9
  • 2019/7/15 6:11

  • goffy

  • Just can't stay away

  • Posts: 543

  • Since: 2010/12/27



14
Lupin
Re: Gallery Module working on version 2.5.9
  • 2019/7/15 12:33

  • Lupin

  • Just popping in

  • Posts: 92

  • Since: 2007/6/1 2


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

15
Lupin
Re: Gallery Module working on version 2.5.9
  • 2019/7/15 13:43

  • Lupin

  • Just popping in

  • Posts: 92

  • Since: 2007/6/1 2


OK zyspec , it works !

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

16
Mamba
Re: Gallery Module working on version 2.5.9
  • 2019/7/17 2:11

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


Thanks Zyspec.

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

Login

Who's Online

297 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 297


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits