Mambo 4.5.2 and getorderby
chrix1165
Joined: 2005-06-20
Posts: 3 |
![]() |
Sorry for posting this because I see there are others with the same problem. Problem for me is, with all these posts I have yet to see anyone answer this question. I'm using Mambo 4.5.2 and G2 beta3. I installed com_gallery2 and it works fine. However, if I'm logged in as admin I can view pictures. If I'm logged in as a normal user, you can see thumbnails but can't click on a picture. Same thing happens with random thumbnails etc. Below is the error I receive. Anyone have a fix for this? Fatal error: Call to undefined function: getorderby() in /home/path/gallery2/modules/core/classes/helpers/GalleryChildEntityHelper_simple.class on line 480 |
|
artemido
![]()
Joined: 2005-02-08
Posts: 24 |
![]() |
artemido wrote:
more information: |
|
artemido
![]()
Joined: 2005-02-08
Posts: 24 |
![]() |
oh, delete that block of code and it should fix the problem... :D |
|
chrix1165
Joined: 2005-06-20
Posts: 3 |
![]() |
artemido wrote:
oh, delete that block of code and it should fix the problem... :D Delete the block of code? Which block and what would it fix? |
|
chrix1165
Joined: 2005-06-20
Posts: 3 |
![]() |
FIXED Thanks to michiel_1981, I got my problem solved. Hopefully this will help others. Within my Mambo Administration, Components, Gallery2... I changed two things. I changed my Relative path to Gallery G2 from /gallery2 to just gallery2. I also changed embedUri from index.php?option=com_gallery2 to index.php?option=com_gallery2&Itemid=66. Itemid=66 certainly would be unique to each site so you'll need to figure out which id this is for you. Hopefully this will help others, it worked for me. Thanks again to michiel_1981. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
please add this information / fix to the mambo sticky topic. kudos. |
|
sketchy
![]()
Joined: 2005-06-28
Posts: 2 |
![]() |
Maybe not fixed, because I'm thinking the problem I'm having is closely related. But I'm new to this so may be completely wrong. Mambo 4.5.2.3, G2 beta 3 - nightly build 27th June. As an administrator or as a guest, I can view album thumbnails, go into albums, and then into the full size image fine from within Mambo. As a registered user, clicking on a thumbnail within an album gives me : I have set the "Relative path to Gallery G2" to "gallery2", If I go from the Gallery2 directory (bypassing Mambo), it works fine. I have tried every permutation of the "Relative path..." and "embedUri:" parameters that I can think of, and no dice. mambo site is at : http://www.lightwaveoz.org Oh, and the gum boots are dumb test images.... Any ideas appreciated. |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
sketchy, give me your gallery core version and your configuration settings for gallery2 all of them? grtz, [edit] put it on todo list |
|
sketchy
![]()
Joined: 2005-06-28
Posts: 2 |
![]() |
great, thanks for that. |
|
rza
Joined: 2005-05-08
Posts: 34 |
![]() |
finally i see people having same problem as me...hope they fix this soon...mine problem is slightly different..logined as site admin i get that error too..but if you are the main gallery admin, u can view the pics...weird problem... |
|
rza
Joined: 2005-05-08
Posts: 34 |
![]() |
any solution to this yet? i tried the same thing but did not get solved.. |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
rza, you tried this with the latest of both gallery2 and the component? regards, ps: the album creation for users is still a little buggy. |
|