# |
Mar 25th 2019, 15:56 |
sad148 |
Hi.. I am using cakephp v3.7 and cakephp-oracle-driver. How can I prepend schema name to the table name in the database queries? |
# |
Mar 25th 2019, 12:23 |
joopm |
i write this down if someone will looking for this in the log |
# |
Mar 25th 2019, 12:23 |
joopm |
after changing xdebug.remote = 1 in php.ini the debug run smootly |
# |
Mar 25th 2019, 12:22 |
joopm |
its showed me the xdebug.remote = 0, and that was the real reason why the eclipse could not debug |
# |
Mar 25th 2019, 12:22 |
joopm |
so i went back to eclipse |
# |
Mar 25th 2019, 12:22 |
joopm |
but other pages appear normally |
# |
Mar 25th 2019, 12:22 |
joopm |
for me its showed the error was in the route.php as i said before |
# |
Mar 25th 2019, 12:21 |
joopm |
neon thank you for your co-operation,hint,help,time and effort |
# |
Mar 25th 2019, 12:15 |
evxzibit |
Sorry for late reply.. I just need to see the output of ```$this->request->getRequestData();``` to see if it conforms with the structure here https://book.cakephp.org/3.0/en/orm/saving-data.html# |
# |
Mar 25th 2019, 12:14 |
joopm |
neon okey its seem there is no routing issues on other pages but Xdebug session does not arrive |
# |
Mar 25th 2019, 12:11 |
shupel16 |
Cool! I'm in safe hands. |
# |
Mar 25th 2019, 12:05 |
acosonic |
Thank you guys, yeah, bootstrap ui control, it is... |
# |
Mar 25th 2019, 12:02 |
joopm |
without any modification,thats why i thought that i have to modify the route.php file |
# |
Mar 25th 2019, 12:01 |
joopm |
the eclipse run the following address: http://localhost/cake-project/index.php?XDEBUG_SESSION_START=ECLIPSE_DBGPandKEY=15535036401831 |
# |
Mar 25th 2019, 12:01 |
joopm |
thank you neon |
# |
Mar 25th 2019, 11:59 |
neon1024 |
Which is why it’s a query string |
# |
Mar 25th 2019, 11:59 |
neon1024 |
You just add that query string to the url you’re debugging to start the debugger |
# |
Mar 25th 2019, 11:59 |
neon1024 |
You don’t need a route |
# |
Mar 25th 2019, 11:59 |
joopm |
but when i tried to access it gives me the following error: Error: A route matching "XDEBUG_SESSION_START=ECLIPSE_DBGPandKEY=15535036401831" could not be found. |
# |
Mar 25th 2019, 11:58 |
joopm |
in route.php i added : $routes->connect('/', ['?'=>['XDEBUG_SESSION_START=ECLIPSE_DBGPandKEY'=>15535036401831]], ['routeClass' => 'DashedRoute']); |
# |
Mar 25th 2019, 11:58 |
joopm |
how can i setup the route for eclipse(xdebug) debug? |
# |
Mar 25th 2019, 11:58 |
joopm |
i would like to ask your help once again |
# |
Mar 25th 2019, 11:57 |
joopm |
hello |
# |
Mar 25th 2019, 11:57 |
neon1024 |
I reckon @josbeir is right, it does seem like a custom helper |
# |
Mar 25th 2019, 11:57 |
neon1024 |
https://book.cakephp.org/2.0/en/core-libraries/helpers/form.html#options |
# |
Mar 25th 2019, 11:57 |
neon1024 |
Perhaps it’s the bootstrap-ui helper? although I don’t recall if we released one for Cake 2 |
# |
Mar 25th 2019, 11:56 |
neon1024 |
Well the book says it’s ‘div’ option also |
# |
Mar 25th 2019, 11:55 |
josbeir |
maybe a custom formhelper class |
# |
Mar 25th 2019, 11:55 |
josbeir |
uses input <type> on the wrapper |
# |
Mar 25th 2019, 11:54 |
josbeir |
not sure if its cake2 too, because it doesnt use form-control |
# |
Mar 25th 2019, 11:54 |
neon1024 |
I think @josbeir is right though, just not sure why it isn’t working there |
# |
Mar 25th 2019, 11:54 |
neon1024 |
Not too sure on that one, Cake 2 is a bit old for me to remember these days |
# |
Mar 25th 2019, 11:53 |
neon1024 |
So you’ve got a second question! |
# |
Mar 25th 2019, 11:53 |
slackebot2 |
<acosonic> |
# |
Mar 25th 2019, 11:50 |
acosonic |
@neon1024 I don't have problem with wrapper div, the other arrow is problem... It didin't remove form-control class |
# |
Mar 25th 2019, 11:48 |
shupel16 |
:+1: @neon1024. it worked |
# |
Mar 25th 2019, 11:48 |
neon1024 |
@acosonic You failed to read everything, check back ;) |
# |
Mar 25th 2019, 11:47 |
acosonic |
@josbeir Nope, didn't remove form-something classes... |
# |
Mar 25th 2019, 11:44 |
neon1024 |
Just try using the correct credentials I would imagine |
# |
Mar 25th 2019, 11:44 |
neon1024 |
> Error: [SoapFault] Unauthorized |
# |
Mar 25th 2019, 11:44 |
neon1024 |
snake-venom: Not related to CakePHP at all actually |