Login script virker stadigvæk ikke..... www.sukos.dk
Fortsættelse af http://www.eksperten.dk/spm/294339Jeg har reinstaller mit php version 4.4.0 samt min apache server: apache_2.0.43-win32-x86-no_ssl.
Jeg har fulgt guiden:
http://www.php.net/manual/en/install.apache2.php
Det vil sige at nu:
Ligger der en php.ini fil i mit c:\windows
Og en php4ts.dll fil i mit c;\windows\system32
Jeg har lavet det der hedder PHP and Apache 2.0 as Module:
Så jeg har tilføjet disse to linier i min httpd.conf fil.(Bare sidst i filen)
LoadModule php4_module c:/web/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php
i min php.ini fil har jeg sat følgende
session.save_path = c:/windows/temp (jeg har prøvet både med '/' og '\' tegene)
Men det virker endnu ikke! Følgende fejl fåes:
Warning: session_start() [function.session-start]: open(/tmp\sess_f60c9c69767ad4fc3272c688e8d39298, O_RDWR) failed: No such file or directory (2) in C:\Web\apache\Apache2\htdocs\mysql-login\dologin.php on line 3
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Web\apache\Apache2\htdocs\mysql-login\dologin.php:3) in C:\Web\apache\Apache2\htdocs\mysql-login\dologin.php on line 3
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Web\apache\Apache2\htdocs\mysql-login\dologin.php:3) in C:\Web\apache\Apache2\htdocs\mysql-login\dologin.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at C:\Web\apache\Apache2\htdocs\mysql-login\dologin.php:3) in C:\Web\apache\Apache2\htdocs\mysql-login\dologin.php on line 25
Warning: Unknown(): open(/tmp\sess_f60c9c69767ad4fc3272c688e8d39298, O_RDWR) failed: No such file or directory (2) in Unknown on line 0
Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0