Author
Message
TheRaskol

Members

Online status

70 posts

#1001   2018-06-28 20:31 GMT        
Kod:
[16-Mar-2018 22:47:26 ETC/GMT-3] PHP Notice:  Use of undefined constant id - assumed 'id' in /home/xxxx/public_html/page.php on line 18
[16-Mar-2018 22:47:26 ETC/GMT-3] PHP Notice:  Undefined variable: usr in /home/xxxx/public_html/page.php on line 18


18. satır
Kod:
]if ($usr[id]>0
]

Kod:
]<?PHP

/* ====================
Seditio - Website engine
Copyrigh Neocrome
http://www.neocrome.net

[BEGIN_SED]
File=page.php
Version=101
Updated=2006-mar-15
Type=Core
Author=Neocrome
Description=Pages loader
[END_SED]
==================== */

if ($usr[id]>0)
{
header("Location: users.php?m=register");
}

define('SED_CODE', TRUE);
define('SED_PAGE', TRUE);
$location = 'Pages';
$z = 'page';

require('system/functions.php');
require('system/templates.php');
require('datas/config.php');
require('system/common.php');

sed_dieifdisabled($cfg['disable_page']);

switch($m)
{
case 'add':
require('system/core/page/page.add.inc.php');
break;

case 'edit':
require('system/core/page/page.edit.inc.php');
break;

default:
require('system/core/page/page.inc.php');
break;
}

?>
]

Bu hatanın çözümü nedir acaba?


Bunlara baktınızmı?
Seditio 177 Page Like Sistemi
page de html kullanmak
page.add.tpl tags list