CMS Integration
michelv
Joined: 2005-01-20
Posts: 17 |
![]() |
Well, I did it the hard way Is there a way to clear caches withing Gallery2? I cannot delete them from my server, because that sets the data dir to owner www-data... Anyways... I love the module. It is really just what I need, hope more people will test and use it! We could do some advertisement in Xaraya. I could submit the module overview as a doc? Michel |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
good to hear! thank you for testing I will announce the module when the time has come ;) want a little more testing and i know that some things will change in G2 related to short urls in the very near future. deleting caches in g2: if you want to empty a g2data directory (and lose all your G2 data) and you have no shell root access and if the dirs/files are owned by the webserver user, then... |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
maybe I should explicitely delete the cached entities etc. during the synchronization, that may have fixed your problem. i'll experiment a little. |
|
michelv
Joined: 2005-01-20
Posts: 17 |
![]() |
ok, thanks for the delete script. That helped ;) Pretty dangerous thing... Thanks for all your work! Michel |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
elarkin, thanks for access. i suspect it was the same issue as with michelv. i made a clean install and it works now on your webhost. |
|
elarkin
Joined: 2005-02-08
Posts: 18 |
![]() |
everything is working 100% now even the Fput and fget errors are now gone Thank you soooo very much Valiant! |
|
elarkin
Joined: 2005-02-08
Posts: 18 |
![]() |
Bad news... Everything was working perfectly until I had my wife create a new account in Xaraya she then logged in and everything seemed to be ok except when she clicked on the Photo Gallery link she was sent directly to the main.php of gallery2 and gallery 2 without Xaraya wrapped around it gave her an error. I went into the admin section and tried to sync up the users for xaraya and G2 and I got this: System Error Failed to update G2 user with extId [9]. Here is the error message from G2: <br /> [<div> (gallerystatus::error) (mysqldatabasestorage::_identifyentities) (mysqldatabasestorage::loadentities) (gallerystorage::loadentities) (galleryentityhelper_simple::loadentitiesbyid) (galleryentityhelper_simple::loadentitybyexternalid) (gallerycoreapi::loadentitybyexternalid) (galleryembed::updateuser) (xargallery2helper::g2updateuser) (xargallery2helper::g2xarusergroupimportexport) </li> </li> </li> The function executed correctly, but the result was a failure. at g2updateuser(xargallery2helper.php:349) Array (gallerystatus::error) (mysqldatabasestorage::_identifyentities) (mysqldatabasestorage::loadentities) (gallerystorage::loadentities) (galleryentityhelper_simple::loadentitiesbyid) (galleryentityhelper_simple::loadentitybyexternalid) (gallerycoreapi::loadentitybyexternalid) (galleryembed::updateuser) (xargallery2helper::g2updateuser) (xargallery2helper::g2xarusergroupimportexport) </li> </li> </li> [product] => ) at gallery2_admin_updateconfig(updateconfig.php:82) Array [pass] => 0ac1ce9ac00969bdd395f3ec4c00aca1 ) at xarmodfunc(xarMod.php:871) Click here to raise a bug now when I click on my gallery link it tells me its not configured and I can not get passed this error above to get the module reinstalled. Ed |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
elarkin, thanks for the report. |
|
elarkin
Joined: 2005-02-08
Posts: 18 |
![]() |
Valiant, No need to apologize to me, you are the one doing all the hard work, I appreciate what you and every other developer does. I wish I could help more. If you need access to my site again Ill be more than willing to grant that access BUT only for you to test the application I would preffer to set up all my applications myself as I would feel like a leech if you were to set up my gallery again. thanks again, |
|
elarkin
Joined: 2005-02-08
Posts: 18 |
![]() |
Ok managed to fix the above mentioned problem. I manually deleted your account form mysql and then recreated your account through xaraya and then was able to get Modules ==> Gallery2 ==> Modify Config to work correctly Now im back to this error and think I just need to reinstall gallery: The following lines were printed in raw mode by module, however this should not happen. The module is probably directly calling functions like echo, print, or printf. Please modify the module to exclude direct output. The module is violating Xaraya architecture principles. this is due to header already being sent error coming from gallery2. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
Ah, you deleted an account in xaraya. Please inform me on all such events when reporting an error. As you can read in the bugs/known issues section of the readme, user deletion isn't supported ATM, because of a unfixed xaraya bug. the xaraya developers promised me to fix the user deletion bug before xaraya 1.0, it's in the 1.0 blocker list. I'll see if i can handle this more gracefully until xaraya is ready and if other bugs on my part are involved. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
New xaraya integration available, but I didn't increase the version number. Quote:
- Included note that G2 short urls are no longer supported when embedded xaraya, while xaraya short urls are still supported. elarkin, get the newest integration code. remove the gallery2 module in the xaraya modules admin view. delete all entries in your G2 db externalIdMap table. delete the valiant user in G2 db g2_users table. install/activate the gallery2 xaraya module. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
xaraya integration, small update: btw: the new version will only work with xaraya bk version from today, 2005/03/21, or newer. i.e. if you use the new integration module with an old xaraya version and you delete/purge/recall a role in xaraya, you'll get errors and the user base of G2 and xaraya will be out of sync afterwards. |
|
New10
Joined: 2005-04-07
Posts: 12 |
![]() |
Community Builder 1.0 beta 4 for Mambo, at mambojoe.com, may be worth a look. I would love to see Gallery work with Mambo/Community Builder. |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
find a guy that knows mambo/community builder whatever and we will guide him if he has questions. G2 is ready for integration. there's even a mambo integration for G2, not finished, but it's working. all you need is a guy that finishes the job. |
|
michiel_1981
Joined: 2005-05-19
Posts: 430 |
![]() |
New10, What do you mean by Community Builder integration? thxs, |
|
mi1stormilst
Joined: 2004-02-12
Posts: 12 |
![]() |
Can any one point me in the right direction for embedding G2 into SubDreamer? I have resorted to begging... http://gallery.menalto.com/index.php?name=PNphpBB2&file=viewtopic&t=35703 |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
mi1stormilst, same directions for you as for everyone who asks. |
|