PhpNut just kindly helped me out on IRC: at least my issue can be blamed to the Zend Optimizer version that´s installed at my hosting provider ( Zend Optimizer v3.2.2 ).
Further info can be found here: https://trac.cakephp.org/ticket/1956 and http://www.zend.com/forums/index.php?t=msg&th=2898. To workaround my probs I just changed some lines in /cake/libs/view/ templates/scaffolds/index.thtml( around l.84 ) and in /cake/libs/view/templates/scaffolds/view.thtml( around l.66 & l. 159 ). Search for the delete buttons there and modify the sprintf() function calls that carry __(...) as param. Example index.html l.84: ..., sprintf(__("Are you sure you want to delete id %s?", true), $id) ... gives me just a blank screen, while getting rid of __() like: ..., sprintf("Are you sure you want to delete id %s?", $id) ... does fine, then. Fyi. PhpNut told me that this Optimizer version will not allow me to use i18n and l10n features in Cake. Hth someone carsten On Apr 12, 10:29 pm, "cArkraus" <[EMAIL PROTECTED]> wrote: > I´m experiencing the same probs like Falagar: scaffolding does not > work with /index and /view...strange enough, though, it does just fine > with /add and /edit. > > Like Falagar, I can only reproduce this at my service providers > machine...locally all is doing well. > Fyi. I´m using cake_1.2.0.4798alpha - an older 1.2 version is working > fine on the same host. > > Anybody any news on the issue? > > cheers & thx for any help! > carsten > > On Feb 24, 12:59 pm, "mindcharger" <[EMAIL PROTECTED]> wrote: > > > Hello, > > > Do you have a valid index.thtml page for the model "Article"? > > Sorry to ask such a stupid question, but sometimes when stupid things > > happens you must ask stupid quesions... > > > Your problem is interesting, because when you > > accesshttp://dev.reya.de/articles > > you actually have a page returned, but the page is "null", I meanno > > HTML returned... > > > My second guess would be a server issue... > > > Good luck! > > > On Feb 23, 5:20 pm, "Falagar" <[EMAIL PROTECTED]> wrote: > > > > Hi, I am having a very strange issue on my webspace provider, this > > > does not happen on my local installation. > > > > I tried to get Cake to work on my webspace (Cake 1.2, released > > > version), installed everything, database works. I implemented a simple > > > scaffolding app with two tables, "articles" and "comments". And it > > > seems to work. > > > > However, after entering some article, when I try to look > > > athttp://dev.reya.de/articlesFirefoxreturnsablankpage. Totally > > >blank, no header, no content. Funny > > >though,http://dev.reya.de/articles/edit/7 > > > works just fine. (If anyone should give this a try, please don't > > > delete that entry, so this example will still work :) ) > > > > I debugged into this and it came down to around line 700 in /cake/libs/ > > > view/view.php (in the _render function): > > > > if (Configure::read() > 0) { > > > include ($___viewFn); > > > } else { > > > @include ($___viewFn); > > > } > > > > For debug purposes, I changed that to: > > > > if (Configure::read() > 0) { > > > $this->log('_render in view. #694, trying to > > > include ' . > > > $___viewFn ); > > > include ($___viewFn); > > > } else { > > > @include ($___viewFn); > > > } > > > > $this->log('_render in view. #700.'); > > > > That's what the log file says (first /articles, then /articles/edit/7) > > > > 2007-02-23 18:13:45 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:13:46 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:13:46 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:13:47 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:13:48 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:13:48 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:13:49 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:13:49 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:13:50 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:13:50 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:13:51 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/index.thtml > > > 2007-02-23 18:14:30 Debug: _render in view. #694, trying to include > > > cake/libs/view/templates/scaffolds/edit.thtml > > > 2007-02-23 18:14:30 Debug: _render in view. #700. > > > 2007-02-23 18:14:30 Debug: _render in view. #694, trying to include / > > > is/htdocs/wp1034476_1QHLDZ3T0M/www/cake/cake/libs/view/templates/ > > > layouts/default.ctp > > > 2007-02-23 18:14:30 Debug: _render in view. #700. > > > > Configure::Read() is greater than zero, it tries to include $___viewFn > > > which is "cake/libs/view/templates/scaffolds/index.thtml" which seems > > > to be correct, the file exists. But after that it just dies. I tried > > > to put debug stuff into that file but it must die somewhere before > > > that. It doesn't really die that but it tries that about 10 times and > > > then I get theblankpage. Why 10 times? Why does theblankpage show > > > up? > > > > Has anyone seen something like this before? I want to make sure this > > > works before I actually put more time in for development. > > > > I tried to make sure all files don't end with spaces or newlines, > > > edited the db config correctly and /app/tmp is writable as well. Don't > > > know what to do. Any help is greatly appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [EMAIL PROTECTED] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---