Loading...
 
Skip to main content

Architecture / Installation


2.2 Installation Problem - Getting "Security Alert" Loop during installation

Hello,

This is the first time setting up tikiwiki and have run into an early snag. I have created a new mySQL database using my web server provider's vdeck control panel. I have copied over all of the files for tikiwiki, and have started through the tiki-install.php setup. After entering my DB information, I get to the "Welcome to the Installation Script!" page. Everything is going great until I pick and option and click install. I will get the following:

''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'

Database username:

Database password:''

I am positive that I am putting in the right login information for the DB (It does match local.php). When I click Verify, it will take me back to the Installation Script page again. This process will continue to loop repeatedly, thus I can not get any further. It must be connecting to the DB in some respect, because if I put in an invalid username/password, I will not get passed the Security alert page.

Info on my system:
My host is currently iPowerWeb
Type Debian
MySQL Version 5.0.45
Perl 5.8.8
PHP 4.4.7

I have searched all over for others having this issue, and so far have found one person, but no real answer. I think that the database is located on a separate server from the web server, if that makes any difference.

Anyone have any suggestions?

Thanks,
Tom

Just an update...

I went and looked at the code and decided to just change the function that was not letting me proceed temporarily...

function installer_is_accessible()
{
///if( ! isset( $_SESSION'accessible' ) )
/// return false;

return true;
}

I got it installed afte that change. I dod not really know what that function does. Enlighten me if you know.

Tom

Thanks!

Where might I find the session path? Is it "session.save_path"?

It looks like I have a custom php.ini file that I can adjust for my needs (A company is hosting the site for me, but it seems I can personally overwrite the ini file with what I need).

Also What should the permissions be?
I looked at my PHP.Sessions and it seems that it pointed at /var/phpsessions, while my dirstory for it was /phpsessions. I changed it and will give it a try.

And the issues continue...

I got everything setup in the DB. I get to the site, log in as admin, but can not get to any admin pages. If I attempt to go directly to tiki-admin.php, I get the password screen again because I do not have rights to the page.

What am I missing??

I have installed 2.2 twice, and have just finished installing 2.0 just to try it out. All the issues are the same.

I've got the same problem on my office PCs: I get the Security Alert loop. However on my home PC it works fine, with the same versions installed of everything, just a difference in the OS used.

My configuration is: MySQL 5.0.51, Apache 2.2.4, PHP 5.2.2. OS is WinXP Home (at home), where it works. And it is WinXp Pro and Win 2003 Server at the office (inside a domain), where it doesn't work.

Have you found how to fix this?

I've review php.ini, session.save_path, setting it to an existing folder, for instance C:\Windows\Temp. Everything works now.
It seems that the problem was that the folder must already exist, at least in my environment.

Thanks for your help.

Yes, the session.Save_path was the issue for me. I needed to edit it through my website control panel (vDeck).

My old default value ---> session.save_path = /var/php_sessions

What I set it to --> session.save_path = temp

...and it worked after that.

Tom