That's true aravot. I haven't messed with it at all. I'll give it a look too.
fableman
Joined: 2005-04-29
Posts: 25
Posted: Fri, 2005-04-29 12:10
Mambo 4.5.1a Stable
Downloaded the G2 mambo integration from this topic (the latest one)
The Gallery installation was working just fine and I could login as admin and see the admin stuff.
Then I installed the com_gallery2
Made sure all settings was ok
Turned on Mirroring users.
I created a menu item pointing the the component gallery2
Here starts my problems..
The menu item pointing to the gallery component2 is just showing a balnk page.
this my settings:
Full Path to Gallery G2: /home/lov/public_html/gallery2/
Relative path to Gallery G2: ../gallery2 ( tried uisng ./gallery2 aswell)
Path to Mambo: /
embedUri: index.php?option=com_gallery2
anything i try with patch still gives me a blank page.
The user admin in gallery got mirrored with mambos admin and lost all admin access, when I login into gallery2 with admin and dont see any admin stuff.
(I login from the page www.mysite.com/galley2/)
and it should be fixed by now. you'll have to get the current nightly snapshot or cvs update.
fableman
Joined: 2005-04-29
Posts: 25
Posted: Fri, 2005-04-29 14:17
valiant wrote:
and it should be fixed by now. you'll have to get the current nightly snapshot or cvs update.
I just reinstalled it all now and first thing I did was to create an admin2 and made him member of administrators
The problem nwo is..
From mambo I see the tumbnails but I cant show the full picture.
It just give me blank page
volleyclub
Joined: 2003-05-04
Posts: 32
Posted: Fri, 2005-04-29 18:43
would it be possible to add a mambot to the the power combination between gallery and mambo?
Is it someone already trying to develop it?
I think it should be very interesting!!
mx
Joined: 2005-05-01
Posts: 5
Posted: Sun, 2005-05-01 02:28
hi all,
i just did a fresh install of gallery 2 beta2. as soon as i open up components> Gallery 2 i get this error:
Warning: Invalid argument supplied for foreach() in /var/www/html/administrator/components/com_gallery2/admin.gallery2.php on line 60
58 /* extract params from the DB query */
59 $params = array();
60 foreach ($param as $curr) {
61 $params[$curr[0]] = $curr[1];
62 }
how to fix?
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-01 11:04
mx, either you have some corrupted gallery files or you are using a php accelerator / cache.
- make sure that there are no missing/modified files in the installer step "systemcheck step".
and reupload all missing/modified files
- if that is not the problem, you probably are using a php cache (ioncube PHPA, turk mm cache, zend accelerator / studio, eaccelerator) and its cache needs to be flushed.
mx
Joined: 2005-05-01
Posts: 5
Posted: Sun, 2005-05-01 20:34
how do i go about flushing the cache?
also is there a way i can merge the mambo/smf users with gallery users?
EDIT:
When installing component in mambo it says
"If you want to use pass-through user authentication, be sure to run the initialisation option before using the component!"
where do you initailize the option?
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-01 20:42
mx, if you can't access site admin -> maintenance, try yourgalleryurl/lib/tools/test/
hit flushcache, flushtemplatescache.
and as i said, make sure there are no modied/missing files.
mx
Joined: 2005-05-01
Posts: 5
Posted: Sun, 2005-05-01 21:20
im going to go back to beta 1. ever since i have switched to beta2 i get nothing but errors. even flushing cash and trying to initalize i get errors.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-05-01 21:33
mx, your choice. but it has nothing to do with beta 2.
fableman
Joined: 2005-04-29
Posts: 25
Posted: Mon, 2005-05-02 10:03
valiant wrote:
and it should be fixed by now. you'll have to get the current nightly snapshot or cvs update.
Gallery2
I have the latest CVS (installed from cvs date:2005-05-02 (today))
I have the latest Gallery2 component for mambo
Mambo 4.5.1a Stable
I can see tumbnail from mambo and gallery name and all.
But I cant see the picture when I click on the tumbnail.
Having this problem a few days now and I really need some help..
Full Path to Gallery G2: /home/lov/public_html/test2/gallery2/
Relative path to Gallery G2: ./gallery2
Path to Mambo: /
embedUri: index.php?option=com_gallery2
Login page redirect: index.php
Display G2 Sidebar: No
Display G2 login: No
Use mirrored user logins: Yes
Run user setup script: No
Enable auto-album creation: Yes
fableman
Joined: 2005-04-29
Posts: 25
Posted: Mon, 2005-05-02 11:01
This is the error from the httpd error log:
[client x.x.x.x] PHP Fatal error: Call to undefined function: getorderby() in /home/lov/public_html/test2/gallery2/modules/core/classes/helpers/GalleryChildEntityHelper_simple.class on line 480, referer: http://www.mysite.com/index.php?option=com_gallery2&Itemid=53
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-05-02 11:24
that's strange.
can you post more info? like activating buffered or immediate debug mode in config.php and post the error stack etc.?
getorderby() is a getter for a member of the Albums. so if the supplied itemId to GalleryChildEntityHelper_simple::_getOrderInfo was an itemId for a non-album, we should have this problem.
fableman
Joined: 2005-04-29
Posts: 25
Posted: Mon, 2005-05-02 12:00
This get logged when I klick the tumbnail:
2005-05-02 13:57:54 [<no session id>] file_exists(/home/lov/public_html/test2/gallery2/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
2005-05-02 13:57:54 [<no session id>] fopen(/home/lov/public_html/test2/gallery2/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc, rb, 0)
2005-05-02 13:57:54 [<no session id>] fread(Resource id #58, 4096)
2005-05-02 13:57:54 [<no session id>] fread(Resource id #58, 4096)
2005-05-02 13:57:54 [<no session id>] fread(Resource id #58, 4096)
2005-05-02 13:57:54 [<no session id>] fclose(Resource id #58)
2005-05-02 13:57:54 [<no session id>] Unimplemented: GalleryUrlGenerator
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] file_exists(/home/lov/public_html/test2/gallery2/g2data/sessions/43723334380b25a869bb90e33e1a8163)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fopen(/home/lov/public_html/test2/gallery2/g2data/sessions/43723334380b25a869bb90e33e1a8163, rb, 0)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] feof(Resource id #69)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fread(Resource id #69, 4096)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] feof(Resource id #69)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fclose(Resource id #69)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] file_exists(/home/lov/public_html/test2/gallery2/g2data/cache/module/core/0/0/0.inc)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fopen(/home/lov/public_html/test2/gallery2/g2data/cache/module/core/0/0/0.inc, rb, 0)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fread(Resource id #78, 4096)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fclose(Resource id #78)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] [1115035074] can't guarantee 5 -- extending!
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] file_exists(/home/lov/public_html/test2/gallery2/g2data/cache/entity/0/1/16.inc)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fopen(/home/lov/public_html/test2/gallery2/g2data/cache/entity/0/1/16.inc, rb, 0)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fread(Resource id #86, 4096)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fclose(Resource id #86)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] <hr>
(mysql):
SELECT
g2_Group.g_id,
g2_Group.g_groupName
FROM
g2_UserGroupMap, g2_Group
WHERE
g2_Group.g_id = g2_UserGroupMap.g_groupId
AND
g2_UserGroupMap.g_userId = 15
ORDER BY
g2_Group.g_groupName
LIMIT 18446744073709551615 & <code></code>
<hr>
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] <hr>
(mysql):
SELECT
g2_PermissionSetMap.g_module,
g2_PermissionSetMap.g_permission,
g2_PermissionSetMap.g_description,
g2_PermissionSetMap.g_bits,
g2_PermissionSetMap.g_flags
FROM
g2_PermissionSetMap
& <code></code>
<hr>
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] realpath(/home/lov/public_html/test2/gallery2/modules/core/classes/../../..)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] Binding text domain: modules_core -> /home/lov/public_html/test2/gallery2/modules/core/locale
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] realpath(/home/lov/public_html/test2/gallery2/modules/core/classes/../../..)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] Binding text domain: modules_comment -> /home/lov/public_html/test2/gallery2/modules/comment/locale
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] <hr>
(mysql):
SELECT DISTINCT
g2_AccessMap.g_accessListId
FROM
g2_AccessMap
WHERE
(g2_AccessMap.g_userId = 15
OR
g2_AccessMap.g_groupId IN (4, 2))
AND
g2_AccessMap.g_permission & 1 = 1
& <code></code>
<hr>
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-05-02 12:14
and the stack trace?
fableman
Joined: 2005-04-29
Posts: 25
Posted: Mon, 2005-05-02 12:16
how do I do that ?
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-05-02 12:36
when an error occurs in G2, you alway get a stack trace (error ... in file ... called in file ... etc.). disable debug mode and the error you see then, that's the stack trace.
fableman
Joined: 2005-04-29
Posts: 25
Posted: Mon, 2005-05-02 13:14
valiant wrote:
when an error occurs in G2, you alway get a stack trace (error ... in file ... called in file ... etc.). disable debug mode and the error you see then, that's the stack trace.
Humm not sure where I should see this, cos I only see a blank page in internet explorer when i click on the tumbnail.
[client x.x.x.x] PHP Fatal error: Call to undefined function: getorderby() in /home/lov/public_html/test2/gallery2/modules/core/classes/helpers/GalleryChildEntityHelper_simple.class on line 480, referer: http://www.mysite.com/index.php?option= ... &Itemid=53
what about your G2 standalone, does it work correctly?
fableman
Joined: 2005-04-29
Posts: 25
Posted: Mon, 2005-05-02 13:46
yes my G2 installation is working just fine.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-05-02 13:55
can you post urls to your standalone and embedded G2?
the only reason i could think this happens is because of the itemId in the url of the mambo integration. but this works for everyone else...
fableman
Joined: 2005-04-29
Posts: 25
Posted: Mon, 2005-05-02 14:48
valiant wrote:
can you post urls to your standalone and embedded G2?
the only reason i could think this happens is because of the itemId in the url of the mambo integration. but this works for everyone else...
you could have mentioned that mysite.com is not your domain and this is just an example domain...
and it works for other itemIds ?
and is your website on your personal computer or why can't you post the real url?
markus.wilhelm
Joined: 2005-05-02
Posts: 3
Posted: Mon, 2005-05-02 16:20
Hi @all,
I do have a problem with the links and images inside the sidebar of mambo. If I am just in root of the Domain everything is ok but when I do moce to another URL of Mambo following error does occure:
As you can see he just puts the gallery embed url after the current url of the mambo page instead of just adding it after the domain. So all configuration changes I made where ok, can anybody help me to fix this?
markus.wilhelm, i guess your G2 version / mambo integration is out of date.
The newest code shouldn't have this problem.
Use [kings]Egg mambo integration.
I just looked at the code of the random block mambo module. I guess this won't work in any case.
KAC / aravot should use GalleryEmbed::getImageBlock and not this url style.
aravot
Joined: 2005-03-05
Posts: 61
Posted: Mon, 2005-05-02 22:03
Valiant, I am not a coder have no clue of coding I only wanted random picture from gallery on the main page and not the whole extra sidebar stuff, so I started asking and coded that one.
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-05-02 22:22
aravot, np. It's just a note that this could be extended...
aravot
Joined: 2005-03-05
Posts: 61
Posted: Mon, 2005-05-02 23:33
I am working on it to have the ability to:
turn on/off g2_show - title, date, views, owner, heading, fullSize
select between g2_blocks - randomImage, recentImage, viewedImage, randomAlbum, recentAlbum, viewedAlbum, dailyImage
but before all that I am trying to have it open wrapped inside the mambo,
As I said I am not a coder, I read tutorials, ask at various user groups, open other programs go through the code, so it may take a while.
mx
Joined: 2005-05-01
Posts: 5
Posted: Tue, 2005-05-03 05:00
hi all,
i am getting this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 19473 bytes) in /var/www/html/gallery/lib/smarty/Smarty_Compiler.class.php on line 213
im guessing that i need to change some sort of setting for the memory? what setting? i wrote the .htaccess file on the gallery root of the server cause im using apache. any ideas?
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-03 05:28
if you get this only in embedded mode, then this .htaccess should be located at the root dir of mambo. but 8mb is few, you should rise it also for g2 standalone
better yet, change the value in php.ini (if you have (root) access to the server).
create a .htaccess with the following line and put it into the mambo root:
php_value memory_limit 16M
markus.wilhelm, i guess your G2 version / mambo integration is out of date.
The newest code shouldn't have this problem.
Use [kings]Egg mambo integration.
Thanks for the hint, but that is just the download of the first page from this thread, so I expected this is the lates version. Where to find the actual download you mentioned above?
Thanks for your help.
-----------------------EDIT-------------------------------------
Well I found the place and updated everything, so just uploaded the files to the specific directories modules and component:
* $Id: mod_galleryside.php,v 1.1 2005/04/04 22:12:05 andy_st Exp $
This is the version I am using now and nothing changed. There is the URL of the current page displayed in Mambo and the the Gallery embed URL is just added at the end. For me it just looks like there is the wrong variable in front of the embed URL.
I do have a local installation on my XP system and this reactes a little bit different. I just tried to find the place inside the gallery code where this url are created but did not find it yet.
fableman
Joined: 2005-04-29
Posts: 25
Posted: Tue, 2005-05-03 06:15
valiant wrote:
you could have mentioned that mysite.com is not your domain and this is just an example domain...
and it works for other itemIds ?
and is your website on your personal computer or why can't you post the real url?
it works perfectly for me. see the attached screenshot. if you log out from mambo and delete your cookies, it should be working for you too.
so this next issue your having has something to do with the admin user or something like that. i guess you can solve that on your own.
KAC
Joined: 2004-12-01
Posts: 164
Posted: Tue, 2005-05-03 13:02
aravot wrote:
I am working on it to have the ability to:
turn on/off g2_show - title, date, views, owner, heading, fullSize
select between g2_blocks - randomImage, recentImage, viewedImage, randomAlbum, recentAlbum, viewedAlbum, dailyImage
but before all that I am trying to have it open wrapped inside the mambo,
As I said I am not a coder, I read tutorials, ask at various user groups, open other programs go through the code, so it may take a while.
aravot,
You may want to have a look at this thread. I think their working on the coding stuff including the stuff valiant is recommending.
all possible parameters for the getImageBlock() function are described in modules/core/classes/GalleryEmbed.class (formerly in embed.php).
In xaraya, I created a small web form in the admin section, similar to the random / popular config in G2, where you can define the parameters.
fableman
Joined: 2005-04-29
Posts: 25
Posted: Tue, 2005-05-03 13:57
Quote:
it works perfectly for me. see the attached screenshot. if you log out from mambo and delete your cookies, it should be working for you too.
so this next issue your having has something to do with the admin user or something like that. i guess you can solve that on your own.
Now I see the picture aswell, BUT... Only when iam not logged into the page.
If I login to the mambo as a registred user then I cant see the pictures..
even when i giving my test user: test "View all versions" permission he cant see anything..
(inside G2 permission menu)
My Group Permissions:
Group name Permission Action
Everyone [core] View all versions
All Users [core] View all versions
User Permissions
User name
test [core] View all versions
Whats wrong I dont see that my group permission is wrong... why is only picture showing up for the visitors but not for my registred users ..?[/code]
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-03 14:34
fableman, it has nothing to do with G2 permissions. it has to do with how mambo users are mapped to G2 users and if that works correctly.
fableman
Joined: 2005-04-29
Posts: 25
Posted: Tue, 2005-05-03 14:43
valiant wrote:
fableman, it has nothing to do with G2 permissions. it has to do with how mambo users are mapped to G2 users and if that works correctly.
Soo this is a well know problem with com_gallery2 and mambo then ?
Any solution to get registred users in mambo to view the pictures without logging out first ?
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-03 15:05
fableman, a well known problem? i don't think so. besides, i'd really be grateful for any participation of someone who actually uses or develops the g2 mambo integration.
my guess: either you're using an obsolete version of the integration code or it's a platform specific problem.
try reinstalling the integration code and before: empty the g2_externalidmap database table.
fableman
Joined: 2005-04-29
Posts: 25
Posted: Tue, 2005-05-03 15:42
valiant wrote:
my guess: either you're using an obsolete version of the integration code or it's a platform specific problem.
try reinstalling the integration code and before: empty the g2_externalidmap database table.
I just reinstalled the com_gallery2 and it works..
Thanks alot for the help and support!
/cheer
valiant
Joined: 2003-01-04
Posts: 32509
Posted: Tue, 2005-05-03 15:49
at last!
skuba
Joined: 2004-05-06
Posts: 103
Posted: Tue, 2005-05-03 18:58
Great news.
Is there a integrated version of MAMBO, G2 and PHPBB?????
I think this is the basic for any community...CSM, Gallery and Forum...
It's so hard to find a good solution to have all of the three.
Posts: 164
That's true aravot. I haven't messed with it at all. I'll give it a look too.
Posts: 25
Mambo 4.5.1a Stable
Downloaded the G2 mambo integration from this topic (the latest one)
The Gallery installation was working just fine and I could login as admin and see the admin stuff.
Then I installed the com_gallery2
Made sure all settings was ok
Turned on Mirroring users.
I created a menu item pointing the the component gallery2
Here starts my problems..
The menu item pointing to the gallery component2 is just showing a balnk page.
this my settings:
Full Path to Gallery G2: /home/lov/public_html/gallery2/
Relative path to Gallery G2: ../gallery2 ( tried uisng ./gallery2 aswell)
Path to Mambo: /
embedUri: index.php?option=com_gallery2
anything i try with patch still gives me a blank page.
The user admin in gallery got mirrored with mambos admin and lost all admin access, when I login into gallery2 with admin and dont see any admin stuff.
(I login from the page www.mysite.com/galley2/)
I really need help with this,,, thx
Posts: 196
fableman,
Found this in another thread today.
Posts: 32509
and it should be fixed by now. you'll have to get the current nightly snapshot or cvs update.
Posts: 25
I just reinstalled it all now and first thing I did was to create an admin2 and made him member of administrators
The problem nwo is..
From mambo I see the tumbnails but I cant show the full picture.
It just give me blank page
Posts: 32
would it be possible to add a mambot to the the power combination between gallery and mambo?
Is it someone already trying to develop it?
I think it should be very interesting!!
Posts: 5
hi all,
i just did a fresh install of gallery 2 beta2. as soon as i open up components> Gallery 2 i get this error:
Warning: Invalid argument supplied for foreach() in /var/www/html/administrator/components/com_gallery2/admin.gallery2.php on line 60
how to fix?
Posts: 32509
mx, either you have some corrupted gallery files or you are using a php accelerator / cache.
- make sure that there are no missing/modified files in the installer step "systemcheck step".
and reupload all missing/modified files
- if that is not the problem, you probably are using a php cache (ioncube PHPA, turk mm cache, zend accelerator / studio, eaccelerator) and its cache needs to be flushed.
Posts: 5
how do i go about flushing the cache?
also is there a way i can merge the mambo/smf users with gallery users?
EDIT:
When installing component in mambo it says
"If you want to use pass-through user authentication, be sure to run the initialisation option before using the component!"
where do you initailize the option?
Posts: 32509
mx, if you can't access site admin -> maintenance, try yourgalleryurl/lib/tools/test/
hit flushcache, flushtemplatescache.
and as i said, make sure there are no modied/missing files.
Posts: 5
im going to go back to beta 1. ever since i have switched to beta2 i get nothing but errors. even flushing cash and trying to initalize i get errors.
Posts: 32509
mx, your choice. but it has nothing to do with beta 2.
Posts: 25
Gallery2
I have the latest CVS (installed from cvs date:2005-05-02 (today))
I have the latest Gallery2 component for mambo
Mambo 4.5.1a Stable
I can see tumbnail from mambo and gallery name and all.
But I cant see the picture when I click on the tumbnail.
Having this problem a few days now and I really need some help..
Full Path to Gallery G2: /home/lov/public_html/test2/gallery2/
Relative path to Gallery G2: ./gallery2
Path to Mambo: /
embedUri: index.php?option=com_gallery2
Login page redirect: index.php
Display G2 Sidebar: No
Display G2 login: No
Use mirrored user logins: Yes
Run user setup script: No
Enable auto-album creation: Yes
Posts: 25
This is the error from the httpd error log:
[client x.x.x.x] PHP Fatal error: Call to undefined function: getorderby() in /home/lov/public_html/test2/gallery2/modules/core/classes/helpers/GalleryChildEntityHelper_simple.class on line 480, referer: http://www.mysite.com/index.php?option=com_gallery2&Itemid=53
Posts: 32509
that's strange.
can you post more info? like activating buffered or immediate debug mode in config.php and post the error stack etc.?
getorderby() is a getter for a member of the Albums. so if the supplied itemId to GalleryChildEntityHelper_simple::_getOrderInfo was an itemId for a non-album, we should have this problem.
Posts: 25
This get logged when I klick the tumbnail:
2005-05-02 13:57:54 [<no session id>] file_exists(/home/lov/public_html/test2/gallery2/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc)
2005-05-02 13:57:54 [<no session id>] fopen(/home/lov/public_html/test2/gallery2/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc, rb, 0)
2005-05-02 13:57:54 [<no session id>] fread(Resource id #58, 4096)
2005-05-02 13:57:54 [<no session id>] fread(Resource id #58, 4096)
2005-05-02 13:57:54 [<no session id>] fread(Resource id #58, 4096)
2005-05-02 13:57:54 [<no session id>] fclose(Resource id #58)
2005-05-02 13:57:54 [<no session id>] Unimplemented: GalleryUrlGenerator
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] file_exists(/home/lov/public_html/test2/gallery2/g2data/sessions/43723334380b25a869bb90e33e1a8163)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fopen(/home/lov/public_html/test2/gallery2/g2data/sessions/43723334380b25a869bb90e33e1a8163, rb, 0)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] feof(Resource id #69)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fread(Resource id #69, 4096)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] feof(Resource id #69)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fclose(Resource id #69)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] file_exists(/home/lov/public_html/test2/gallery2/g2data/cache/module/core/0/0/0.inc)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fopen(/home/lov/public_html/test2/gallery2/g2data/cache/module/core/0/0/0.inc, rb, 0)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fread(Resource id #78, 4096)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fclose(Resource id #78)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] [1115035074] can't guarantee 5 -- extending!
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] file_exists(/home/lov/public_html/test2/gallery2/g2data/cache/entity/0/1/16.inc)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fopen(/home/lov/public_html/test2/gallery2/g2data/cache/entity/0/1/16.inc, rb, 0)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fread(Resource id #86, 4096)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] fclose(Resource id #86)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] <hr>
(mysql):
SELECT
g2_Group.g_id,
g2_Group.g_groupName
FROM
g2_UserGroupMap, g2_Group
WHERE
g2_Group.g_id = g2_UserGroupMap.g_groupId
AND
g2_UserGroupMap.g_userId = 15
ORDER BY
g2_Group.g_groupName
LIMIT 18446744073709551615 & <code></code>
<hr>
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] <hr>
(mysql):
SELECT
g2_PermissionSetMap.g_module,
g2_PermissionSetMap.g_permission,
g2_PermissionSetMap.g_description,
g2_PermissionSetMap.g_bits,
g2_PermissionSetMap.g_flags
FROM
g2_PermissionSetMap
& <code></code>
<hr>
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] realpath(/home/lov/public_html/test2/gallery2/modules/core/classes/../../..)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] Binding text domain: modules_core -> /home/lov/public_html/test2/gallery2/modules/core/locale
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] realpath(/home/lov/public_html/test2/gallery2/modules/core/classes/../../..)
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] Binding text domain: modules_comment -> /home/lov/public_html/test2/gallery2/modules/comment/locale
2005-05-02 13:57:54 [43723334380b25a869bb90e33e1a8163] <hr>
(mysql):
SELECT DISTINCT
g2_AccessMap.g_accessListId
FROM
g2_AccessMap
WHERE
(g2_AccessMap.g_userId = 15
OR
g2_AccessMap.g_groupId IN (4, 2))
AND
g2_AccessMap.g_permission & 1 = 1
& <code></code>
<hr>
Posts: 32509
and the stack trace?
Posts: 25
how do I do that ?
Posts: 32509
when an error occurs in G2, you alway get a stack trace (error ... in file ... called in file ... etc.). disable debug mode and the error you see then, that's the stack trace.
Posts: 25
Humm not sure where I should see this, cos I only see a blank page in internet explorer when i click on the tumbnail.
and when I view source of that blank page is see:
<table width="100%" cellpadding="4" cellspacing="0" border="0" align="center" class="contentpane">
<tr><td>
Or should I see the error somewhere else ?
Posts: 32509
then we are back to this:
what about your G2 standalone, does it work correctly?
Posts: 25
yes my G2 installation is working just fine.
Posts: 32509
can you post urls to your standalone and embedded G2?
the only reason i could think this happens is because of the itemId in the url of the mambo integration. but this works for everyone else...
Posts: 25
sure
Posts: 32509
you could have mentioned that mysite.com is not your domain and this is just an example domain...
and it works for other itemIds ?
and is your website on your personal computer or why can't you post the real url?
Posts: 3
Hi @all,
I do have a problem with the links and images inside the sidebar of mambo. If I am just in root of the Domain everything is ok but when I do moce to another URL of Mambo following error does occure:
http://www.bessieundmarkus.de/index.php?option=com_content&task=blogsection&id=0&Itemid=9index.php?option=com_gallery2&g2_view=slideshow:Slideshow&g2_itemId=7&g2_GALLERYSID=43bc35ea7555939c5131e7b5e6c4a242
As you can see he just puts the gallery embed url after the current url of the mambo page instead of just adding it after the domain. So all configuration changes I made where ok, can anybody help me to fix this?
See:
- correct http://www.bessieundmarkus.de
- with the error: http://www.bessieundmarkus.de/index.php?option=com_content&task=blogsection&id=0&Itemid=9
Posts: 32509
markus.wilhelm, i guess your G2 version / mambo integration is out of date.
The newest code shouldn't have this problem.
Use [kings]Egg mambo integration.
I just looked at the code of the random block mambo module. I guess this won't work in any case.
KAC / aravot should use GalleryEmbed::getImageBlock and not this url style.
Posts: 61
Valiant, I am not a coder have no clue of coding I only wanted random picture from gallery on the main page and not the whole extra sidebar stuff, so I started asking and coded that one.
Posts: 32509
aravot, np. It's just a note that this could be extended...
Posts: 61
I am working on it to have the ability to:
turn on/off g2_show - title, date, views, owner, heading, fullSize
select between g2_blocks - randomImage, recentImage, viewedImage, randomAlbum, recentAlbum, viewedAlbum, dailyImage
but before all that I am trying to have it open wrapped inside the mambo,
As I said I am not a coder, I read tutorials, ask at various user groups, open other programs go through the code, so it may take a while.
Posts: 5
hi all,
i am getting this error:
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 19473 bytes) in /var/www/html/gallery/lib/smarty/Smarty_Compiler.class.php on line 213
im guessing that i need to change some sort of setting for the memory? what setting? i wrote the .htaccess file on the gallery root of the server cause im using apache. any ideas?
Posts: 32509
if you get this only in embedded mode, then this .htaccess should be located at the root dir of mambo. but 8mb is few, you should rise it also for g2 standalone
better yet, change the value in php.ini (if you have (root) access to the server).
create a .htaccess with the following line and put it into the mambo root:
php_value memory_limit 16M
Posts: 8601
FAQ Gallery:c.16
Posts: 3
Thanks for the hint, but that is just the download of the first page from this thread, so I expected this is the lates version. Where to find the actual download you mentioned above?
Thanks for your help.
-----------------------EDIT-------------------------------------
Well I found the place and updated everything, so just uploaded the files to the specific directories modules and component:
* $Id: mod_galleryside.php,v 1.1 2005/04/04 22:12:05 andy_st Exp $
This is the version I am using now and nothing changed. There is the URL of the current page displayed in Mambo and the the Gallery embed URL is just added at the end. For me it just looks like there is the wrong variable in front of the embed URL.
I do have a local installation on my XP system and this reactes a little bit different. I just tried to find the place inside the gallery code where this url are created but did not find it yet.
Posts: 25
Sorry about that, here is the live urls..
G2: http://www.lov-wow.com/test2/gallery2/main.php
Mambo integration not working: http://www.lov-wow.com/index.php?option=com_gallery2&Itemid=53
Posts: 61
fableman, if you want PM me admin access, I'll have a look no guarantees though
Posts: 25
No, I dont give out admin access to ppl I dont know.
Tell me what to look for.
Posts: 25
humm I forgott that only registred users can see that page..
now I have a test button on www.lov-wow.com
Posts: 32509
fableman, i'm quite sure you forgot to add &Itemid=54 to your embedUrl.
If i visit
, it works.
if i visit
i get an error.
so easy fix: change your embedUri.
Posts: 25
If I visit
http://www.lov-wow.com/index.php?option=com_gallery2&Itemid=54&g2_view=core:ShowItem&g2_itemId=16
I still see a blank page..
(now embedUri: index.php?option=com_gallery2&Itemid=54)
Posts: 32509
it works perfectly for me. see the attached screenshot. if you log out from mambo and delete your cookies, it should be working for you too.
so this next issue your having has something to do with the admin user or something like that. i guess you can solve that on your own.
Posts: 164
aravot,
You may want to have a look at this thread. I think their working on the coding stuff including the stuff valiant is recommending.
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=29099
Posts: 32509
KAC, right. actually, only the last post of the thread KAC is linking to is relevant.
http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&p=136526#136526
all possible parameters for the getImageBlock() function are described in modules/core/classes/GalleryEmbed.class (formerly in embed.php).
In xaraya, I created a small web form in the admin section, similar to the random / popular config in G2, where you can define the parameters.
Posts: 25
Now I see the picture aswell, BUT... Only when iam not logged into the page.
If I login to the mambo as a registred user then I cant see the pictures..
even when i giving my test user: test "View all versions" permission he cant see anything..
(inside G2 permission menu)
My Group Permissions:
Group name Permission Action
Everyone [core] View all versions
All Users [core] View all versions
User Permissions
User name
test [core] View all versions
Whats wrong I dont see that my group permission is wrong... why is only picture showing up for the visitors but not for my registred users ..?[/code]
Posts: 32509
fableman, it has nothing to do with G2 permissions. it has to do with how mambo users are mapped to G2 users and if that works correctly.
Posts: 25
Soo this is a well know problem with com_gallery2 and mambo then ?
Any solution to get registred users in mambo to view the pictures without logging out first ?
Posts: 32509
fableman, a well known problem? i don't think so. besides, i'd really be grateful for any participation of someone who actually uses or develops the g2 mambo integration.
my guess: either you're using an obsolete version of the integration code or it's a platform specific problem.
try reinstalling the integration code and before: empty the g2_externalidmap database table.
Posts: 25
I just reinstalled the com_gallery2 and it works..
Thanks alot for the help and support!
/cheer
Posts: 32509
at last!
Posts: 103
Great news.
Is there a integrated version of MAMBO, G2 and PHPBB?????
I think this is the basic for any community...CSM, Gallery and Forum...
It's so hard to find a good solution to have all of the three.
Any suggestions???
Thanks