<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ejs &#187; Gallery2</title>
	<atom:link href="http://ejs.seniejitrakai.net/tag/gallery2/feed/" rel="self" type="application/rss+xml" />
	<link>http://ejs.seniejitrakai.net</link>
	<description>a snaphot of time</description>
	<lastBuildDate>Tue, 15 Jun 2010 23:06:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to start multisite Gallery2 on Debian</title>
		<link>http://ejs.seniejitrakai.net/2009/07/11/how-to-start-multisite-gallery2-on-debian/</link>
		<comments>http://ejs.seniejitrakai.net/2009/07/11/how-to-start-multisite-gallery2-on-debian/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 06:35:00 +0000</pubDate>
		<dc:creator>ejs</dc:creator>
				<category><![CDATA[*NIX]]></category>
		<category><![CDATA[My job]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Gallery2]]></category>

		<guid isPermaLink="false">http://ejs.seniejitrakai.net/?p=45</guid>
		<description><![CDATA[I had a little disc and database crash, so the site was not updated recently. Well, WordPress was updated easily, but i had problems with Gallery2. I need a multisite deployment of Gallery2. Although it is supported from the installer, some important steps are missing. In order multisite Gallery2 to work, you will need to [...]]]></description>
			<content:encoded><![CDATA[<p>I had a little disc and database crash, so the  site was not updated recently.</p>
<p>Well, WordPress was updated easily, but i had problems with Gallery2.</p>
<p>I need a multisite deployment of Gallery2. Although it is supported from the installer, some important steps are missing.</p>
<p>In order multisite Gallery2 to work, you will need to add some symlinks to every deployment of the Gallery2:</p>
<p><span id="more-45"></span></p>
<ul>
<li> lib -&gt; /usr/share/gallery2/lib/</li>
<p>The directory is providing some scripts amongst all, so without it you will lack some functionality, like enabling themes will not work.</p>
<li> modules -&gt; /usr/share/gallery2/modules</li>
<li> themes -&gt; /usr/share/gallery2/themes</li>
<p>The themes directory is providing CSS file, so without this your gallery will look &#8220;flat&#8221;.</ul>
<p>Also, you can try to use &#8220;php_admin_flag safe_mode Off&#8221; in the Apache&#8217;s VirtualHost description, in the case PHP safe mode is turned on globally.</p>
<p>And yes, beware: do not ever mix web directory and data directory: the content of web directory is erased during install.</p>
<p><code># date<br />
Sat Jul 11 10:34:07 EEST 2009<br />
# dpkg -l |egrep gallery2<br />
ii  gallery2                          2.3-1                       web-based photo album written in PHP<br />
</code></p>
<p> The fresh issue: after fresh install (Gallery&#8230; deb), no one is able to login. The solution is explained <a href="http://gallery.menalto.com/node/76322">here</a> &#8211; you should set <code>$gallery->setConfig('baseUri', '');</code> in &#8216;config.php&#8217;.</p>
<p> Again, having both left hands, i was unable to start multisite version of Gallery2, using install scripts. What i had to change was:</p>
<ol>
<li>remove &#8216;lib/&#8217;</li>
<li>symlink &#8216;lib/&#8217; , &#8216;modules/&#8217; , &#8216;themes/&#8217; from &#8216;/usr/share/gallery2&#8242; to site root</li>
<li>symlink or copy and alter &#8216;images/&#8217; from &#8216;/usr/share/gallery2&#8242; to site root</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://ejs.seniejitrakai.net/2009/07/11/how-to-start-multisite-gallery2-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
