# |
Mar 28th 2019, 15:12 |
ricksaccous |
oh |
# |
Mar 28th 2019, 15:11 |
neon1024 |
It creates conditions |
# |
Mar 28th 2019, 15:11 |
neon1024 |
Well matching isn’t a clause |
# |
Mar 28th 2019, 15:11 |
ricksaccous |
so i can use $queryExpression->_or($query->getClause->matching(), $query->getClause()->matching() or something along those lines? |
# |
Mar 28th 2019, 15:10 |
ricksaccous |
hmmm |
# |
Mar 28th 2019, 15:09 |
neon1024 |
I believe that `$query->clause('where')` would get the where clause, might be `getClause()` now |
# |
Mar 28th 2019, 15:07 |
cnizzardini |
Hmm, not sure if that has a matching |
# |
Mar 28th 2019, 15:06 |
cnizzardini |
Can you use QueryExpression to accomplish that? |
# |
Mar 28th 2019, 15:06 |
ricksaccous |
yeah, i'm pretty busy here, have a decent amount of nice to haves but yeah |
# |
Mar 28th 2019, 15:05 |
cnizzardini |
Thats the trouble, getting time for these nice to haves depending on your organization |
# |
Mar 28th 2019, 15:04 |
ricksaccous |
hmmmm |
# |
Mar 28th 2019, 15:04 |
ricksaccous |
i'm sure there's a way to get 'OR' => [Query->matching(), Query->matching()] but not sure how to go about it |
# |
Mar 28th 2019, 15:01 |
neon1024 |
I should open a ticket for myself to re-investigate |
# |
Mar 28th 2019, 15:01 |
neon1024 |
Never got around to building it out properly as we had different production architecture at the time, but we’ve changed since, so might be worth re-visiting |
# |
Mar 28th 2019, 15:01 |
neon1024 |
Nice as you can create lots of different tasks too, like if you wanted to run Rector to upgrade |
# |
Mar 28th 2019, 15:00 |
neon1024 |
https://deployer.org/ |
# |
Mar 28th 2019, 15:00 |
neon1024 |
..and er, PHP Deployer or something it’s called |
# |
Mar 28th 2019, 15:00 |
neon1024 |
I’ve been looking at Rocketeer |
# |
Mar 28th 2019, 15:00 |
neon1024 |
We still use Git here |
# |
Mar 28th 2019, 14:59 |
neon1024 |
`apt install my-website` |
# |
Mar 28th 2019, 14:59 |
neon1024 |
Not all deployments tools are big! ;) |
# |
Mar 28th 2019, 14:59 |
isaiah |
ok so should i delete and upload the normal way? |
# |
Mar 28th 2019, 14:58 |
cnizzardini |
Not everyone needs a big deployment tool, mine does what derueromarks link does, the difference is all my bash commands happen in .git/hooks/post-merge but im also lazy |
# |
Mar 28th 2019, 14:57 |
cnizzardini |
Its a step up over FTP deployments |
# |
Mar 28th 2019, 14:57 |
dereuromark |
focus on the www-data part of proper deploy management :slightly_smiling_face: |
# |
Mar 28th 2019, 14:57 |
isaiah |
I have changed the lib folder permission to 0777 |
# |
Mar 28th 2019, 14:57 |
neon1024 |
Not as a deploy tool! |
# |
Mar 28th 2019, 14:57 |
cnizzardini |
You should really use git |
# |
Mar 28th 2019, 14:56 |
neon1024 |
That sounds like a reason |
# |
Mar 28th 2019, 14:56 |
isaiah |
I backed it up from my previous server to the current server using ftp |
# |
Mar 28th 2019, 14:55 |
dereuromark |
https://sandbox.dereuromark.de/pages/best-practices#deployment ^^ |
# |
Mar 28th 2019, 14:55 |
isaiah |
2x |
# |
Mar 28th 2019, 14:55 |
dereuromark |
classic permissions error from bad deploy probably? upload already sounds like the route cause of all your issues |
# |
Mar 28th 2019, 14:53 |
neon1024 |
Looks like a hardcoded path, which would be why it’s looking for an error handler in a different users folder I’d imagine, as that would certainly cause a permissions error |
# |
Mar 28th 2019, 14:52 |
neon1024 |
2 |
# |
Mar 28th 2019, 14:50 |
cnizzardini |
What version of cake is that? |
# |
Mar 28th 2019, 14:50 |
cnizzardini |
Well those look like permission errors |
# |
Mar 28th 2019, 14:49 |
isaiah |
PHP Fatal error: Class 'ErrorHandler' not found in /home/studycliq/public_html/lib/Cake/Core/App.php on line 957 mmap cache can't open /home/payvalue/public_html/lib/Cake/Error/ErrorHandler.php - Permission denied (pid 18797) mmap cache can't open /home/payvalue/public_html/lib/Cake/Error/ErrorHandler.php - Permission denied (pid 18797) mmap cache can't open /home/payvalue/public_html/lib/Cake/Configure/PhpReader.php - Permission den |
# |
Mar 28th 2019, 14:49 |
isaiah |
I uploaded my site content and i am having this error |
# |
Mar 28th 2019, 14:48 |
isaiah |
hello |
# |
Mar 28th 2019, 14:39 |
dereuromark |
yeah those are using the old way |