Forums | Mahara Community

Support /
Upgrade to 1.4 fails with HTTP error 303


anonymous profile picture
Account deleted
Posts: 1

18 July 2011, 14:18

Having upgraded to 1.4 I get the following errors:

From access_log in apache2:

130.50.0.1 - - [18/Jul/2011:16:28:29 +1200] "GET /mahara/admin/index.php HTTP/1.1" 303 -

130.50.0.21 - - [18/Jul/2011:16:29:01 +1200] "GET /mahara/lib/cron.php HTTP/1.0" 303 –

Message in firefox:

The page isn't redirecting properly

Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

Any suggestoins on what can be causing this?

François Marier's profile picture
Posts: 411

18 August 2011, 1:02

Hi Angela,

Which page were you on when that redirection loop started?

Cheers,

Francois

anonymous profile picture
Account deleted
Posts: 1

18 August 2011, 3:18

thank you to share such a great and help full sahring, i have also some problems but its will recover i hope from this thread

BISE peshawar

Yaju Mahida's profile picture
Posts: 131

18 August 2011, 23:04

Disable the following lines in init.php

// Make sure that we are using ssl if wwwroot expects us to do so
//if ((!isset($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS']) == 'off') &&
//    parse_url($CFG->wwwroot, PHP_URL_SCHEME) === 'https'){
//    redirect(get_relative_script_path());
//}

if you know what are you doing then only.

Yaju Mahida's profile picture
Posts: 131

19 August 2011, 0:55

Definately if the if $_SERVER['HTTPS'] and strtolower($_SERVER['HTTPS']) == 'off') &&  parse_url($CFG->wwwroot, PHP_URL_SCHEME) === 'https') conditions satisty it will redirect to it again and again....infinite loop.......

 

5 results