• About Me

    Lily@Melbourne, Australia


  • Follow 静水深流 || Still waters run deep on WordPress.com
  • Archives

  • Advertisements

CakePHP Implementation Issue

The problem:
The login function can work on local server, but it doesn’t work on the client”s server

The solution:
Remove all the white space after the end of } tag in controllers and models.

The reason(found in Google Search):
‘ the issue is a PHP issue with whitespace being output after some headers are sent, and typically occurs when a redirect is requested further down in the code from the whitespace. This issue has nothing to do specifically with CakePHP as implied in the post title.’




Fill in your details below or click an icon to log in:

WordPress.com 徽标

You are commenting using your WordPress.com account. Log Out /  更改 )

Google+ photo

You are commenting using your Google+ account. Log Out /  更改 )

Twitter picture

You are commenting using your Twitter account. Log Out /  更改 )

Facebook photo

You are commenting using your Facebook account. Log Out /  更改 )


Connecting to %s

%d 博主赞过: