Welcome Guest, Not a member yet? Register   Sign In
Unusual port - Session white screen of death
#1

[eluser]dazed[/eluser]
Hi Guys,

I have been making an application that runs by IP and an unusual port and seem to be having some issues.

I have set up the server and all seems OK when I goto http://192.168.0.55:1234 the page signin page displays fine. The problem comes when I try to signin. If there is no password or not long enough form validation comes back with an error. If I enter the correct or incorrect user details that will get past form validation all I get is a blank white screen.

I have tried a number of things and can't fix it so thought I would ask you guys!

Do I need the new port number the cookie path??

Thanks,

Dazed
#2

[eluser]Atharva[/eluser]
Have you checked your error log?
#3

[eluser]LuckyFella73[/eluser]
A comment on php.net says you have to set the port in your cookie-domain
setting: http://www.php.net/manual/en/function.se....php#36202

Don't know if that's all but you can try.
#4

[eluser]dazed[/eluser]
Hi Guys,

Thanks for your help.

My logs look like this on level 4.

DEBUG - 2010-12-10 01:05:10 --> Config Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Hooks Class Initialized
DEBUG - 2010-12-10 01:05:10 --> URI Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Router Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Output Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Input Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Global POST and COOKIE data sanitized
DEBUG - 2010-12-10 01:05:10 --> Language Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Loader Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Helper loaded: url_helper
DEBUG - 2010-12-10 01:05:10 --> Helper loaded: form_helper
DEBUG - 2010-12-10 01:05:10 --> Database Driver Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Session Class Initialized : OBSession 2.0.2
DEBUG - 2010-12-10 01:05:10 --> Encrypt Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Database Driver Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Form Validation Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Email Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Controller Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Config Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Hooks Class Initialized
DEBUG - 2010-12-10 01:05:10 --> URI Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Router Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Output Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Input Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Global POST and COOKIE data sanitized
DEBUG - 2010-12-10 01:05:10 --> Language Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Loader Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Helper loaded: url_helper
DEBUG - 2010-12-10 01:05:10 --> Helper loaded: form_helper
DEBUG - 2010-12-10 01:05:10 --> Database Driver Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Session Class Initialized : OBSession 2.0.2
DEBUG - 2010-12-10 01:05:10 --> Encrypt Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Database Driver Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Form Validation Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Email Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Controller Class Initialized
DEBUG - 2010-12-10 01:05:10 --> Form_validation class already loaded. Second attempt ignored.
DEBUG - 2010-12-10 01:05:10 --> File loaded: ../application/views/includes/header.php
DEBUG - 2010-12-10 01:05:10 --> File loaded: ../application/views/view_signin.php
DEBUG - 2010-12-10 01:05:10 --> File loaded: ../application/views/includes/footer.php
DEBUG - 2010-12-10 01:05:10 --> File loaded: ../application/views/view_main.php
DEBUG - 2010-12-10 01:05:10 --> Final output sent to browser
DEBUG - 2010-12-10 01:05:10 --> Total execution time: 0.0249

As for the port number in domain it says that you should NOT set port number. I have tried each and neither work.

Just to help any one have any ideas my cookie setup is below

$config['cookie_prefix'] = "";
$config['cookie_domain'] = "192.168.0.55:1234";
$config['cookie_path'] = "/";
#5

[eluser]dazed[/eluser]
AHHHhhhh!!!

I have just reloaded the file from a back up and it all seems to work now. Just to let you guys know in the cookie_domain you need just the IP or domain name.

Thanks for your help.

D




Theme © iAndrew 2016 - Forum software by © MyBB