# |
Dec 13th 2017, 22:42 |
phantomwatson |
If I save an record with `time` of `Time('2017-12-17T15:00:00-05:00')`, does `time` in the database get saved as `15:00:00` (local time) or `20:00:00` (UTC time)? In other words, I'm not sure if the offset is taken into consideration when the `Time` object is transformed into a string for SQL. |
# |
Dec 13th 2017, 22:11 |
ericadeefox |
where do you load HtmlHelper? can I see the full code? |
# |
Dec 13th 2017, 22:10 |
ericadeefox |
House, we've got a patient where all the global variables are unset as soon as the method runs through, but the method still runs and the variables aren't unset as long as `dd($_POST)` is the last line of the method. |
# |
Dec 13th 2017, 21:39 |
joopm |
but deleting it makes Error: htmlHelper could not be found. |
# |
Dec 13th 2017, 21:38 |
joopm |
there is nothing special in that line <?php $this->Html->link(__('List'), ['action' => 'index']); ?> |
# |
Dec 13th 2017, 21:38 |
joopm |
in a view file if i delete a line i lose my htmlHelper |
# |
Dec 13th 2017, 21:38 |
joopm |
i have a strange issue |
# |
Dec 13th 2017, 21:37 |
joopm |
good evening |
# |
Dec 13th 2017, 20:27 |
furqan |
Thanks again !! |
# |
Dec 13th 2017, 20:24 |
hmic |
maybe not me, but there are lots of people around that can help you on that one 24/7 ;-) |
# |
Dec 13th 2017, 20:23 |
furqan |
I will ,probably tommorrow morning or afternoon ,hope u guys woukd be around to help :) |
# |
Dec 13th 2017, 20:22 |
hmic |
think so too. feel free to come back if you need further help to track it down... |
# |
Dec 13th 2017, 20:22 |
furqan |
has yo do with the envoirnment for sure |
# |
Dec 13th 2017, 20:21 |
hmic |
financed by the european union even, wow! |
# |
Dec 13th 2017, 20:21 |
furqan |
yes exactly this is the project ,but there is no bug with the code |
# |
Dec 13th 2017, 20:21 |
phpnut |
cool |
# |
Dec 13th 2017, 20:21 |
hmic |
www.misp-project.org/ |
# |
Dec 13th 2017, 20:21 |
hmic |
@megan: this one seems to be quite a big one! |
# |
Dec 13th 2017, 20:21 |
phpnut |
yes |
# |
Dec 13th 2017, 20:21 |
hmic |
megan: phpnut and you have been lookgin for opensource projects using cakephp before... |
# |
Dec 13th 2017, 20:20 |
furqan |
my homebox is on localhost only and works just fine ,so it makes me wonder as to why ..but yes will do as u suggested.Thanks again |
# |
Dec 13th 2017, 20:19 |
hmic |
good luck! |
# |
Dec 13th 2017, 20:19 |
furqan |
yup will do that as well |
# |
Dec 13th 2017, 20:19 |
hmic |
and try to compare to your environment at home as close as possible... |
# |
Dec 13th 2017, 20:19 |
furqan |
i woukd most certainly .Thanks a lot again :) :P |
# |
Dec 13th 2017, 20:19 |
hmic |
come back tomorrow if you need further help |
# |
Dec 13th 2017, 20:18 |
hmic |
this and dns are the two things to look at from what i have understood now |
# |
Dec 13th 2017, 20:18 |
furqan |
i just hope ,this one works ,have already exhausted 2 days on it |
# |
Dec 13th 2017, 20:18 |
furqan |
:)) ,thanks a lot ,u have been of great grreat help |
# |
Dec 13th 2017, 20:18 |
furqan |
i so so hope that ,it would be the one ...Thats probably the my best bet ,before uninstalling everything and reinstalling.. |
# |
Dec 13th 2017, 20:18 |
hmic |
:L |
# |
Dec 13th 2017, 20:17 |
hmic |
i did not want to explain the details at first, but told you to try 127.0.0.1 instead in the very beginning |
# |
Dec 13th 2017, 20:17 |
hmic |
the localhost vs. 127.0.0.1 "trick" that libmysql does has tricked many before |
# |
Dec 13th 2017, 20:17 |
furqan |
and if that (proxy) would be a problem, the insert would not work at all, would it? yes u are right it wpoule not at teh first place |
# |
Dec 13th 2017, 20:16 |
hmic |
still, make sure dns is working and can resolve all the names involved, the local hostname, with and without domain name, localhost, the clients hostname and the http header server name, at least |
# |
Dec 13th 2017, 20:16 |
furqan |
oooh ,localhost signifies unix sockets ...okay i will use 127.0.0.1 instead..and would try to debug the information ....Unfortunately will have to wait till tommorrow ,as i said tightly coupled office envoirnment... |
# |
Dec 13th 2017, 20:16 |
hmic |
and if that (proxy) would be a problem, the insert would not work at all, would it? |
# |
Dec 13th 2017, 20:15 |
hmic |
if you use 127.0.0.1 instead (or any ip address), it will use tcp sockets instead |
# |
Dec 13th 2017, 20:15 |
hmic |
if you are using "localhost", the mysql lib will be fored to use unix sockets |
# |
Dec 13th 2017, 20:15 |
furqan |
yes sorry my bad ,its just the insert !! |
# |
Dec 13th 2017, 20:15 |
hmic |
you can swtich from unix socket to tcp socket |