We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

My manual installation guide [Open discussion] | Forum

Eduard Veganski
Eduard Veganski Jan 16 '13
I thought I'd share how I solved my installation issues, which included 500 errors, redirect loops etc. Version 1.5.1. Browser used Firefox.


Pre-installation:


- Made sure PHP settings allow url_fopen;

- Made sure my database info is correct.


Installation:

1. Uploaded the installation zip file and then unippzed it using my provider's control panel.


2. Before starting installation I added the following lines to .htaccess file located in the root:


RewriteBase /

RewriteCond %{REQUEST_URI} .*/http-bind

RewriteRule (.*) /http-bind [L]


And changed Options +FollowSymLinks to Options +SymLinksIfOwnerMatch, so my final .htaccess looks like this:


=========== .htaccess start ============


Options +SymLinksIfOwnerMatch

RewriteEngine On

RewriteBase /


AddEncoding gzip .gz

AddEncoding gzip .gzip

<FilesMatch "\.(js.gz|js.gzip)$">

  ForceType text/javascript

</FilesMatch>

<FilesMatch "\.(css.gz|css.gzip)$">

  ForceType text/css

</FilesMatch>


RewriteCond %{REQUEST_URI} .*/http-bind

RewriteRule (.*) /http-bind [L]


RewriteCond %{REQUEST_URI} !^/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/index\.php

RewriteCond %{REQUEST_URI} !/ow_updates/

RewriteCond %{REQUEST_URI} !/ow_cron/run\.php

RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.xml|\.feed|robots\.txt|\.raw|/[^.]*)$  [NC]

RewriteRule (.*) index.php


=========== .htaccess end =============================


3. Started installation mydomain.com/install


4. When it asks you copy and change ow_includes/config.php file make sure the first line of the code i.e.


define('OW_URL_HOME', 'http://www.mydomain.com/');


shows the actual domain in single quotes. Sometimes it would have a variable instead of the domain i.e. $site_url, so if this happens change it to your domain name.


4. When it asks you to add plugins DO NOT add any of them, just press Finish. Then login as administrator and add plugins one by one via admin dashboard. If you get 500 error after clicking Finish, just start over again by going to www.yourdomain.com/install, follow all steps again and the second time's the charm i.e. it should work.


5. And also at some point I've changed permissions to 0777 to ow_static, ow_pluginfiles, ow_userfiles, I think as soon as I unzipped them.



Hope it helps.

The Forum post is edited by ross Nov 19 '13
Helike
Helike Jan 17 '13
Your magic htaccess made my engine works correctly again!

Now I know why the update button never appers to me!

Thank you!

Ebony Wood
Ebony Wood Sep 7 '13
Really good tips here. I had experienced the same Oxwall Installation Problem.
Instead of oxwall finishing the install it kept redirecting infinitely like so at the browser address http://www.install/{$site_url} install/{$site_url}install/{$site_url}........and on and on. 
oxwall redirect. When I looked into the config.php file i realized that the config.php file had the variable "{$site_url}" instead of my domain name. Also my server did require the "rewrite base /" command in the .htaccess file. Your Tutorial helped me a lot. good job Eduard veganski. I had already spent over 30 minutes trying to figure out what was wrong.
ross Team
ross Sep 9 '13
Eduard, thank you for the feedback
Benil
Benil Mar 26 '16
Thank you very mach, it's work perfectly. Goooooooooooooooooooood