# |
Mar 2nd 2018, 01:12 |
ricksaccous |
here it is https://github.com/cakephp/cakephp/blob/master/src/Http/BaseApplication.php#L118 |
# |
Mar 2nd 2018, 01:10 |
ricksaccous |
so errors are suppressed from the browser for me after this return new ActionDispatcher(null, null, DispatcherFactory::filters()); |
# |
Mar 2nd 2018, 01:00 |
ricksaccous |
@rchavik thank ye |
# |
Mar 2nd 2018, 00:58 |
rchavik |
debug(\Cake\Error\Debugger::trace()); die(); |
# |
Mar 2nd 2018, 00:56 |
ricksaccous |
like let's say i'm in a controller method and i want to say "show all code run up till here" |
# |
Mar 2nd 2018, 00:56 |
ricksaccous |
is there a way in cakephp i can see all code that is run up to a certain point? |
# |
Mar 2nd 2018, 00:50 |
diego182 |
Hi, i have two tables, one of then has two composite pk, one is related to other, the table with the composite pk belongs to the table with no composite PK, how do i patch this entity with composite PK? |
# |
Mar 2nd 2018, 00:24 |
ricksaccous |
probably it's somewhere in my application code |
# |
Mar 2nd 2018, 00:24 |
ricksaccous |
because outside of it i get the errors shown, time to go hunting |
# |
Mar 2nd 2018, 00:23 |
ricksaccous |
so it's actually code somewhere in cake or something that is suppressing the errors |
# |
Mar 1st 2018, 23:55 |
ricksaccous |
no that's the integer for E_ALL |
# |
Mar 1st 2018, 23:54 |
ricksaccous |
REEEEEEEEEEEEEEEE |
# |
Mar 1st 2018, 23:54 |
ricksaccous |
that's probably the problem right there |
# |
Mar 1st 2018, 23:54 |
ricksaccous |
yeah other one is the same val... |
# |
Mar 1st 2018, 23:51 |
ricksaccous |
I need to double check the other env |
# |
Mar 1st 2018, 23:50 |
ricksaccous |
what is the significance of this? |
# |
Mar 1st 2018, 23:50 |
ricksaccous |
i just noticed error reporting on one of the environments is 32767 |
# |
Mar 1st 2018, 23:50 |
ricksaccous |
oh crap |
# |
Mar 1st 2018, 23:50 |
ricksaccous |
and error reporting on both environments is set to E_ALL |
# |
Mar 1st 2018, 23:49 |
ricksaccous |
but i can get some errors to be shown/logged and not others |
# |
Mar 1st 2018, 23:49 |
ricksaccous |
the errors that aren't being shown aren't being logged either |
# |
Mar 1st 2018, 23:49 |
ricksaccous |
one with apache is running in docker, with nginx i'm running it with vagrant |
# |
Mar 1st 2018, 23:49 |
ricksaccous |
on one of them xdebug is installed, the other one xdebug isn't |
# |
Mar 1st 2018, 23:48 |
ricksaccous |
debug is set to true, debug kit it working |
# |
Mar 1st 2018, 23:48 |
ricksaccous |
display_startup_errors is on |
# |
Mar 1st 2018, 23:48 |
ricksaccous |
in both envs phpinfo() indicates display_errors is on |
# |
Mar 1st 2018, 23:48 |
ricksaccous |
always getting a server 500 error |
# |
Mar 1st 2018, 23:48 |
ricksaccous |
one with apache one with nginx |
# |
Mar 1st 2018, 23:48 |
ricksaccous |
php errors are not showing on 2 different environments for me |
# |
Mar 1st 2018, 23:47 |
ricksaccous |
this is pretty nuts |
# |
Mar 1st 2018, 19:43 |
joe |
thanks |
# |
Mar 1st 2018, 19:43 |
joe |
fixing this also fixed my earlier issue |
# |
Mar 1st 2018, 19:43 |
joe |
wow didn't realize a browser would close a form like that thanks |
# |
Mar 1st 2018, 18:52 |
savant |
if you want the form to span multiple div.row elements, you’ll need to move the Form::create() to encompass those elements instead of being embedded |
# |
Mar 1st 2018, 18:51 |
savant |
so the browser is auto-closing it for you |
# |
Mar 1st 2018, 18:51 |
savant |
but also you have a closing div for that row before you complete the form |
# |
Mar 1st 2018, 18:51 |
savant |
you need to echo the form end |
# |
Mar 1st 2018, 18:38 |
joe |
I do have $this->Form->end() further down but it doesn't seem to be adding anything |
# |
Mar 1st 2018, 18:38 |
joe |
any ideas? |
# |
Mar 1st 2018, 18:32 |
slackebot1 |
false;">Back to Delivery Info </button> </form></div> <div class="row"> |
# |
Mar 1st 2018, 18:32 |
joe |
<div class="row"> <form method="post" accept-charset="utf-8" class="applyForm" action="/nicole703/orders/contact"><div style="display:none;"><input type="hidden" name="_method" value="POST"></div><button name="set" class="btn btn-primary btn-lg pull-right" type="submit">Continue to Billing Info</button> <button type="button" class="btn btn-primary btn-lg pull-left" onclick="window.location = '/nicole703/orders/delivery';return |