# |
Feb 6th 2018, 18:27 |
saeideng |
I have simillar problem with cakephp-ajax plugin :$ |
# |
Feb 6th 2018, 18:26 |
ahmad |
@saeideng well if they have `Accept: application/json` |
# |
Feb 6th 2018, 18:26 |
ahmad |
this is 2.x btw |
# |
Feb 6th 2018, 18:26 |
ahmad |
i figured out the issue |
# |
Feb 6th 2018, 18:25 |
saeideng |
? |
# |
Feb 6th 2018, 18:25 |
saeideng |
normal requests need a view on the `/json` dir |
# |
Feb 6th 2018, 18:25 |
saeideng |
what you mean ? |
# |
Feb 6th 2018, 18:20 |
ahmad |
and the cURL is generated from the api client (insomnia) |
# |
Feb 6th 2018, 18:20 |
ahmad |
is there a reason someone can think of why an API request from a client or node doesn't recognize that the view is in `/json` dir but works on cURL? |
# |
Feb 6th 2018, 17:56 |
bravo-kernel |
ok |
# |
Feb 6th 2018, 17:54 |
dereuromark |
Let me know if you find a way to pin it back to the 7.1 for the time being as hotfix. |
# |
Feb 6th 2018, 17:52 |
bravo-kernel |
for now... I will just spin up a new box, see what happens |
# |
Feb 6th 2018, 17:52 |
bravo-kernel |
but I guess something could easily have f** up along the way |
# |
Feb 6th 2018, 17:51 |
bravo-kernel |
https://github.com/alt3/cakebox/blob/dev/.cakebox/bash/console-installer.sh#L30 |
# |
Feb 6th 2018, 17:51 |
bravo-kernel |
it should update itself with every `vagrant reload --provision` |
# |
Feb 6th 2018, 17:51 |
dereuromark |
IMO the script should always "wget https://getcomposer.org/composer.phar" |
# |
Feb 6th 2018, 17:50 |
dereuromark |
it is, and you cant even autoupdate, due to the fatal error |
# |
Feb 6th 2018, 17:50 |
dereuromark |
my lenovo had a hardware defect and the replacement laptop now has to do for the time being here :slightly_smiling_face: |
# |
Feb 6th 2018, 17:50 |
bravo-kernel |
Just saw your mail. Is composer outdated? |
# |
Feb 6th 2018, 17:50 |
dereuromark |
cool, thx for the help |
# |
Feb 6th 2018, 17:49 |
bravo-kernel |
@dereuromark I am going to spin up a new box to see what happens, on my 7.1 box intl was installed/upgraded |
# |
Feb 6th 2018, 17:46 |
dereuromark |
cakephp/cakephp 3.4.9 requires ext-intl * -> the requested PHP extension intl is missing from your system etc |
# |
Feb 6th 2018, 17:46 |
dereuromark |
I started to download a new composer phar (not sure why the script doesnt do that internally), and see where it goes |
# |
Feb 6th 2018, 17:45 |
dereuromark |
we should either pin at php7.1 for now, or fix for 7.2 then |
# |
Feb 6th 2018, 17:43 |
hmic |
object is reserved since 7.2, true. |
# |
Feb 6th 2018, 17:43 |
bravo-kernel |
Old as in cake version wise |
# |
Feb 6th 2018, 17:43 |
bravo-kernel |
The console project is quite old which might explain things as well |
# |
Feb 6th 2018, 17:42 |
dereuromark |
7.2 probably then |
# |
Feb 6th 2018, 17:42 |
hmic |
isnt object reserved for a long time now?! |
# |
Feb 6th 2018, 17:42 |
dereuromark |
might start to explain it |
# |
Feb 6th 2018, 17:41 |
dereuromark |
cd into the console and running composer manually: "PHP Fatal error: Cannot use 'Object' as class name as it is reserved in phar:///opt/composer/composer.phar/vendor/justinrainbow/json-schema/src/JsonSchema/Constraints/Object.php on line 18" |
# |
Feb 6th 2018, 17:40 |
dereuromark |
php version itself cant be the issue - PHP 7.2.2-2+ubuntu14.04.1+deb.sury.org+2 (cli) (built: Feb 6 2018 13:23:07) ( NTS ) |
# |
Feb 6th 2018, 17:40 |
dereuromark |
this looks even more severe: https://github.com/alt3/cakebox-console/issues/125 Not sure whats going on there |
# |
Feb 6th 2018, 17:37 |
hmic |
and it does not run composer update? :L |
# |
Feb 6th 2018, 17:33 |
dereuromark |
Did anyone install the cakebox lately (fresh one)? It now seems to default to php7.2 but then nothing works in the cakebox-console app as it is still early 3.4 and somehow not 7.2 ready it seems. |
# |
Feb 6th 2018, 17:23 |
saeideng |
? |
# |
Feb 6th 2018, 17:22 |
saeideng |
where؟ |
# |
Feb 6th 2018, 17:11 |
birdy247 |
A date is now coming back as 04/05/1985, 00:00:00 GMT |
# |
Feb 6th 2018, 17:11 |
xinobi |
I am sorry to be so annoying but I really need some help pleasssse?!? |
# |
Feb 6th 2018, 17:11 |
birdy247 |
WRT dates? |
# |
Feb 6th 2018, 17:11 |
birdy247 |
Has cake changed recently |