# |
Aug 26th 2019, 07:31 |
conehead |
@ashish_onmobile I think GET is not affected by cors |
# |
Aug 26th 2019, 07:14 |
ashish_onmobile |
GET is working for port number :4200 but POST , PUT not working |
# |
Aug 26th 2019, 07:13 |
ashish_onmobile |
public function beforeFilter(Event $event) { parent::beforeFilter($event); $this->response= $this->response->cors($this->request) ->allowOrigin([‘*’]) ->allowMethods([‘GET’, ‘POST’,‘PUT’,‘OPTIONS’]) ->allowHeaders([‘X-CSRF-Token’]) ->allowCredentials() ->exposeHeaders([‘Link’]) ->maxAge(300) ->build(); |
# |
Aug 26th 2019, 07:13 |
ashish_onmobile |
I have added below code in AppController.php |
# |
Aug 26th 2019, 07:13 |
ashish_onmobile |
my code is running at http://localhost:4200 and the api is running at http://localhost:80 |
# |
Aug 26th 2019, 07:13 |
ashish_onmobile |
I am facing CORS problem. |
# |
Aug 26th 2019, 07:12 |
ashish_onmobile |
Hi guys I am working on one angular project and implemented my rest api. |
# |
Aug 26th 2019, 06:59 |
jh |
SQL BINARY LIKE |
# |
Aug 26th 2019, 06:59 |
jh |
is there an easy way to teach cakephp to use BINARY LIKE instead of LIKE ? |
# |
Aug 26th 2019, 06:53 |
conehead |
Good morning and a good start into the new week ;) |
# |
Aug 26th 2019, 06:53 |
alexdd55976 |
morning dudes and duderinos |
# |
Aug 26th 2019, 04:36 |
conehead |
@rchavik I tried to use a foreign key for uuids and ints as well. Just scroll a little up and you can see it. I just had massive problems when using pagination with it (or sorting by this entity). Even just loading a single entity most of the times caused a timeout. From my personal experience I would not strongly advise not to do the same mistake. Go for a second key or switch to int |
# |
Aug 26th 2019, 01:00 |
waspinator |
when would you use `TableLocator::get()` vs `loadModel()` |
# |
Aug 25th 2019, 15:28 |
dereuromark |
yes it is. should be documented. also queue plugin etc use this custom logging scope. |
# |
Aug 25th 2019, 15:19 |
alexdd55976 |
when i remember right, there was a way in 2.x to create a log file which is not error.log or debug.log and you could give it an own name… is the functionallity still available? can not remember how this worked |
# |
Aug 25th 2019, 07:40 |
bgrinter |
@neon1024 @spriz http://www.theshovel.com.au/2019/08/22/australia-offers-to-sell-new-zealand-to-us-%EF%BB%BF/` |
# |
Aug 25th 2019, 02:27 |
brett |
We are using both the deprecated AuthComponent as well as the Authentication plugin. I ended up just unloading the Auth component if the route prefix was the incorrect one. |
# |
Aug 25th 2019, 01:33 |
brett |
Is it possible to load the auth component twice? Once with one configuration, then again with a separate configuration? |
# |
Aug 25th 2019, 00:04 |
Cenk21 |
But getting this error all the time Class 'App\Controller\MengeneinheitenCell' not found |
# |
Aug 25th 2019, 00:03 |
Cenk21 |
i gone through http://josediazgonzalez.com/2014/03/20/view-cells/ and implemented "Retrieving Cell data from a controller" |
# |
Aug 25th 2019, 00:02 |
Cenk21 |
hi, can anyone help out with Cells? |
# |
Aug 24th 2019, 23:06 |
kazuna |
and according to http://kazunanakama.hinterlandroad.org rewrite is working |
# |
Aug 24th 2019, 23:05 |
kazuna |
the .htaccess in my webroot |
# |
Aug 24th 2019, 23:05 |
kazuna |
Uploaded file: https://uploads.kiwiirc.com/files/6c8506101a9db176dcebbea40f8c56a0/pasted.txt |
# |
Aug 24th 2019, 23:04 |
kazuna |
Uploaded file: https://uploads.kiwiirc.com/files/cd51364bb0d07c7f97cf556f8101a32d/pasted.txt |
# |
Aug 24th 2019, 23:04 |
kazuna |
The .htaccess in my application folder: |
# |
Aug 24th 2019, 23:03 |
kazuna |
This is my site-enabled .conf |
# |
Aug 24th 2019, 23:03 |
kazuna |
Uploaded file: https://uploads.kiwiirc.com/files/ebebba3d24ef8464b212e64128ab7344/image.png |
# |
Aug 24th 2019, 20:35 |
admad |
kazuna: make sure URL rewriting is working properly and that you have .htaccess file in your webroot folder |
# |
Aug 24th 2019, 18:54 |
kazuna |
apache2 |
# |
Aug 24th 2019, 17:42 |
admad |
kazuna: what webserver are you using? |
# |
Aug 24th 2019, 17:24 |
kazuna |
http://kazunanakama.hinterlandroad.org works just fine |
# |
Aug 24th 2019, 17:24 |
kazuna |
where do I look to fix? |
# |
Aug 24th 2019, 17:24 |
kazuna |
and when I go to http://kazunanakama.hinterlandroad.org/articles it says not found |
# |
Aug 24th 2019, 17:24 |
kazuna |
I did a cake bake all Articles |
# |
Aug 24th 2019, 17:24 |
kazuna |
I just installed cakephp |
# |
Aug 23rd 2019, 18:59 |
challgren |
https://book.cakephp.org/3.0/en/core-libraries/internationalization-and-localization.html |
# |
Aug 23rd 2019, 16:57 |
mogpusse |
how can transalte |
# |
Aug 23rd 2019, 16:54 |
mogpusse |
I need help I want to internationalize my Cakephp app. I generate the .po file but that does not translate |
# |
Aug 23rd 2019, 16:52 |
mogpusse |
Hello |
# |
Aug 23rd 2019, 16:16 |
admad |
@davorminchorov unless you really want the mail to travel through the interwebs, you can use something like mailhog on local network |