DMXzone Database Updater PHP Support Product Page

Solved

localhost is work,but remote side will return

Reported 12 Jun 2014 16:15:50
1
has this problem
12 Jun 2014 16:15:50 包 四維 posted:
localhost is work,but remote side will return "500 internal error" (insert,update,delete all have this situation)
my remote side
www.littlebau.com/sample_new/index.html
this is my screen shot
www.littlebau.com/sample_new/500.rar

PS
my localhost's code and database are all the same as remote side

Replies

Replied 12 Jun 2014 16:23:14
12 Jun 2014 16:23:14 Teodor Kuduschiev replied:
Hello,

The error returned by your server is:
QuoteDateTime::__construct() [<a href='datetime.--construct'>datetime.--construct</a>]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead

Please check the datetime format of your database..
Replied 12 Jun 2014 16:42:30
12 Jun 2014 16:42:30 包 四維 replied:
hi Teodor
work done...
I add one line to the connection.php
date_default_timezone_set('Asia/Taipei'); //I am in Taiwan
may I ask what kind of method that you detect out of it ?
Replied 12 Jun 2014 16:43:48
12 Jun 2014 16:43:48 Teodor Kuduschiev replied:
I checked the response in my browser developers tools.
Replied 12 Jun 2014 16:45:39
12 Jun 2014 16:45:39 包 四維 replied:
why I can't use my chrome to check out of this...
anyway...thanks~

Reply to this topic