# |
Jun 19th 2019, 13:42 |
ricksaccous |
but the only annotation i get is |
# |
Jun 19th 2019, 13:42 |
ricksaccous |
bin/cake annotations templates -p CompanyStaff |
# |
Jun 19th 2019, 13:42 |
dereuromark |
whats your issue? what command do you run? they should be added |
# |
Jun 19th 2019, 13:41 |
ricksaccous |
is there something i'm missing to get that going? |
# |
Jun 19th 2019, 13:41 |
ricksaccous |
anyone have any luck getting the ideHelper to create the view variable annotations for you in the template? |
# |
Jun 19th 2019, 13:37 |
waspinator |
@olanowsubomi you can also try docker. I have an example set up here https://github.com/waspinator/cakephp-quickstart |
# |
Jun 19th 2019, 13:13 |
steinkel |
@olanowsubomi check https://github.com/alt3/cakebox too, additionally we use this VM in training sessions > https://www.cakedc.com/jorge_gonzalez/2018/01/17/using-a-vagrant-box-as-quick-environment-for-the-getting-started-with-cakephp-training-session |
# |
Jun 19th 2019, 13:02 |
olanowsubomi |
ok, thanks for your suggestion |
# |
Jun 19th 2019, 12:54 |
conehead |
as Modicrumb statet |
# |
Jun 19th 2019, 12:54 |
conehead |
Yes, if you don't know what to do, Xampp is probably the easiest. Vagrant can be a good choice as well |
# |
Jun 19th 2019, 12:38 |
olanowsubomi |
im still trying to resolve downloading xampp |
# |
Jun 19th 2019, 12:38 |
olanowsubomi |
ok, thanks |
# |
Jun 19th 2019, 12:25 |
olanowsubomi |
ok, you mean xampp would be better? |
# |
Jun 19th 2019, 12:24 |
conehead |
Yes it is a good alternative. Imho docker on windows is like 5x slower than xampp |
# |
Jun 19th 2019, 12:24 |
ricksaccous |
i prefer vagrant personally |
# |
Jun 19th 2019, 12:22 |
olanowsubomi |
but would docker be a good alternative for such work because im getting to know it for the first time? |
# |
Jun 19th 2019, 12:21 |
olanowsubomi |
ok thanks |
# |
Jun 19th 2019, 12:21 |
conehead |
7.3.0 is still on 32 bit |
# |
Jun 19th 2019, 12:20 |
conehead |
https://sourceforge.net/projects/xampp/files/XAMPP%20Windows/7.3.0/ |
# |
Jun 19th 2019, 12:20 |
conehead |
Well... |
# |
Jun 19th 2019, 12:19 |
olanowsubomi |
because it wont do me any good if cake just install n not run |
# |
Jun 19th 2019, 12:18 |
olanowsubomi |
? |
# |
Jun 19th 2019, 12:18 |
olanowsubomi |
please, i would have prefer xammp but there is no version for 32bit window or do u know any |
# |
Jun 19th 2019, 12:16 |
conehead |
This should at least install the app. But probably it wont run |
# |
Jun 19th 2019, 12:16 |
conehead |
for now this is not an cakephp error. composer won't let install you. Probably because the extension needs to be installed in IIS. you can try to run this `composer create-project --prefer-dist cakephp/app my_app_name --ignore-platform-reqs` |
# |
Jun 19th 2019, 12:13 |
olanowsubomi |
iis |
# |
Jun 19th 2019, 12:13 |
conehead |
what are you using to run php files? xampp? docker? |
# |
Jun 19th 2019, 12:11 |
slackebot1 |
before both extension=mbstring and extension=intl in both php.ini files for those extensions to work for cakephp downloading. i would appreciate it if my message is being considered and responded to in good time. Thanks for your patience. . |
# |
Jun 19th 2019, 12:11 |
slackebot1 |
SSL/TLC protection but is not available if you can not enable the open ssl extension; you can disable this error, at your own risk, by setting the disable 'disable-tls' option to true. ...' please i dont understand what all this above means but i have attached a copy of both my php.ini development and production file for you to see, though i have made some earlier adjustment to it based on the information i got that i would need to remove the ';' |
# |
Jun 19th 2019, 12:11 |
olanowsubomi |
Hi, please can you do a code review and send me an email at olanowsubomi@gmail.com, i am having issue to download cakephp on window 7 32bit let me explain to you that i have successfully downloaded the composer but by typing this ' composer create-project --prefer-dist cakephp/app my_app_name' into it to download cakephp, it is bringing this below: '... [ Composer\Exception\NoSs1Exception] The open ssl extension is required for |
# |
Jun 19th 2019, 11:54 |
khalid |
apiApplicationModules belongs to apiModules |
# |
Jun 19th 2019, 11:53 |
khalid |
and I am not talking about Saving data I want data to process/calcuate |
# |
Jun 19th 2019, 11:53 |
khalid |
you see I have api_module_id = 2 what I want is rest of data against it. |
# |
Jun 19th 2019, 11:52 |
slackebot1 |
'[errors]' => [], '[invalid]' => [], '[repository]' => 'ApiApplicationModules' } |
# |
Jun 19th 2019, 11:52 |
slackebot1 |
'api_application_module_templates' => true, 'api_request_parameters' => true, 'cron_jobs' => true ], '[dirty]' => [ 'api_application_id' => true, 'api_module_id' => true, 'api_operation_type_id' => true, 'api_request_url' => true, 'cron_job_frequency_option_id' => true, 'cron_job_frequency' => true, 'pagination_max_size' => true, 'api_auth_type_id' => true ], '[original]' => [], '[virtual]' => [], '[hasErrors]' => false, |
# |
Jun 19th 2019, 11:52 |
slackebot1 |
'api_application_id' => true, 'api_module_id' => true, 'api_operation_type_id' => true, 'created' => true, 'modified' => true, 'api_request_url' => true, 'cron_job_frequency_option_id' => true, 'cron_job_frequency' => true, 'pagination_max_size' => true, 'api_auth_type_id' => true, 'api_application' => true, 'api_module' => true, 'api_operation_type' => true, 'cron_job_frequency_option' => true, |
# |
Jun 19th 2019, 11:52 |
khalid |
and output is: object(App\Model\Entity\ApiApplicationModule) { 'api_application_id' => (int) 2, 'api_module_id' => (int) 2, 'api_operation_type_id' => (int) 4, 'api_request_url' => '/{apiVersion}/{baseStoreUid}/vendor/{vendorCode}/orders', 'cron_job_frequency_option_id' => (int) 1, 'cron_job_frequency' => (int) 4, 'pagination_max_size' => (int) 2, 'api_auth_type_id' => (int) 1, '[new]' => true, '[accessible]' => [ |
# |
Jun 19th 2019, 11:52 |
khalid |
$apiApplicationModule = $this->ApiApplicationModules->newEntity(); $apiApplicationModule = $this->ApiApplicationModules->patchEntity($apiApplicationModule, $this->getRequest()->getData(), [ 'associated' => ['ApiModules'] ]); debug($apiApplicationModule); debug($this->getRequest()->getData()); |
# |
Jun 19th 2019, 11:51 |
khalid |
sorry for typo yes let me put exact code |
# |
Jun 19th 2019, 11:47 |
admad |
if `ModuleRequests` belongsTo `Module` then the associated property name should be `module` not `modules`. |
# |
Jun 19th 2019, 11:45 |
khalid |
any suggestions |