![]() |
# 1 |
חבר בקהילה
|
בעיה בקובץ logout.php
אוקיי עשיתי דבר כזה:
קוד:
<? session_start(); session_destroy(); include("include/common.php"); if ($loggedin){ if ($logout) { $myname = ""; $myrights = ""; $myemail = ""; $loggedin = 0; session_register("loggedin"); session_register("myname"); session_register("myuid"); session_register("myrights"); session_register("myemail"); $failed = 1; } } header("Location: /index.php"); ?> עכשיו כשאני לוחץ על זה (דרך הקישור בבפאנל) זה עושה לי את זה: קוד:
Warning: main(include/common.php) [function.main]: failed to open stream: No such file or directory in /home/*****/domains/**********/public_html/admin/logout.php on line 4 Warning: main(include/common.php) [function.main]: failed to open stream: No such file or directory in /home/*****/domains/**********/public_html/admin/logout.php on line 4 Warning: main() [function.include]: Failed opening 'include/common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/*****/domains/**********/public_html/admin/logout.php on line 4 Warning: Cannot modify header information - headers already sent by (output started at /home/*****/domains/**********/public_html/admin/logout.php:4) in /home/*****/domains/**********/public_html/admin/logout.php on line 19 מה אני עושה עכשיו? תודה מראש לעוזרים! |
![]() |
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|