Crazypilot Posted February 23, 2005 Share Posted February 23, 2005 I am setting up a shop in europe but my server (ipower) is in the states. I have been scanning through the forums and there seems to be a lot of file changing to get it correct. On my server info I saw that there was a installed perl module named : Time::Timezone The script looks like this: use Time::Timezone; print tz2zone(); print tz2zone($ENV{'TZ'}); print tz2zone($ENV{'TZ'}, time()); print tz2zone($ENV{'TZ'}, undef, $isdst); $offset = tz_local_offset(); $offset = tz_offset($TZ); more information about the code: http://search.cpan.org/src/MUIR/Time-modul...ime/Timezone.pm The thing is that I'm not very good at the programming part. Have anyone tried this script and what should I insert to ge Central european time? Any help is appreciated. Crazypilot Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2005 Share Posted February 23, 2005 Unfortunately, it is not quite that easy. There is also an issue with the database time. Useful links: http://www.oscommerce.com/forums/index.php?showtopic=76994&hl= http://www.oscommerce.com/forums/index.php?showtopic=32920&hl= Link to comment Share on other sites More sharing options...
Guest Posted February 23, 2005 Share Posted February 23, 2005 Ipower does not alow you to change your system time... I have them as well. Only thing you can do is e-mail their support and have them change your system time. They may or may not do it... Link to comment Share on other sites More sharing options...
Crazypilot Posted February 24, 2005 Author Share Posted February 24, 2005 Ipower does not alow you to change your system time... I have them as well. Only thing you can do is e-mail their support and have them change your system time. They may or may not do it... <{POST_SNAPBACK}> Thanks for replying. Ok, if they can change the system time, will that take care of database time as well? There must be lots of shops around the globe with US servers and an easy fix would be useful. Regards Crazypilot Link to comment Share on other sites More sharing options...
Crazypilot Posted February 24, 2005 Author Share Posted February 24, 2005 By the way Jschein, I assume you have/had the same problem. Did you manage to make Ipower to change system time? Cp Link to comment Share on other sites More sharing options...
Guest Posted February 24, 2005 Share Posted February 24, 2005 If you have a dedicated server with a good hosting company, you should be able to ask them to change the server time. (Both PHP and MySQL) If it is a shared server, I'm afraid there isn't much you can do about it. Link to comment Share on other sites More sharing options...
Guest Posted February 24, 2005 Share Posted February 24, 2005 By the way Jschein, I assume you have/had the same problem.Did you manage to make Ipower to change system time? Cp <{POST_SNAPBACK}> Sorry crazy... Nope... They wouldn't do it. Felt if I was nicer they would have though. About to get rid of ipower in 5 minutes.... tokyotoys.biz someone is link to my site and now my site is linking to his. Either someone copied and pasted html code ot ipower's database is fuct. Either way, I lost only one monitor, 2 keyboards and one mice today. All of 2 straight weeks of testing and modding the site to be fully loaded just to have it go down over "we're not sure what happened".... AAARGH Link to comment Share on other sites More sharing options...
Crazypilot Posted February 25, 2005 Author Share Posted February 25, 2005 Sorry crazy... Nope... They wouldn't do it. Felt if I was nicer they would have though. About to get rid of ipower in 5 minutes.... tokyotoys.biz someone is link to my site and now my site is linking to his. Either someone copied and pasted html code ot ipower's database is fuct. Either way, I lost only one monitor, 2 keyboards and one mice today. All of 2 straight weeks of testing and modding the site to be fully loaded just to have it go down over "we're not sure what happened".... AAARGH <{POST_SNAPBACK}> Jschein, lol :P World is small, I am in fact TokyoToys.biz!! I made a different post regarding the issue: http://www.oscommerce.com/forums/index.php?sho...4&hl=crazypilot and it seems there was a cach problem with shared /tmp directories. Seems like it's working now. Regards Hans CP Link to comment Share on other sites More sharing options...
Crazypilot Posted February 25, 2005 Author Share Posted February 25, 2005 To all trying to change server/system time on a shared server. I couldn't find a shortcut way to do it on a Ipower server. However it was not so bad at all doing it the PUTENV way. Follow the instructions on this thread: http://www.oscommerce.com/forums/index.php?showtopic=32920 Don't forget to backup :sweating: Regards Cp Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.