# |
Aug 26th 2019, 10:19 |
challgren |
Ok so heres a question for yall. QBO has a webservice XML and JSON, to access this webservice the “queries” are a modified variant of SQL. Would it be better to write a ORM Driver or Build off of https://github.com/UseMuffin/Webservice |
# |
Aug 26th 2019, 09:37 |
challgren |
And https://github.com/cakephp/cakephp/blob/master/src/Http/Session.php#L36 |
# |
Aug 26th 2019, 09:36 |
challgren |
https://github.com/cakephp/cakephp/blob/master/src/Http/ServerRequest.php#L323 |
# |
Aug 26th 2019, 09:28 |
awime |
Does anyone know where Cake opens and closes sessions. I seem to have some weird session locking issues |
# |
Aug 26th 2019, 09:28 |
awime |
hi |
# |
Aug 26th 2019, 08:36 |
conehead |
Or extend a custom Table |
# |
Aug 26th 2019, 08:36 |
conehead |
Why would you need it in core? I cannot see a general use case for this. Just create a trait and use it where needed |
# |
Aug 26th 2019, 08:13 |
marek.sebera |
could striping entity assoc properties be included in core? this is what i came up with instead https://gist.github.com/smarek/4eb45ff9abc64627dcf6d42301d3ebef |
# |
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? |