Re: Re: Re : windows, tikiwiki 1.8, no login
hello (again) 🙄
so i changed the php.ini settings:
magic_quotes_gpc = Off
doc_root =
;open_basedir =
session.name = PHPSESSID
now it works!
when changing the admin password there is an error at the bottom:
Warning: fopen(/tmp/tikidebug): failed to open stream: No such file or directory in C:\wwwroot\cms\tikiwiki-1.8\lib\search\refresh.php on line 44
there is some hardcoded path in there that needs some twaeking (dont know if browser-dependant, easyPHP and IE did not show that warning; my famous installation and firefox show it).
the forum mentioned (invisionboard) still works (the setting was used during the conversion from another forum). anyway it sets its properties by calling:
error_reporting (E_ERROR | E_WARNING | E_PARSE);
set_magic_quotes_runtime(0);
and stuff so there is no new trouble 😎 (except the missing /tmp folder in windows, but i am gonna claim for one at microsoft 😁)
thanks for your help! 😊
edit:
session.name = PHPSESSID might cause th problem!
in tiki-login.php:
// Alert user if cookies are switched off
if (ini_get('session.use_cookies') == 1) {
if(!isset($_COOKIE'PHPSESSID')) {
$url = 'tiki-error.php?error=' . urlencode'You have to enable cookies to be able to login to this site';
header("location: $url");
die;
}
}
so you assume the cookie-name (which i changed) to be 'PHPSESSID'. not the biggest bug ever. i agree 😉