4571 Posts in 1381 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1884 Views |
-
Redirecting to /cms/code/LeftAndMain.php, line 1114)

18 March 2009 at 1:58am
It used to work fine. But now, when i am trying to log in, this message comes up, and then it redirects me to log in page.
Redirecting to /cms/code/LeftAndMain.php, line 1114
Please help!
-
Re: Redirecting to /cms/code/LeftAndMain.php, line 1114)

19 March 2009 at 9:59am
OK,
I put it into dev mode, and something else comes up now:
[Notice] Undefined variable: _SESSION
GET /silverstripe/Line 105 in /.../sapphire/core/control/Director.php
Source96 @file_get_contents('php://input')
97 );
98
99 // @todo find better way to extract HTTP headers
100 if(isset($_SERVER['HTTP_ACCEPT'])) $req->addHeader("Accept", $_SERVER['HTTP_ACCEPT']);
101 if(isset($_SERVER['CONTENT_TYPE'])) $req->addHeader("Content-Type", $_SERVER['CONTENT_TYPE']);
102 if(isset($_SERVER['HTTP_REFERER'])) $req->addHeader("Referer", $_SERVER['HTTP_REFERER']);
103
104 // Load the session into the controller
105 $session = new Session($_SESSION);
106 $result = Director::handleRequest($req, $session);
107 $session->inst_save();
108
109 // Return code for a redirection request
110 if(is_string($result) && substr($result,0,9) == 'redirect:') {
111 $response = new HTTPResponse();Trace
* Director::direct(/)
Line 115 of main.phpAny ideas?
-
Re: Redirecting to /cms/code/LeftAndMain.php, line 1114)

19 March 2009 at 12:32pm
turned out to be Malware on server
scary...
-
Re: Redirecting to /cms/code/LeftAndMain.php, line 1114)

27 March 2009 at 3:51am
just had the same error msg (Undefined variable: _SESSION), and found out it's because my php files were encoded in regular UTF-8. converted them to 'UTF-8 without BOM' and it works now...
-
Re: Redirecting to /cms/code/LeftAndMain.php, line 1114)

31 August 2009 at 5:36am
I have the same problem. But I am ZERO in php coding. Could you please help me
| 1884 Views | ||
|
Page:
1
|
Go to Top |



