# |
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 |
# |
Mar 1st 2018, 18:32 |
joe |
this is the html i see in the browser |
# |
Mar 1st 2018, 18:31 |
hakuna |
thanks you, i will try this |
# |
Mar 1st 2018, 18:31 |
slackebot1 |
'btn-lg')]); ?><?php echo (($isMobile) ? '<br/><br/>' : ''); ?> <button type="button" class="btn <?php echo (!$isMobile) ? 'btn-primary btn-lg pull-left' : 'btn-default btn-lg'; ?>" onclick="window.location = '/<?php echo $partner['url_name'] ?>/orders/delivery';return false;">Back to Delivery Info </button> </div> <div class="row"> |
# |
Mar 1st 2018, 18:31 |
joe |
<div class="row"> <?php //$this->Form->templates(['inputContainer' => '{{content}}',]); ?> <?php echo $this->Form->create('Order', [ 'url' => '/' . $partner['url_name'] . '/orders/contact', 'class' => 'applyForm' ]); echo $this->Form->button('Continue to Billing Info', [ 'name' => 'set', 'div' => false, 'class' => 'btn btn-primary ' . ((!$isMobile) ? 'btn-lg pull-right' : |
# |
Mar 1st 2018, 18:31 |
joe |
here's what's in the tempalte: |
# |
Mar 1st 2018, 18:30 |
savant |
can you gist the template file? |
# |
Mar 1st 2018, 18:27 |
joe |
ie. before I call $this->Form->end() |
# |
Mar 1st 2018, 18:27 |
joe |
any idea why a form end tag would be created prematurely? |
# |
Mar 1st 2018, 18:26 |
obinoob |
hakuna: most of those "errors" are easily found with phpstorm |
# |
Mar 1st 2018, 18:25 |
obinoob |
hakuna: make sure you get a proper IDE... |
# |
Mar 1st 2018, 18:20 |
hakuna |
sure, i need it :D |
# |
Mar 1st 2018, 18:18 |
obinoob |
hakuna: no way it just happens perhaps you need to go for a walk I guess :) |
# |
Mar 1st 2018, 18:18 |
hakuna |
i am stupid |
# |
Mar 1st 2018, 18:18 |
hakuna |
:D |
# |
Mar 1st 2018, 18:17 |
obinoob |
lol |
# |
Mar 1st 2018, 18:15 |
hakuna |
oh man, thanks you very much, it was that :D |
# |
Mar 1st 2018, 18:12 |
obinoob |
check config file maybe missing <?php tag ?!? I do know... |
# |
Mar 1st 2018, 18:10 |
hakuna |
i only changed the normal, database parameters, debug mode, this things |
# |
Mar 1st 2018, 18:09 |
obinoob |
try a clean install |
# |
Mar 1st 2018, 18:09 |
obinoob |
hakuna: haven't you changed anything at cakes config file?!? |
# |
Mar 1st 2018, 18:08 |
obinoob |
hakuna: I think it's not a PHP or CakePHP problem but a web server miss configuration! |
# |
Mar 1st 2018, 18:05 |
hakuna |
http://tinypic.com/r/2dqv6g6/9 |
# |
Mar 1st 2018, 18:05 |
hakuna |
and this is the output |
# |
Mar 1st 2018, 18:03 |
hakuna |
http://tinypic.com/r/14s3eh/9 |
# |
Mar 1st 2018, 17:58 |
obinoob |
hakuna: print screen ? |
# |
Mar 1st 2018, 17:58 |
hakuna |
php 7.2.2 in cli and php 7.1.14 in web |
# |
Mar 1st 2018, 17:57 |
obinoob |
hakuna: php -v ? |
# |
Mar 1st 2018, 17:56 |
hakuna |
just like you still i think it's some permissions or something from PHP |
# |
Mar 1st 2018, 17:54 |
hakuna |
with this permissions the error continues |
# |
Mar 1st 2018, 17:50 |
hakuna |
i will try this permissions |
# |
Mar 1st 2018, 17:50 |
hakuna |
thanks you, fo the virtual host configuration in teh first link all is ok |
# |
Mar 1st 2018, 17:47 |
obinoob |
hakuna: review permissions https://pastebin.com/Qr8vinFk |
# |
Mar 1st 2018, 17:45 |
birdy247 |
ApiListener * |
# |
Mar 1st 2018, 17:44 |
bravo-kernel |
@birdy247 the actual code; the JsonApiListener |
# |
Mar 1st 2018, 17:41 |
hakuna |
yes mod rewrite is enabled |
# |
Mar 1st 2018, 17:40 |
hakuna |
thanks you I'll check the tutorial |
# |
Mar 1st 2018, 17:40 |
obinoob |
hakuna: have you: sudo a2enmod rewrite ? |