正在上载<?php $_SESSION['xyz'] = variabel; ?>
中内置的应用程序,我遇到的错误
“使用未定义的常量Panel_Controller-假定 'Panel_Controller”
Codeigniter
答案 0 :(得分:2)
First load the url helper in your construct by
$this->CI->load->helper('url');
if($this->session->userdata('id')){
redirect('Panel_Controller');
}
答案 1 :(得分:0)
首先,尝试路线
####<29-Mar-2019 07:26:02,265 o'clock CET> <Warning> <RMI> <el173-wbl001.boerse.dir> <cats_int_mgd01> <ExecuteThread: '3' for queue: 'weblogic.socket.Muxer'> <<WLS Kernel>> <> <29a06e6b-405a-464d-b4a9-b1a86fefa18e-00000013> <1553840762265> <[severity-value: 16] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-080003> <A RuntimeException was generated by the RMI server: 1240966716
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[wls_system, Administrators].
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[wls_system, Administrators]
at weblogic.security.service.SecurityServiceManagerDelegate2Impl.seal(SecurityServiceManagerDelegate2Impl.java:488)
at weblogic.security.service.SecurityServiceManagerDelegate2Impl.getSealedSubjectFromWire(SecurityServiceManagerDelegate2Impl.java:181)
at weblogic.security.service.SecurityServiceManager.getSealedSubjectFromWire(SecurityServiceManager.java:435)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:370)
at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:996)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:372)
at weblogic.rmi.cluster.ClusterableServerRef.dispatch(ClusterableServerRef.java:269)
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1405)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1289)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:229)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:1022)
at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:570)
at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:658)
at weblogic.socket.BaseAbstractMuxableSocket.dispatch(BaseAbstractMuxableSocket.java:397)
at weblogic.socket.JSSEFilterImpl.dispatch(JSSEFilterImpl.java:234)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:981)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:917)
at weblogic.socket.NIOSocketMuxer.process(NIOSocketMuxer.java:599)
at weblogic.socket.NIOSocketMuxer.processSockets(NIOSocketMuxer.java:563)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:30)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:43)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:147)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:119)
然后
$route['dashboard'] = "Panel_Controller/index";
OR
if($this->session->userdata('id')){
redirect('dashboard');
}