Loading...
 
Skip to main content

Architecture / Installation


Can't install TikiWiki on a shared hosting environment

Hi:

I'm trying to install TikiWiki in a shared hosting environment (www.bizland.com) and I'm having trouble. I hope someone can help me.

I've installed it successfully on my local development server (a Windows laptop) in order to try it out and it works fine. Now, I want to install it on the Web on a live site and it won't work. My guess is that it's because it's a UNIX server and the permissions haven't been set correctly.

SYMPTOM:
When I run the install script: (tiki-install.php) I get the page which asks me for the database server, name, login and password, which I enter. Then I get the screen asking me which profile to use. When I select "BasicEnabled" and "Install" I get the following error:
----
"Security Alert!
The Tiki installer can be used only by the site administrator. Please enter the database credentials as a verification. If you forgot about them, they are located in 'db/local.php'"
----

When I re-enter the credentials, It goes back to the profile selection and then back to the "Security Alert" etc, etc.


PROCESS:

Here's what I did:

1. FTP the "virgin" code to the server (completed successfully)
2. Create an empty MySql database on the server (completed successfully)
3. Set the file permissions using "setup.sh". Here's where I think the trouble lies. Because it's a remote shared host, I couldn't figure out how to run the "setup.sh" file so I created a PHP file to execute it. Here is the content of the PHP file:

----

----

(the result of the "Print_r" command is null)

Can anyone suggest what I'm doing wrong?

Thanks so much.

Oops, the PHP code was disallowed... Basically the only pertinent line in the PHP file to execute setup.sh is as follows:
........exec('setup.sh', $output);
........print_r($output);
Thanks


Sorry to bother everyone.

A little more thinking suggested it was a problem with initiating a session. Once I figures that out, the install worked fine

Thanks for your time