Paving the way for .NET in Tonga
| Browse in : |
All
> Soap Box
All > Soap Box > Chaos All > Soap Box > Low No Cost Tech All > Soap Box > OpenBSD Any of these categories - All of these categories |
The 1st major disaster was Gallery2 2.3svn just failing to login, and there's a lot of new magic with the passwords, but there were also problems with just getting the database files working correctly.
Following no original plan, but with two thoughts in mind, I disastered that I was going to make a clean install. The two problems with the previous installation was:
After quite a bit of hocus pocus, and a great deal of time trying to avoid a full new installation with the current svn code, we now have 2.2 Branch svn being used and since there's a way to switch to 2.3 when it is stable we'll go that route from now on.
Why was I on svn anyway? Because of those security faults that can wipe out your server. Now that I've learned how to use branches and switch between branches using the svn code repositories, I can be secured as soon as the code is updated instead of having to wait for a binary release etc. etc. etc.
Next problem was my Gallery Remote failing again, but fortunately we knew about that problem from previous reinstalls so we just had to find it on the web as shown below.
Gallery2 and Gallery Remote Issues
I was trying to get Gallery remote to work… but kept getting an error saying that it couldn’t find gallery_remote2.php. After searching the Gallery forums for a few I foudn a few things, and it fixed the problem.
You need to find the “GalleryRemote.properties”, mine was located at “C:Documents and SettingsShelby.GalleryRemoteGalleryRemote.properties”. Open that file and add “forceGalleryVersion.n=2″ to the top line and then save it,
Next create a file named “gallery_remote2.php”, in that file add this following information.
< ?
header(”HTTP/1.0 404 Not Found”);
exit;
?>Save that file and upload it to your gallery2/ directory and then you should be all set to use the gallery remote.
Also @ the codex
The interesting side-effect of having this problem, is that I've finally moved the Gallery2 installation away from the single database together with the Xaraya installation. With the current setup, I can now readily backup the databases separately (smaller files for transfers.)
Lakys post on Gallery2 Forums - Xaraya + G2
Lakys
Joined: 2005-06-26
Posts: 53I don't know whether it could help anyone, but I think it should be mentioned here.
I was finalizing my website using an integration between G2.2.1 and Xaraya 1.1.3 and had an issue I could finally fix.
Description of the issue:
G2 and Xaraya were working fine for anonymous, (some) old and admin users.
New (and some other) users could not see the image block.
Access to the G2 module in Xaraya causes an exception (Module function roles_user_register does not exist.) because of a redirection from G2 to a missing register function in Xaraya.Explaination:
User synchronization code was working fine. However, for some reasons, user created in G2 were not added to the G2 Everybody group.
It results them to have mostly no right to do anything and the errors encountered.Fix:
In gallery2 folder in xaraya, add at line 250 in file xargallery2helper.php$ret = GalleryEmbed::addUserToGroup($uid, $xarEverybodyGroup['uid']); if ($ret) { $msg = xarML('Failed to add g2 user with extid [#(1)] to g2 everybody group', $uid); xarErrorSet(XAR_SYSTEM_EXCEPTION, 'FUNCTION_FAILED', new SystemException($msg)); return false; }It is entirely possible that the problem is only specific to my installation (and multiple upgrades of G2 and Xaraya).
There are no comments attached to this item.
Ratings