How to trace CakePHP errors using the error.log -


i have production environment working , know errors or problems takes place on can not reproduce in testing environment.

for it, trying make use of error.log located in cakephp/app/tmp/ folder not able understand of errors or know in code take place.

for example:

2013-07-24 10:26:49 error: [missingactionexception] action tablescontroller::fancybox() not found.

#0 c:\inetpub\wwwroot\lib\cake\routing\dispatcher.php(186): controller->invokeaction(object(cakerequest))

#1 c:\inetpub\wwwroot\lib\cake\routing\dispatcher.php(161): dispatcher->_invoke(object(tablescontroller), object(cakerequest), object(cakeresponse))

#2 c:\inetpub\wwwroot\app\webroot\index.php(92): dispatcher->dispatch(object(cakerequest), object(cakeresponse)) #3 c:\inetpub\wwwroot\index.php(42): require('c:\inetpub\wwwr...') #4 {main}

where error coming from? suppose to calling fancybox() function? in file , line? can not trace indications.

is there way read properly? missing something?

where error coming from?

the error message reports tablescontroller::fancybox() not found

that means there request url of form /tables/fancybox/.... made.

most 404 request generated js library loaded page. identify these errors - open e.g. chrome's network panel in developer tools , reload page. in red indicates request returned error - , fix.

the information of making request in apache access/error log - referer initiator responsible making these erroneous requests.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -