error_reporting is 6135 (both local and master value), display_errors is On.
When making deliberately an error outside of my CakePHP app (calling phpinfo2() instead of phpinfo()) I'm getting "Fatal error: Call to undefined function phpinfo2() in /Users/josh/Sites/phpinfo.php on line 2" as expected. When deliberately making an error inside my app, it's a bit different. I'm calling $form->end123(...) instead of $form->end(...), which makes that the whole submit button is not displayed (it's not existent in the source code); when calling $form->end(...)1 instead of $form->end(...), the whole page is white (i.e. there's NO source code). This behavior seems quite strange to me. I tried the same with a clean 1.2.8. CakePHP installation. When calling a non-existant method, it's displaying "Warning (512): Method PaginatorHelper::sort2 does not exist [CORE/cake/libs/view/helper.php, line 142]" within the normal page; when having a syntax error it's displaying "Parse error: syntax error, unexpected T_LNUMBER...". Everything's OK with the server therefor, it seems. ...AND YEAH, I JUST FIGURED IT OUT! The version of CakePHP that was used for the project was 1.2.0.7296 RC2! I replaced it with 1.2.8, and now the errors are displayed! Great! (Unfortunately now some of my tests break... but I will guess I will have to fix that and upgrade to 1.2.8). Thanks a lot for this suggestion! :-) Didn't expect that a productive website would run using an outdated RC version... Josh On Tue, Sep 21, 2010 at 8:12 PM, cricket <[email protected]> wrote: > On Tue, Sep 21, 2010 at 3:00 AM, Joshua Muheim <[email protected]> wrote: >> Within app/tmp I have the correct folder structure, I have checked >> this against a fresh copy of the used version of CakePHP (1.2.x). >> >> I'm on OSX so I have access to the server's error logs using the >> Console application. But there's no errors in there that are related >> to CakePHP: >> ... >> ...etc. Any other idea? > > As Miles suggested, check your php.ini error settings. Specifically, > error_reporting and display_errors. > > Can you run basic PHP scripts on this box? If so, what happens when > you deliberately cause a fatal error? > > You mentioned that you took this app over from someone else. Could the > trouble be that it was created for an outdated version of Cake? Or are > the Cake libs local to the site? > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" 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 > Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" 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
