Page 1 of 2

New version of module doesn't work!

Posted: 05 Nov 2008, 12:34
by spektr
Hi,

I have a problem with new version of this module. After I have enabled this module, the site doesn't load at all.

error:
Fatal error: require_once() [function.require]: Failed opening required '/home/akkranj/administrator/components/com_phocagallery/helpers/phocalibrary.php' (include_path='.:/usr/local/lib/php') in /home/akkranj/modules/mod_phocagallery_random_image/mod_phocagallery_random_image.php on line 16

This happened even If I use the same (modal pupup box) apperance as before with version 1.8.2.

Re: New version of module doesn't work!

Posted: 05 Nov 2008, 12:38
by spektr
I opened this file, and just save it, no changes, and now I'm getting this error:

Parse error: syntax error, unexpected T_IF in /home/akkranj/administrator/components/com_phocagallery/helpers/phocagallery.php on line 602

Re: New version of module doesn't work!

Posted: 05 Nov 2008, 23:34
by Jan
Hi, Phoca Gallery Random Image module 2.1 needs Component version 2.1 ... and Phoca Gallery Random Image Module 1.8.2 needs Component 1.x


Jan

Re: New version of module doesn't work!

Posted: 05 Nov 2008, 23:44
by spektr
I guess I have the right component. I double checked. My version is 2.0.2. Now I install the old module back 1.8.2. and it works again...If I install the new module it crashes..

Re: New version of module doesn't work!

Posted: 06 Nov 2008, 00:21
by Jan
Yes, new module is version 2.1 and works only with 2.1 component

Jan

Re: New version of module doesn't work!

Posted: 06 Nov 2008, 09:27
by spektr
This is ok, but my component version 2.0.2 doesn't work with module version 2.1. I'm not kidding. I'm getting the above error, but I don't know why..

Re: New version of module doesn't work!

Posted: 07 Nov 2008, 00:01
by Jan
Component 2.1.0 == Module 2.1.0

upgrade to 2.1.0 RC component

Re: New version of module doesn't work!

Posted: 07 Nov 2008, 09:23
by spektr
:o
2.0.1. RC ..ups :)
I thought I must have the latest version of the component. IS there a big difference between these two builds?

Re: New version of module doesn't work!

Posted: 07 Nov 2008, 13:20
by spektr
Jan, I managed to successfully install and use this new version of module.
However, I have one question . I choose shadowbox, but when the picture opens I have no buttons (next, previous), and the slideshow doesn't working too.
What could be the reason?

In the module properties I have enabled show buttons..

Re: New version of module doesn't work!

Posted: 07 Nov 2008, 13:29
by Jan
2.0.1. RC ..ups
Hi, it is not 2.0.1 RC but 2.1.0 RC, yet there is big difference, because Random Image Module 2.1 works only with Gallery Component 2.1 (because of libraries)