# |
Aug 20th 2019, 07:40 |
neon1024 |
Perhaps it’s Crud, but in our api we allow the limit param and it tops out at 100 |
# |
Aug 20th 2019, 07:30 |
voycey |
Seems like a conscious decision to not allow it |
# |
Aug 20th 2019, 07:29 |
voycey |
:eyes: |
# |
Aug 20th 2019, 07:29 |
voycey |
https://github.com/cakephp/irc.cakephp.org/blob/6fd8df9196c1c4dc35ac8ce4fb4eca721af20ca9/src/Controller/LogsController.php#L64 |
# |
Aug 20th 2019, 07:28 |
voycey |
As surely ?page=254 would work? |
# |
Aug 20th 2019, 07:28 |
voycey |
Im not sure just adding ->last in there will solve it to be honest |
# |
Aug 20th 2019, 07:27 |
dereuromark |
PR it :slightly_smiling_face: |
# |
Aug 20th 2019, 07:27 |
voycey |
would be good to be able to go back to the beginning of it! |
# |
Aug 20th 2019, 07:27 |
voycey |
Not sure - I think like Mark said there is probably some limit somewhere |
# |
Aug 20th 2019, 07:24 |
neon1024 |
Morning everyone :wave: |
# |
Aug 20th 2019, 07:23 |
neon1024 |
@voyc] |
# |
Aug 20th 2019, 07:23 |
rightscoreanalysis |
$routes->connect('articles/view/:slug', ['controller' => 'Articles', 'action' => 'view'], ['pass' => ['slug']]); |
# |
Aug 20th 2019, 07:23 |
rightscoreanalysis |
try to make a slug route with this, what am I missing |
# |
Aug 20th 2019, 06:32 |
dereuromark |
oh someone upgraded it. https://github.com/cakephp/irc.cakephp.org/blob/6fd8df9196c1c4dc35ac8ce4fb4eca721af20ca9/src/Template/Logs/view.ctp#L103 is missing the last() method here |
# |
Aug 20th 2019, 06:29 |
dereuromark |
the code is open though, can be modified via pr |
# |
Aug 20th 2019, 06:28 |
dereuromark |
no one wants to touch it^^ |
# |
Aug 20th 2019, 06:28 |
dereuromark |
ah you mean at that page. it is still cake1 code or so. i bet the main issue is that it is so many records that fetching takes too long |
# |
Aug 20th 2019, 06:27 |
voycey |
https://irc.cakephp.org/?page=51 does not |
# |
Aug 20th 2019, 06:27 |
voycey |
for example: https://irc.cakephp.org/?page=50 this works |
# |
Aug 20th 2019, 06:26 |
slackebot |
<voycey> |
# |
Aug 20th 2019, 06:26 |
voycey |
@dereuromark you have a last page option? |
# |
Aug 20th 2019, 06:25 |
voycey |
Yeah im not sure why it blocks anything more than 50 pages back |
# |
Aug 20th 2019, 06:24 |
dereuromark |
I have one in my paginator |
# |
Aug 20th 2019, 06:23 |
voycey |
Im looking for a specific message I sent way back when - I know those dates are in the DB as they appear in each log but I cant trick the pagination into going back that far (seems to stop at page 50) |
# |
Aug 20th 2019, 06:22 |
voycey |
Can we have a "Go to last page" option? |
# |
Aug 20th 2019, 06:21 |
megan |
@voycey Something we can help with? :slightly_smiling_face: |
# |
Aug 20th 2019, 02:14 |
voycey |
Who maintains irc.cakephp.org? |
# |
Aug 19th 2019, 22:53 |
latenal |
Cake converts empty array to a null when requesting a json. Any idea how to fix it? |
# |
Aug 19th 2019, 22:32 |
D-rex |
im contacting the hosting |
# |
Aug 19th 2019, 22:31 |
D-rex |
i just found the error in errors on the cpanel |
# |
Aug 19th 2019, 22:30 |
D-rex |
im not 100 thats the error that could be from when i first uploaded an hour ago |
# |
Aug 19th 2019, 22:30 |
D-rex |
i have debug enabled |
# |
Aug 19th 2019, 22:28 |
rightscoreanalysis |
ok so probably the host is supressing errors or debug mode is not 2 |
# |
Aug 19th 2019, 22:26 |
D-rex |
i think i found it its the intl extension. I changed the settings but its shared hosting server so i have to find out how to restart |
# |
Aug 19th 2019, 22:25 |
rightscoreanalysis |
server logs or cake logs? |
# |
Aug 19th 2019, 22:24 |
D-rex |
just shows access times and error thrown no other info |
# |
Aug 19th 2019, 22:24 |
D-rex |
yeah the logs they provide are useless |
# |
Aug 19th 2019, 22:23 |
rightscoreanalysis |
the answer will be there |
# |
Aug 19th 2019, 22:22 |
D-rex |
only the ones i could find |
# |
Aug 19th 2019, 22:22 |
rightscoreanalysis |
did you check logs? |
# |
Aug 19th 2019, 22:19 |
rightscoreanalysis |
on nginx I believe I have the root set to foo/webroot |