The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
I have not check it thoroughly. Yet, it seems that when using FTP upload for videos, the add_time in the video table will be wrong.
For example, I use FTP upload to add video on 15 Mar 23:00:00, the timestamp store in add_time will be 15 Mar 11:00:00.
Please help to fix it.
Thanks!
Offline
im not expert but in your system check tool from ASP tool is all GREEN?
and go to your admin --> config --> server tab and there is choose for Timezone! maybe this is some reason
Last edited by thiva7 (2013-03-15 16:02:45)
Offline
I have set the timezone. As far as I understand, the timestamp will not be affected by the timezone. So, I am not sure what is happening. I think symtab can help to answer the question here.
Offline
what is your Server-Time?
you can se it with phpinfo
put:
<?php phpinfo(); ?>
in a File called "phpinfo.php"
put it on your server an open it in browser
like:
http://www.DOMAIN.tdl/phpinfo.php
lg
German-Porn-Tube
http://www.tubeuploadtool.german-porn-tube.net <- 1000´s Videos upload per Day + Rewrite Titel and Description in many Languages
Offline
Thanks for the information and help I have checked it. Server time is GMT. I set Asia/Taipei in the time zone setting of ASP.
Last edited by discuss4u (2013-03-15 16:20:15)
Offline
The timezone I have set for the script is Asia/Taipei (GMT+8). So, the time should be something like 00:19 now.
I have just tried to add a new video using FTP upload and checked the timestamp stored in add_time in table video
It is 1363407213
This should be
GMT: Sat, 16 Mar 2013 04:13:33 GMT
GMT+8: Sat, 16 Mar 2013 12:13:33 GMT
In Admin-Video-Manage
I have checked the video and it shows that the add Date is 2013-03-16 12:13:33.
It seems that the 12 hr format is mixed with the 24 hr format. I will try to add another video after 01:00 (GMT+8) to see what happen.
Last edited by discuss4u (2013-03-15 16:34:40)
Offline
One more think....Change WHM timezone too...maybe somethink can fix
Home » Server Configuration » Server Time
Last edited by thiva7 (2013-03-15 16:48:38)
Offline
Thanks for the suggestion. I will certainly try to change the timezone of the vps.
Offline
Just added another video, the timestap in add_time is 1363367273
which yields
GMT: Fri, 15 Mar 2013 17:07:53 GMT
GMT+8: Fri, 16 Mar 2013 1:07:53
As I expect, the timestamp is correct after 01:00. I guess the problem only occurs between 00:00 - 01:00 and 12:00 - 23:59. I will test it again after 12:00 noon and 13:00 (GMT+8). It seems that this only occurs when using FTP upload.
Last edited by discuss4u (2013-03-15 17:29:57)
Offline
Hmm..thats strange. Please create a file time.php in the folder where the script is installed and add:
<?php
define('_VALID', true);
require 'libraries/bootstrap.php';
phpinfo();
VF::close();
?>
Is the timezone the same? There might be a bug in the timezone config.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
date/time support enabled
"Olson" Timezone Database Version 0.system
Timezone Database internal
Default timezone Asia/Taipei
Yes it is the same as what I set.
Offline
Just tested. timestamp mixed again when using ftp upload after 13:00
Offline
Just find out that the same problem occurs for grabber
So I will suspect that it is a bug related to the timezone
Offline
I think its a bug related to strtotime. I will debug and fix in 1.0.8.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1