12. september 2002 - 19:18Der er
22 kommentarer og 2 løsninger
Fejlbeskrivelse...
Har fået ordnet min mySQL nu men nu får jeg følgende fejl i PHP hvad er det ??
Notice: Undefined variable: lifetime in e:\http\apache\postnuke\html\includes\pnSession.php on line 86
Warning: Cannot send session cookie - headers already sent by (output started at e:\http\apache\postnuke\html\includes\pnSession.php:86) in e:\http\apache\postnuke\html\includes\pnSession.php on line 199
Warning: Cannot send session cache limiter - headers already sent (output started at e:\http\apache\postnuke\html\includes\pnSession.php:86) in e:\http\apache\postnuke\html\includes\pnSession.php on line 199
Warning: Cannot add header information - headers already sent by (output started at e:\http\apache\postnuke\html\includes\pnSession.php:86) in e:\http\apache\postnuke\html\includes\pnSession.php on line 206 Session initialisation failed
I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
; error_reporting is a bit-field. Or each number up to get desired error ; reporting level ; E_ALL - All errors and warnings ; E_ERROR - fatal run-time errors ; E_WARNING - run-time warnings (non-fatal errors) ; E_PARSE - compile-time parse errors ; E_NOTICE - run-time notices (these are warnings which often result ; from a bug in your code, but it's possible that it was ; intentional (e.g., using an uninitialized variable and ; relying on the fact it's automatically initialized to an ; empty string) ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's ; initial startup ; E_COMPILE_ERROR - fatal compile-time errors ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors) ; E_USER_ERROR - user-generated error message ; E_USER_WARNING - user-generated warning message ; E_USER_NOTICE - user-generated notice message ; ; Examples: ; ; - Show all errors, except for notices ; error_reporting=E_ALL & ~E_NOTICE ; ; - Show only errors ; error_reporting=E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; ; - Show all errors except for notices ; error_reporting= E_ALL; display all errors, warnings and notices
du har den 2 gange ret error_reporting= E_ALL; display all errors, warnings and notices til ;error_reporting= E_ALL; display all errors, warnings and notices
; Examples: ; ; - Show all errors, except for notices ; error_reporting=E_ALL & ~E_NOTICE ; ; - Show only errors ; ;error_reporting=E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; ; - Show all errors except for notices ; ;error_reporting= E_ALL; display all errors, warnings and notices
det er din allerførste fejl der betyder noget: Notice: Undefined variable: lifetime in e:\http\apache\postnuke\html\includes\pnSession.php on line 86
din variabel $lifeline har ikke fået nogen værdi, og det får php til at outputte en fejlmelding.
og siden der nu er outputtet noget er det ikke muligt at lege med headers og cookies derefter.
sp find ud af hvorfor $lifeline ikke er defineret og gør noget ved det.
mvh JakobA
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.