<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Forum posts to 'Archive'</title>
		<link>http://www.silverstripe.org/archive/rss</link>
		<atom:link href="http://www.silverstripe.org/archive/rss" rel="self" type="application/rss+xml" />
		<description></description>

		
		<item>
			<title>Re: Clicking on the uploads directory in Files &amp; Images gives a 404 page not found error</title>
			<link>http://www.silverstripe.org/archive/show/84637?start=0#post116658</link>
			<description>&lt;p&gt;I've solved tha last few problems, and posted installation instructions &lt;a href=&quot;http://www.silverstripe.com/site-builders-forum/flat/116655?showPost=116655&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Clicking on the uploads directory in Files &amp; Images gives a 404 page not found error &lt;a href=&quot;http://www.silverstripe.org/archive/show/84637?start=0#post116658&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/84637?start=0#post116658&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 08 Jul 2008 13:47:04 +1200</pubDate>
			<dc:creator>HansR</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/84637?start=0#post116658</guid>
		</item>
		
		<item>
			<title>Re: Clicking on the uploads directory in Files &amp; Images gives a 404 page not found error</title>
			<link>http://www.silverstripe.org/archive/show/84637?start=0#post104335</link>
			<description>&lt;p&gt;There are some additional problems. *Sigh*&lt;/p&gt;&lt;p&gt;The upload images section still wasn't working. For some reason, Silverstripe would prepend admin/assets/ to the submit URLs (amongst others), resulting once again in 404 errors. A URL might end up looking like:&lt;br /&gt;admin/assets/admin/assets/upload/submit/&lt;/p&gt;&lt;p&gt;If anyone has any idea as to why, please let me know. For now, I've added the following rules to the .htaccess file:&lt;br /&gt;RewriteRule (.*)/sapphire/(.*) /sapphire/$2 [L] &lt;br /&gt;RewriteRule (.*)/jsparty/(.*) /jsparty/$2 [L] &lt;br /&gt;RewriteRule (.*)/cms/(.*) /cms/$2 [L] &lt;br /&gt;RewriteRule /admin/assets/admin/assets/(.*) /admin/assets/$1 [L] &lt;/p&gt;&lt;p&gt;I might need to add one or two more, as I also get the odd page-save error too. &lt;/p&gt;&lt;p&gt;Hans&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Clicking on the uploads directory in Files &amp; Images gives a 404 page not found error &lt;a href=&quot;http://www.silverstripe.org/archive/show/84637?start=0#post104335&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/84637?start=0#post104335&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Tue, 24 Jun 2008 01:06:08 +1200</pubDate>
			<dc:creator>HansR</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/84637?start=0#post104335</guid>
		</item>
		
		<item>
			<title>Re: Clicking on the uploads directory in Files &amp; Images gives a 404 page not found error</title>
			<link>http://www.silverstripe.org/archive/show/84637?start=0#post89498</link>
			<description>&lt;p&gt;Just letting you all know that I finally figured out what was causing the problem. The Silverstripe CMS' main entry file, sapphire/main.php, has the following in line 149:&lt;br /&gt;$baseURL = dirname(dirname($_SERVER['SCRIPT_NAME']));&lt;/p&gt;&lt;p&gt;On the server that I'm using, this is supposed to return &quot;/&quot;, because that is the base at which I installed the CMS. However, with longer URLs, (e.g., sub-pages within security, assets, comments and blog links such as tags and archives), it appends the base directory of that page to $BaseURL. For example, the URL &quot;blog/tags/Google&quot; will set $baseURL to &quot;/blog&quot; instead of &quot;/&quot;. As a result, it fails to find the appropriate files, and returns an error. &lt;/p&gt;&lt;p&gt;I have hard-voded $baseURL = '/'; for now. &lt;/p&gt;&lt;p&gt;BTW, the provider that I'm using is &lt;a href=&quot;http://kiwihosting.net.nz/&quot;&gt;kiwihosting.org.nz&lt;/a&gt;. I'll add them to the list of providers that Silverstripe can be installed on, with instructions on how to do it, later.&lt;/p&gt;&lt;p&gt;Hans&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Clicking on the uploads directory in Files &amp; Images gives a 404 page not found error &lt;a href=&quot;http://www.silverstripe.org/archive/show/84637?start=0#post89498&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/reply/84637?start=0#post89498&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Wed, 11 Jun 2008 00:03:58 +1200</pubDate>
			<dc:creator>HansR</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/84637?start=0#post89498</guid>
		</item>
		
		<item>
			<title>Clicking on the uploads directory in Files &amp; Images gives a 404 page not found error</title>
			<link>http://www.silverstripe.org/archive/show/84637#post84637</link>
			<description>&lt;p&gt;Amongst a few other problems that I'm having, some of the admin pages are giving me 404 page not found errors. For example, clicking on uploads (or the main site right above it) causes this. The server log says:&lt;br /&gt;[05/Jun/2008:18:56:59 -0400] &quot;POST /admin/comments/showtable/unmoderated&amp;amp;ajax=1 HTTP/1.1&quot; 404&lt;br /&gt;(with the irrelevant bits removed)&lt;/p&gt;&lt;p&gt;Other pages that do this are:&lt;br /&gt;- clicking on the uploads tab in Files &amp;amp; images&lt;br /&gt;- Clicking on &quot;awaiting moderation&quot; in the comments page (or any other item in the list on the left side of the page&lt;/p&gt;&lt;p&gt;Any ideas on what is causing this? I've searched through the forums here but haven't found any solutions. &lt;/p&gt;&lt;p&gt;Hans&lt;/p&gt;&lt;br&gt;&lt;br&gt;Posted to: Clicking on the uploads directory in Files &amp; Images gives a 404 page not found error &lt;a href=&quot;http://www.silverstripe.org/archive/show/84637#post84637&quot;&gt;Show Thread&lt;/a&gt; | &lt;a href=&quot;http://www.silverstripe.org/archive/show/84637#post84637&quot;&gt;Post Reply&lt;/a&gt;</description>
			<pubDate>Fri, 06 Jun 2008 11:15:18 +1200</pubDate>
			<dc:creator>HansR</dc:creator>
			<guid>http://www.silverstripe.org/archive/show/84637#post84637</guid>
		</item>
		

	</channel>
</rss>