Loading...
 
Skip to main content

Architecture / Installation


You have to enable cookies to be able to login to this site

Hi,

Im trying to install Tikiwiki 1.9.2 and im having some problems. Im installing on a webserver which i can only access via FTP/SSH and only as a normal user.

Installation went like this:

1. Tried to just copy it to my public_html dir and visit it, asked me to run a setup script
2. Tried running setup script, complained about write permissions, fixed that
3. Set up MySQL database successfully
4. Logged in as admin and added another user

If i use the browser(IE) i used during the installation i can login, but if i try any other browser(ie firefox, opera, or from another machine) i get the messsage:
'You have to enable cookies to be able to login to this site' even though that hardly seems applicable.

I tried redoing the installation from another machine to another users public_html dir on the server using firefox and a new database, and the exact same happens, however this time it works in Firefox and not Opera and IE, so i think basicly the cookie is correctly set only in the browser used for installing it.

I tried looking in "Tiki Logs" but there is no information at all about the failed login attemps, only info on the succesful ones.

Could anyone give em an idea as to what might cause this so i can fix it?

Thanks for reading.

UPDATE: I tried clearing the cookies on the first machine where IE worked, and now it stopped working giving the same error.

phpinfo() gives session.name as PHPSESSID .

However i notice looking in the cookie set in firefox, that the path seems a bit weird, TikiWiki is installed in /people//tw, but the cookie has /%7E/tw as path, can that cause problems?


I don't know why it is like this in tikiwiki but the sessionname must be PHPSESSID.
Check the name through phpinfo

sylvie

> I don't know why it is like this in tikiwiki but the sessionname must be PHPSESSID.
> Check the name through phpinfo
>
> sylvie

phpinfo() gives session.name as PHPSESSID .

However i notice looking in the cookie set in firefox, that the path seems a bit weird, TikiWiki is installed in /people//tw, but the cookie has /%7E/tw as path, can that cause problems?

Ooops, i cant seem to edit messages in this forum?

Anyway the paths above should have been /people/name/tw and /%7Ename/tw.

Sorry about the posting mess, but i cant edit or delete it seems.

I tried reinstalling TikiWiki and noticed that hte first(and only working) cookie set has path /, while all the others gained afterwards on other computer or browsers have the broken path.

Any ideas on how to fix this? Or could someone point to where this cookie is set in the code?