Ok I got strange problem in my CakePHP apps, which I encounter a blank screen whenever I submit or delete a data from my form. The weird is this does not happen in my apps which I uploaded to the server.
Searching around for any possibilities and I found this ;
http://stackoverflow.com/questions/3490780/cakephp-form-submission-results-blank-screen
Searching around for any possibilities and I found this ;
http://stackoverflow.com/questions/3490780/cakephp-form-submission-results-blank-screen
1- Check config/core.php and set DEBUG to 2. If you are getting a blank screen, this may not do anything.
2- Check your controllers / models. Make sure there is no blank lines after the ending ?> php tag. This could also cause blank screens.
3- Check syntax of your code. Try commenting out code to see if there is some code that may be improperly formed causing syntactical outages.
Blank line is the cause of my problem. By removing the extra lines, my problem solved and I can now save or delete my data without any blank screen ! !
horeyy
Comments