New version of module doesn't work!

Phoca Gallery modules - modules for Phoca Gallery extension
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

New version of module doesn't work!

Post 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.
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

Re: New version of module doesn't work!

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: New version of module doesn't work!

Post 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
If you find Phoca extensions useful, please support the project
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

Re: New version of module doesn't work!

Post 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..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: New version of module doesn't work!

Post by Jan »

Yes, new module is version 2.1 and works only with 2.1 component

Jan
If you find Phoca extensions useful, please support the project
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

Re: New version of module doesn't work!

Post 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..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: New version of module doesn't work!

Post by Jan »

Component 2.1.0 == Module 2.1.0

upgrade to 2.1.0 RC component
If you find Phoca extensions useful, please support the project
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

Re: New version of module doesn't work!

Post 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?
spektr
Phoca Member
Phoca Member
Posts: 47
Joined: 03 Oct 2008, 23:39

Re: New version of module doesn't work!

Post 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..
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: New version of module doesn't work!

Post 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)
If you find Phoca extensions useful, please support the project
Post Reply