# |
Mar 5th 2018, 23:09 |
ricksaccous |
the viewclass for the plugin actually loads now |
# |
Mar 5th 2018, 23:09 |
ricksaccous |
it did fix something though |
# |
Mar 5th 2018, 23:08 |
ricksaccous |
nah that didn't fix the path |
# |
Mar 5th 2018, 23:06 |
ricksaccous |
going to try it first before i test it outside the plugin |
# |
Mar 5th 2018, 23:06 |
savant |
did it? |
# |
Mar 5th 2018, 23:06 |
ricksaccous |
sheeeeeeeeeet |
# |
Mar 5th 2018, 23:06 |
ricksaccous |
if a plugin depends on another you'd have to loa.... |
# |
Mar 5th 2018, 23:06 |
ricksaccous |
would order of plugins matter? |
# |
Mar 5th 2018, 23:05 |
ricksaccous |
wait |
# |
Mar 5th 2018, 23:02 |
ricksaccous |
but yeah it's having problems here it seems.... not sure what's triggering it |
# |
Mar 5th 2018, 23:01 |
ricksaccous |
I think I'll test it outside the plugin and see if it works and come back maybe |
# |
Mar 5th 2018, 23:01 |
ricksaccous |
CakePdf plugin* |
# |
Mar 5th 2018, 23:01 |
ricksaccous |
my own plugin |
# |
Mar 5th 2018, 23:01 |
ricksaccous |
i don't think so but what i am doing is trying to use the CakePdf from within a plugin |
# |
Mar 5th 2018, 23:01 |
savant |
thats interesting, are you changing your search paths somewhere somehow? |
# |
Mar 5th 2018, 23:00 |
ricksaccous |
File uploaded https://cakesf.slack.com/files/U8LQ47EPR/F9KQXUW3Y/-.txt / https://slack-files.com/T053DPNCM-F9KQXUW3Y-c9f9c6b1d6 |
# |
Mar 5th 2018, 22:59 |
ricksaccous |
so I think I've narrowed the problem somewhat, it's looking for a template within a plugin, but it is omitting the Controller name from the template it's looking for |
# |
Mar 5th 2018, 22:50 |
savant |
https://newrelic.com/why-new-relic/customers <-- list of their customers |
# |
Mar 5th 2018, 22:49 |
savant |
I personally dont have any issues with that |
# |
Mar 5th 2018, 22:49 |
savant |
yeah, so? |
# |
Mar 5th 2018, 22:49 |
meder |
.. new relic that is |
# |
Mar 5th 2018, 22:49 |
meder |
they have some sort of disclaimer |
# |
Mar 5th 2018, 22:49 |
savant |
read my app code? |
# |
Mar 5th 2018, 22:47 |
meder |
savant: really? mm. doesnt new relic read your app code? |
# |
Mar 5th 2018, 22:47 |
meder |
would removing sql_mode=only_full_group_by not be the cake way? i don't have any aggregates and i want to group by a specific table column |
# |
Mar 5th 2018, 22:40 |
ricksaccous |
yeah I have the same problem as this dude https://stackoverflow.com/questions/36555718/cakephp3-cakepdf-plugin-not-rendering-pdf-view?rq=1 |
# |
Mar 5th 2018, 22:17 |
birdy247 |
@admad on it first thing tomorrow :slightly_smiling_face: |
# |
Mar 5th 2018, 22:15 |
gsitex |
thank you @savant :+1: |
# |
Mar 5th 2018, 22:08 |
ricksaccous |
I'm guessing this means the class isn't loading, but i am getting a pdf, a broken one |
# |
Mar 5th 2018, 22:07 |
ricksaccous |
I put a debug in the constructor of the CakePdf class and an exit after |
# |
Mar 5th 2018, 22:07 |
ricksaccous |
i still don't get any debug code |
# |
Mar 5th 2018, 22:07 |
ricksaccous |
"works" |
# |
Mar 5th 2018, 22:07 |
ricksaccous |
if i copy it out of the pdf folder and into /Templates/Orders/ in the plugin it works |
# |
Mar 5th 2018, 22:06 |
savant |
where is it looking |
# |
Mar 5th 2018, 22:06 |
ricksaccous |
even though the documentation says it should be looking there |
# |
Mar 5th 2018, 22:06 |
ricksaccous |
but I have it in the plugin in /Templates/Orders/pdf but it's not looking there |
# |
Mar 5th 2018, 22:06 |
savant |
maybe you dont have the proper view file |
# |
Mar 5th 2018, 22:05 |
ricksaccous |
when I access the view I get this error: Error: The view for OrdersController::generateShippingLabel() was not found. |
# |
Mar 5th 2018, 22:03 |
ricksaccous |
so I can see what command it's trying to run |
# |
Mar 5th 2018, 22:03 |
ricksaccous |
I at least want to be able to read the debug(); exit; I have going on in the plugin |
# |
Mar 5th 2018, 22:02 |
ricksaccous |
the pdf I want is in OrdersController::generateShippingLabel |