I've had blank pages when : * .htaccess was not working as it should, due to restrictions from Apache (it needed Allow Overwrite All) * a table was missing from the db, and the error couldn't be displayed by Cake because it got into a recursion when trying to output the message html (this is very project specific since we added some magic stuff to /app/config/routes.php)
Still it's weird that all of a sudden it started working ... I'm thinking along the line of a browser page cache that just showed you the white page again instead of reloading the requested url ? On Thu, Aug 20, 2009 at 10:00 PM, Arvind<arvind.mai...@gmail.com> wrote: > > It has started to work without doing anything moments ago. All i did, > i decided to debug through dispatcher > and before going into the dispatcher i decided to do some "dies" > around > to the dispatcher call in webroot/index.php file to make sure it goes > into > (which i had tested already; just wanted to double check it) it and > after > doing 2-3 "dies" around the code > > if (!include(CORE_PATH . 'cake' . DS . 'bootstrap.php')) { > trigger_error("CakePHP core could not be found. Check > the value of > CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to > the directory containing your " . DS . "cake core directory and your > " . DS . "vendors root directory.", E_USER_ERROR); > } > if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') { > return; > } else { > > $Dispatcher = new Dispatcher(); > $Dispatcher->dispatch($url); > } > if (Configure::read() > 0) { > echo "<!-- " . round(getMicrotime() - $TIME_START, > 4) . "s -->"; > } > > and it started to work all at once. And tmp/cache files also started > to > get > generated! VERY STRANGE INDEED!! > > I think there must be something which i am missing. Please let me > know if someone has faced this kind of problem. Some apache > server problem? Cake hash validation problem? or caching problem? > > Please put your thoughts before cakephp ( which i love the most in > frameworks ) starts to become a mystery to me. (I wish it were not a > cakephp problem though) > > On Aug 21, 12:21 am, Arvind <arvind.mai...@gmail.com> wrote: >> Hi everyone, >> >> I uploaded my local controller files, view files and one css file to >> remote server 2 hrs ago and tried to access the site admin section but >> it is dying on blank white page without any debug report or any error >> displayed. The entire system is working fine on my local wamp server >> and also worked well on the same remote server yesterday but is not >> working right now. I have checked all files many a times and all files >> mentioned above are parallel to my local files with one exception. On >> the remote server there is no cache files being generated inside the >> app/tmp/cache folder which i noticed today only but i am sure it >> worked with same settings 1 day ago. I am trying to debug in webroot/ >> index.php file and it is reaching till the dispatcher alright. I also >> tried by removing .htaccess but same problem with /webroot/index.php >> file. Mod rewrite is WORKING just fine. >> >> Not sure what is the problem. Anyone with thoughts on this is most >> welcome as i have already started to pull my hair. >> >> Here is the url where it is dying on blank page >> :http://d1041638.blacknight.com/admin/users/login >> >> Thanks in advance, >> >> Arvind. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---